ArPI - Home Security System

by gkovacs81 in Circuits > Raspberry Pi

1968 Views, 1 Favorites, 0 Comments

ArPI - Home Security System

IMG_20220814_115529_488.jpg

ArPI is Raspberry PI Zero W based home security system which I started to build 6 years ago in 2016. The base idea was to improve my actual home security system. The major issues I had with my original security system:

  1. Programming: almost impossible to make any changes in the settings through the keypad. For a simple access code change you need to spend a lot of time to learn the key combinations.
  2. Feedback: to find out what the reason of an error, to see the alert history...or getting any information from the system was horrible.
  3. Remote: for accessing the security system remotely I should buy another expensive component for the system.
  4. Causeless alerts: usually when we went to vacation for a week our neighbors called because of the sirening home.


I didn't want to buy a new smart home security system for a lot of money. I wanted to build it for a lot of money 😃. So, I decided to replace the main board of the old home security system with my solution and keep the already used sensors, siren. For that I chose a Rasperry PI Zero W and designed a PCB which can interface between the Rapsberry PI and the original components.


As a good starting open you can open https://www.arpi-security.info


In this Instructables project I would like to explain how I replaced my main board to ArPI.

Supplies

IMG_20220911_091351_256.jpg

Used components:

Preparation: Remove Old Main Board

IMG_20220821_160058_843.jpg
IMG_20220821_155653_694.jpg
IMG_20220911_095505_254.jpg

As preparing for replacing the old main board I took some photos of the old security system cabling and noted the colors and connections.

Finally I removed the old main board 😃

Connecting Basics

IMG_20220911_101424_578.jpg
IMG_20220911_110047_089.jpg
IMG_20220911_115342_053.jpg

First I connected the UPS and the ArPI board on terminals 12V and GND. Also connected the cable from the UPS to SE to identify power outages.

After that I connected all the sensors of the system to the terminal CH[1..7] and GND.

The siren is connected to 12V and the GO-/GND on the board.

For the setup of the software please read: https://docs.arpi-security.info/en/latest/developers/installation/

That's the minimum setup and I tested it for a week.

Connecting GSM and Keypad

IMG_20220924_154244_916.jpg
IMG_20220924_202257_288.jpg
IMG_20220924_202800_635.jpg
IMG_20221001_181644_427.jpg
IMG_20220925_140001_397.jpg

Removed the old keypad and connected the new Wiegand keypad to the terminals BL, RE, D0, D1, D2.

Connected the GSM module to the GSM pins. TX to RX and RX to TX! Also added an external antenna.

I tested the upgrade and did some fixes in the code 🙃

Conclusion

The system works now and I'm testing the stability, although it was running on my desk in a test setup for more than a year. I did a tutorial for the family and waiting for their experience and feedback.


Currently I can't close the metal box of the main board because it block the WiFi connection. So, I will need an external antenna for the Raspberry PI Zero W as, well.


Future ideas:

  1. Improve code quality with testing. I had no time to automate testing...
  2. Adding features:
  3. Silent alert: no siren, only sending notifications
  4. Multiple emails and phone numbers
  5. Improved hone screen with sensor states
  6. Improved history: storing sensor states when not armed
  7. New notifications: power outage
  8. Improving the board:
  9. Check battery health
  10. Better PCB layout: all the terminals on the same side. Use with other Raspberry PI variants.

Upgrade

IMG_20231113_095201_458.jpg
arpi_001.jpg

A new version of the board was created in 2023 and replaced the old.