I made this burglar alarm using an Arduino Uno, RFID proximity reader, LCD display and LCD serial backpack as its main components.
It features entry- and exit delays and is triggered by magnetic switches, motion detectors or tamper switches (inside the control panels, motion detectors and unit).
Check the movie at the bottom
Notes on the build:
You can use whatever you want to set or disarm the alarm with the code provided, it doesn’t have to be Rfid controlled.
At first I used a simple keyswitch.
As my control panels are about 10m away from the arduino you can’t hook up the LCD’s the “standard” way using 6 wires.
You get gibberish on the screens.
To overcome this problem you have to use serial communication. The easiest way to do this is by adding a serial backpack to the LCD displays. You can buy these at www.sparkfun.com (see schematic) . As a bonus you only need 3 wires to run the display.
The RFID part of the project can of course be done using an Arduino but sometimes you have to go for the cheap, easy and fast way.
These proximity readers you can buy at www.velleman.com (see schematic) as a kit (about 28 €) or assembled (about 40€).
I bought the kit and soldered it together in about half an hour. Clear instructions, peace of cake…
(you can find rfid readers at sparkfun as well, maybe easier buying everything at once from the same dealer…)
Tamper switches are included. When the alarm is not set it shows an indication that wiring should be checked.
If the alarm is set and there is tampering, the siren kicks in and resetting by means of the control panel is denied completely.
The front of the control panel is a rectangular piece of glass (4mm thick) that I sprayed black on the back (except the window for the display). When dry, hold it in place with some strong tape that sticks on both sides, and put a thin line of transparent silicone around. It holds very well (you need a knife to cut the seal) and looks neat and clean.
I have included a little movie, a wiring schematic and the code with so much comment in it, it should be clear to anyone.
Hope you enjoy…
alarm movie (small).mp4 (1.64 MB)
alarm wiring.dwg (53.6 KB)
alarm code.txt (38.1 KB)