PROJECT 21: MOTION SENSOR ALARM

IN THIS PROJECT, WE’LL BUILD A MOTION-SENSING ALARM USING A PASSIVE INFRARED (PIR) SENSOR.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• HC SR501 PIR sensor

• LED

• Piezo buzzer

You can use this alarm to trigger a variety of outputs, such as lights, motors, or even a “welcome home” message when you approach your front door.

HOW IT WORKS

This project is based on the HC SR501 PIR sensor, which is widely available online for a few dollars. We’re going to set it up so that when someone passes in front of the PIR sensor, ...

Get Arduino Project Handbook 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.