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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.