Arduino 006: Motion Detecting Alarm

This will help you:

Use a motion sensor to create an alarm that goes off when someone walks by

Time: 1-2 hours / Level: B3

You should already:

You Will Need:

Get the code and resources for this activity by clicking below. It will allow you to download the files from a Google Drive folder. Unzip the folder and save it in a sensible location.

Step 1: Motion Sensing

Assemble the circuit as pictured in alarm.png. Open motion_detect.ino and read the code to understand what is going on. Connect your Arduino and run the script.

alarm.png

Step 2: Playing an Alarm

Open motion_alarm.ino and read the code to understand what's going on. Connect your Arduino and run the script. Try changing the threshold value for the alarm going off.

Step 3: Finishing Off

Take a video of your circuit in use, showing off a quick demo of the functionality. Share it via the submission button below to get it featured on the Circuit Board!

Return any parts to the supply area, and please sort things by the correct value so the next person can find what they need. Thanks!