A home alarm needs an accessible control panel, but that doesn’t mean its main electronics have to sit beside the door. IngGaro’s Arduino anti-theft alarm shield on Hackaday.io separates those jobs: an Arduino Mega 2560 and its sensor wiring live in a concealed wall box, while a remote panel provides the display, touch buttons and NFC/RFID reader. The interesting part is how much of the design concerns what happens when those connected pieces stop cooperating.
Created on August 18, 2014, the project was declared complete by its creator in June 2015. The latest supplied development log, dated August 5, 2015, adds watchdog recovery and state restoration—not a new launch, but a useful record of a home-built alarm becoming more fault-aware.
Two boxes divide the work
The main circuit connects six magnetic sensors, two motion sensors, an external siren, Ethernet and a GSM module. IngGaro describes reading the sensor signals much like buttons: magnetic contacts and tamper inputs use 5 V, while the motion sensors’ 12 V outputs pass through voltage dividers before reaching the Mega.
Power is another separate job. Independent regulators supply the peripherals rather than putting all their load on the Arduino’s regulator; IngGaro specifically calls out the ENC28J60 Ethernet module’s consumption. A small UPS with a 2.2 Ah battery backs the controller, and the siren has its own 2 Ah battery. The creator reports several hours of controller operation during a power failure, though the excerpts don’t include a runtime test. Fuses and decoupling capacitors are described as present but omitted from the simplified schematics—a significant detail for anyone studying the drawings.
At the entrance, a white plexiglass panel houses a 16×2 LCD, a PN532 NFC/RFID reader, an MPR121 capacitive-touch controller and a small speaker for feedback. It receives 12 V and communicates with the hidden controller over I2C through a long cable.
The long I2C connection exposed a noise problem
IngGaro acknowledges that the panel cable exceeds the intended I2C specification and originally planned a serial translator. That translator wasn’t added: the creator reports that the connection worked after another problem was addressed.
Rolling-shutter motors reportedly introduced electrical noise that caused I2C errors. Adding capacitors near the Arduino’s magnetic-sensor inputs resolved the observed problem, according to the project description. That’s a useful distinction: the reported fix was at the sensor inputs, not a replacement of the panel’s communication link. It doesn’t establish that any similarly long I2C installation will behave reliably.
The software also tries to stop a failed panel connection from taking down the controller. IngGaro chose WSWire instead of the standard Wire library specifically for its stated non-blocking behavior when I2C fails or is interrupted. The panel is an interface, but a panel communication fault shouldn’t become a controller-wide stall. That is the design intent behind the library choice, rather than proof of comprehensive fault tolerance.
Network features meet recovery logic
The alarm offers web-based management alongside the physical panel, with email and SMS alerts, independently selectable perimeter and motion sensing, and home-automation controls such as operating shutters. Sensor types and authorized NFC IDs are configured in the code; timing and other runtime options can be changed through the web interface and stored in EEPROM.
In the June 4, 2015 completion update, IngGaro reports a rewritten web interface with AJAX updates and basic authentication, plus push notifications, IP-camera activation and deactivation, and expanded GSM controls. Switching to UIPEthernet also let the sketch use familiar Ethernet calls with the ENC28J60, while supporting a W5100 through a different library inclusion.
The August 5 recovery update addresses failures more directly:
Those mechanisms have dependencies of their own. The same log warns that older Mega bootloaders can cause an endless reboot loop with the watchdog. It also identifies a W5100 chip-select conflict: pin 10 is already used by the GSM shield, so the Ethernet configuration needs a corresponding wiring and library change. Recovery features aren’t independent of the hardware beneath them.
A working build isn’t yet a reproducible alarm product
Despite its name, the shield was a homemade matrix-board assembly with bent headers, not a documented production PCB. In a September 2015 reply, IngGaro explains that the GSM shield was connected by wires rather than stacked. An August 2016 reply says a friend was working on a PCB; the visible discussion doesn’t establish a finished board release.
Other builders asked for component values and clearer schematics, and one reported compilation trouble even with the bundled IDE. The project provides a source-code archive and an Arduino 1.6.4 environment with libraries, but these are starting points for investigation, not evidence of a certified or deployment-ready security system.
The useful lesson is the separation between features and failure behavior. Reading contacts, recognizing a tag and sending a message are only part of an alarm’s job. For a build inspired by this one, the revealing next tests would deliberately disconnect the panel, interrupt power and force a controller restart—then check whether sensing continues, which state returns and whether the siren behaves as intended.
Source: Arduino anti-theft alarm shield