This is basically an intruder alarm or an anti theft alarm. So this project is all about building an anti theft alarm or an intruder alarm using Arduino and PIR sensor. It is possible to enhance this project with many features like adding a GSM module to send SMS alerts to specified mobile numbers when an intruder is detected (when a motion is detected inside the range of PIR sensor).
Objectives of this project:
Detect a motion – an intruder or a burglar using PIR sensorActivate the buzzer alarm upon detection of burglar/intruder – Alarm should sound until Reset switch is pressedSend 2 SMS to a predefined mobile number set inside the program.
Stop the alarm when reset switch is pressed. Also reactivate the SMS alert facility upon reset.
Step 1: Hardware & Software Requirements:
1. Arduino Uno/Nano
1. Arduino IDE
Step 2: Step 1 : Connections
Arduino Pin 7 – Output of PIR Sensor
Arduino Pin 6 – Push button
Arduino Pin 8 – Buzzer Buzzer
Arduino Pin 9 - Tx of GSM (I am using Pin 9 as Rx)
Arduino Pin 10 - Rx of GSM (I am using Pin 10 as Tx)
Connect all the components according to the circuit diagram .
Step 3: Step 2: Program
Find the attached .ino file and burn it on Arduino by using Arduino IDE .Here pin 9 and 10 is used as a Rx and Tx .So for this Software.h Library is required.Else you can use Rx and Tx pin of the arduino.