Wednesday, April 29, 2009

Project Model

Overview

This report is to tell the user or reader about how the DIY Auto-Dialing Home Alarm System is set up or made. This alarm system will be triggered when the motion sensor sense any motion and the mobile phone of the system will auto dial to the owner’s mobile phone to inform the owner that someone maybe broken into the house. This system is made of an alarm system with PIR motion sensor that powered by a 9V battery, a modified mobile phone and a relay. By reading this report, readers will get to know the steps of making this system and how the system works. By reading this report, readers can build the system all by themselves. Readers can have hands on experience on building a home alarm system by themselves. This is a very good experience for those who are interested in alarm system and also for all the students who are taking robotic and automation. This report comes with the circuit diagram, program for the PIC, step by step wiring connection, testing method and all the materials needed. Therefore, this report can be considered as the full guideline for a DIY home alarm system.

Bill of Materials

This project required following hardware:
Hardware (Quantity)
PR-14 Alarm System: Motion Detector
a. PIC 16F876A (1)
b. PR14 Printed Circuit Board (PCB) (1)
c. PIR Sensor (1)
d. Buzzer (DC 6V) (1)
e. Mini Slide Switch (1)
f. Crystal 20Mhz (1)
g. E-cap 10Uf 16V (1)
h. Ceramic Cap 104 (2)
i. Ceramic Cap 30pF (2)
j. Push Button (4)
k. LED 5mm Red (3)
l. LED 3mm Green (1)
m. Diode IN4007 (1)
n. Diode IN4148 (1)
o. DC Plug (Adaptor Socket) (1)
p. Connector 2510-02 (2)
q. Connector 2510-03 (2)
r. Rainbow Cable 3 Ways (20cm) (1)
s. Voltage Reglator-LM7805 (1)
t. Box Header 10 Ways (1)
u. IC Socket 28 Pins (1)
v. Resistor 1/4W 220R (4)
w. Resistor 1/4W 10K (1)
x. Resistor 1/4W 4K7 (4)
y. Resistor 1/4W 1K (1)
z. Transistor 2N2222 (1)
aa. 3mm Screws and Nuts (6)

Wood 26cm x 30cm (4)
Wood 30cm x 30cm (1)
Nail (20)
Sand Paper (4)

Relay 5V (1)

Battery 9V (1)

Hand phone Nokia 3610 (1)

Sim Card (1)

Decoration
a. Mounting Board (2)
b. Colour A4 Paper (10)
c. Double Side Tape (1)
d. Uhu Glue (1)

Circuit and Program

Schematic Diagram



Wiring Procedure

Step 1: Clean the Printed Circuit Board (PCB) with sand paper.



Step 2: Test its components with multimeter to make sure that its working well.



Step 3: Solder all the components to the PCB accordingly.



Step 4: Test the circuit will multimeter



Step 5: Burn the program into the PIC 16F876A.



Step 6: Place the PIC 16F876A to the 28 pins IC socket in proper side.



Step 7: Soldering 2510 connector



Step 8: Add a 5V relay parallel to the buzzer



Step 9: Connect the relay to the call button of the hand phone


Software

Flow Chart



Program



Test Method

Initial Stage

Switch on Stage


Switch ON the power
• Power LED (green) will turn ON

Set Alarm Stage

Press SW1 button
• Buzzer will beep once and LED 1 (red) will light up.
• Hand phone will auto set the owner’s number.

Scanning Stage

• After 15 seconds, it will enter scanning mode and LED 1 will blink.

Detected Stage


• LED 1will blink and buzzer will beep.
• Hand phone will call the number that has been set earlier simultaneously.

Advantages & Disadvantages

Advantages of the project

• Auto-dialing to the number that has been set to the hand phone when the alarm is being triggered
• Easy to build and operate
• Can be used at different places other than house such as cupboard, chest, drawer and etc.
• The loud sound of the buzzer can be an effective deterrent to the amateur burglar
• The system can still function (auto-dialing) although the buzzer is switched off (not to annoy the neighbourhood)

Disadvantages of the project

• The system can only give call to one person when the alarm is triggered
• The system need to be operated manually
• The system is too small to give protection to the whole house since there is only one sensor provided