Today I am Going to show you how to make a interesting,wonderful,cheap home security alarm.This Gadget Helps you to protect your house from thieves.In this project i am going to use a Freeduino Board(Arduino Compatible),P.I.R Sensor module,LCD and some other components.This Project can either powered with 9V Battery or with U.S.B of your computer.
How this Project Works?
All the body generate some heat energy in the form of infrared which is invisible to human eyes.But,It can be detected by electronic sensor.These type of sensor is made up of crystaline material that is Pyroelectric.In this project,we are using P.I.R. Motion Sensor Module as an infrared sensor that generates electric charge when exposed in heat and sends a signal to arduino.According to level of the infrared in front of sensor,Arduino displays the status on L.C.D and start buzzing speaker and glows the L.E.D.A simple program is running on arduino which checks sensor if anything is moved or new object has been detected.
1. 1 x Arduino Uno(You can use any compatible)
2. 1 x P.I.R Sensor Module.
3. 1 x L.C.D(16 X 2)
4. 1 x 9V Battery
5. 1 x 9V Battery Clip
6. 1 x L.E.D
7. 1 x Piezo Buzzer(I am using Speaker instead)
8. 1 x Breadboard
9. Some Jumper Wires
10. An USB Cable(Only for programming)
11. A Computer(Only for programming)
Step 1: Connecting the P.I.R Sensor to Arduino..
1.Connect Vcc pin of P.I.R sensor to positive terminal of Arduino(5V).
2.Connect Gnd pin of P.I.R sensor to any ground pin of Arduino.
3.Connect Out pin of P.I.R sensor to Pin no. -7 of Arduino.
Step 2: Connecting L.E.D and Piezo Buzzer to Arduino..
Connect Positive terminal(Longer Lead) Of L.E.D To Arduino Pin no. 13.
Connect Negative terminal(Shorter Lead) Of L.E.D To Any Ground Pin.
Connecting Piezo Buzzer:-----
Connect Positive terminal(Red Wire) Of Buzzer To Arduino Pin no. 10.
Connect Negative terminal(Black Wire) Of Buzzer To Any Ground Pin.
Step 3: Connecting L.C.D to Arduino
To wire your LCD screen to your Arduino, connect the following pins:
LCD RS pin to digital pin 12
LCD Enable pin to digital pin 11
LCD D4 pin to digital pin 5
LCD D5 pin to digital pin 4
LCD D6 pin to digital pin 3
LCD D7 pin to digital pin 2
Additionally, wire a 10K pot to +5V and GND, with it's wiper (output) to LCD screens VO pin (pin3).
Step 4: Programming Arduino..
1.Download Arduino IDE 1.0.6 from https://www.arduino.cc/en/main/software.
2.Connect Your Arduino to your computer using USB Cable.
3.Open Arduino IDE,choose your correct board from Tools--Boards
4.Choose Your Correct Port from Tools--Serial Port
5.Click On Pir_Sensor.ino which is given below in the Attachment.
6.Copy the following sketch which appears in your Web Browser to your Arduino Sketch Page.
7.Click On Upload Icon or Goto File--Upload
Step 5: Conclusion.
Now,All the hard works are done.it's time to enjoy with your new gadget.Just plugin your arduino to your computer or plug the 9v battery on VIN and GND pin of your arduino and mount it to appropriate place.
If you have any problem or question about this project,please leave a comment or call me on +917277989686.You can also send me an email on email@example.com.
For your convienience,I added the circuit diagram on the conclusion page and arduino sketch file in the attachment.
If you like this project please vote,share and like this instructable.
Participated in the
hrhuisken made it!