PIR Sensor with Arduino Buzzer Practical
PIR Sensor with Arduino Buzzer Practical
Advanced Bulgar Alarm Using PIR Sensor & Arduino for Night time only.
A night security light only turns on when it’s dark and when movement is detected.
The lamp & the buzzer turns on when it’s dark & movement is detected. When there’s
light, the lamp is turned off, even when motion is detected.
Components Required:
30
The best sensor you can use to detect an intrusion is the Passive Infrared (PIR)
Sensor. The PIR Sensor detects the motion of a human body by the change in
surrounding ambient temperature when a human body passes across, and effectively
controls the switchingwhen it detects a moving target.
Copy the code and paste it to your Arduino IDE and then compile & finally, upload it
to the Arduino Board.
Arduino Code
32