With Arduino is really possible to make complex projects, particularly through the use of the Internet, you can use it through the various Shield available for the micro-controller. In this article, we will see how to make a professional alarm system with Arduino.
This system will be able to record every movement that is detected in the house and will be saved in a database, which can be accessed remotely from any device, using a simple browser, or dedicated applications.
Requirements for the
· 1x Arduino Mega
· 1 x Ethernet Shield
· n x Arduino Uno
· n x Wireless 433 MHz kit
· n + 1 x PIR sensor
· PC/Raspberry Pi
· MySQL Connector for Arduino https://launchpad.net/mysql-arduino
· Wireless 433 MHz VirtualWire Library https://github.com/bosgood/arduino-playground/tree/master/lib/VirtualWire
· Wireless data send library http://bayesianadventures.wordpress.com/2013/09/20/arduino-rf-communications-data-encoder-for-virtualwire/
· Webduino library https://github.com/sirleech/Webduino
· My code for my from my gitub repo https://github.com/jackbell16/Arduino_System_Alarm
The alarm system is based on using a sort of central station, they are connected to n clients . Each device is equipped with a PIR sensor , which is able to detect the passage of a person, through the variation of heat detected. The various clients have a wireless TX , which will send a signal to the central station, to warn the detection of a person. The main server is nothing more than an Arduino Mega connected to the Internet via the Ethernet card official , which contains over a PIR sensor , a wireless RX , which is able to receive signals that clients send . To figure out which client sent the signal, it will be equipped with some sort of identifier , set by the user when registering the client. As for the recording / saving of readings , you will use a database, which can be installed on a PC or even on the Raspberry Pi . The upload will be done directly from the central station , which is the only one to be connected to the Internet. The retrieval of information relating to the surveys , you can make it through a web page, or through an application built in Java. In addition, the central station is equipped with a web server , with which you can disable / enable the alarm system . We'll see how it is possible , with an Android phone , automate the activation / disabling the alarm system.