Imagine a situation that when you entered a restricted area. Think of having an alert signal or an alarm system to indicate that you have entered a restricted area. Sounds Good right!.This project is about getting an indication when you enter a wrong place.This uses the PIR motion detector sensor, buzzer and bulb.Whenever the motion is detected by PIR sensor it fetches the detection to arduino and this alerts the system by buzzer and blinking the bulb.
- Connect the +5V and GND of Arduino UNO to the breadboard.
- For LED: Connect the cathode (Shorter pin of LED) to ground and the Anode (longer pin of LED) with a 330 or 220 ohm resisitor. Connect the second pin of resistor with pin 6 of the Arduino as shown below.
- For Buzzer: Connect the Positive terminal(longer edge) with pin 5 of Arduino and negative terminal(shorter edge) to GND(negative rail of breadboard).
- For Motion Sensor: Connect the +Vcc pin with positive, GND with with Ground terminal and Sensor pin with pin 7 of Arduino.
The setup is now ready. Now load the code in Arduino IDE and then Upload it to Arduino. Check the Serial Monitor readings. Try moving your hands in front of the sensor and the buzzer should ring.
Tip: You can fix this alarm near the door. If motion is detected, the buzzer will ring.
Output lookslike:
Comments
Please log in or sign up to comment.