The project goal

The project goal can be described in one sentence as follows: "Generate an alert using a red LED for any detected motion and display the normal condition using a green LED." In comprehensive list of goals, you will have to perform the following tasks to satisfy the mentioned project goal:

  • Detect any motion in the environment as an event using a passive infrared (PIR) sensor
  • Perform a blink action using a red LED for this event
  • Otherwise, perform a blink action using a green LED
  • Keep the system in loop after the action has been performed and wait for the next event

The project can be implemented as a DIY application or as part of other projects with minor modifications. The following are some examples where the concepts from this project ...

Get Python Programming for Arduino now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.