Skip to the content
2 layers81 × 59 mmAlarmbuddy, the printed circuit board in 3D

The output current for sensors is limited to a few milliamps.

Size
81 × 59 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
50
Pads
117
Tracks, vias
245, 40
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
22 Jun 2020
Updated
25 Jun 2023

Overview

Alarmbuddy is an open-source printed circuit board by gcormier, from the gcormier/alarmbuddy repository on GitHub. It is a 2-layer board of 81 × 59 mm with 34 parts on 50 nets, routed with 245 tracks and 40 vias.

It is built around the ESP32-S2-WROVER-I(4M), BD9G101G-TR and SS210. Its parts include 7 capacitors, 7 connectors, 6 resistors, 5 diodes and 2 ICs. It belongs with the ESP32 boards of this library.

Main components

3

README

README.md

alarmbuddy

This is an ESP32-S2 board which can read up to 12 inputs. It can be programmed with custom software, or flashed with esphome to integrate easily with Home Assistant. The main goal is to replace an old alarm panel with one that can use all of the existing passive sensors but use Home Assistant for the automation and alerting.

Store

If you are interested in a fully built version I sell them on my tindie store, Greg's Tinker Town

Power

It is meant to be powered by 10-24VAC, a common supply voltage for alarm systems in North America. The current draw should be only 10-30mA. The minimum DC voltage is 7V - using a 5V USB power supply will not work. A 12VDC power supply would be required.

Inputs

The unit will work with any input that works in a similar manner to a contact switch or relay - completing and breaking the circuit to indicate a status change. Sensors that send voltage are not supported. Standard door and window sensors work in this manner. If there are other active sensors that need power (eg. break glass sensor, motion sensor), and operate in this manner, then they should work as well. (You will need to get power to these sensors independently of the board)

The output current for sensors is limited to a few milliamps.

11 of the inputs on the ESP-S2 that are used support analog reads.For those with analog sensors or resistors used to detect cut wires, you could likely handle these scenarios. I have not done any testing in this regards as all my sensors are simple on/off.

Mounting

The holes are sized for M3 bolts. There is no hardware on the back of the board, so as long as adequate electrical insulation is provided, double-sided foam tape could be used. An STL for a mounting plate is provided as well if you have access to a 3D printer.

Setup

If you are using a purchased unit, it has been pre-flashed with esphome with the captive portal enabled. This will allow you to connect via WiFi directly to the device to configure your WiFi. Unless you brick your device with bad settings, you should never need to physically flash your device with a serial adapter.

  1. Power on the device and wait 30-60 seconds for it to setup the captive portal.

  2. Look for "AlarmBuddy Fallback" on your phone/computer and connect to it.

  3. Enter "alarmbuddy" as the password.

  4. Once connected, you should be prompted to Sign In - click on this option.

  5. You can then choose your WiFi SSID and enter the password. The device will connect to this, and the setting will remain unless you flash or upload a new esphome configuration. If the device fails to connect to this network at any point, it will revery to the captive portal on the AlarmbuddyFallback SSID.

Errata

v6

The RTS and DTR programming pins are swapped for GPIO0 and EN. If you are programming your device via WiFi with esphome, you will not run into any issuse. Should you ever brick your device and need to flash it from a serial adapter, you will need to ensure you swap these 2 wires when connecting your programmer.

Parts

34
QtyValueFootprintReferences
5SS210Diode_SMD:D_SMAD1, D2, D3, D4, D5
2100Resistor_SMD:R_0402_1005MetricR4, R11
210KResistor_SMD:R_0805_2012MetricR5, R6
210uCapacitor_SMD:C_1206_3216MetricC1, C7
247uCapacitor_SMD:C_1206_3216MetricC2, C3
10.1u 25vCapacitor_SMD:C_0603_1608MetricC4
1140mA hold / 340mA trip mSMD014Fuse:Fuse_1812_4532MetricF1
115nFCapacitor_SMD:C_0603_1608MetricC5
11k5Resistor_SMD:R_0402_1005MetricR12
124VACTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1
13V3TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-5.0-H_1x02_P5.00mm_HorizontalJ2
14.7uInductor_SMD:L_Sunlord_MWSA0402SL1
1470Resistor_SMD:R_0402_1005MetricR2
1470uF 50VCapacitor_SMD:CP_Elec_10x10C6
1600@100MHzInductor_SMD:L_0805_2012MetricFB1
1BD9G101GPackage_TO_SOT_SMD:SOT-23-6U1
1ESP32-S2-WROVERRF_Module:ESP32-S2-WROVERU2
1SENS1-3TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ3
1SENS10-12TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ6
1SENS4-6TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ4
1SENS7-9TerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-3-5.0-H_1x03_P5.00mm_HorizontalJ5
1eflashy32Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ7

The 30 most common of 34 parts.

Similar boards

  • 4 layers98 × 48 mmEsphome pressure, the printed circuit board in 3D

    Esphome pressure

    gcormier/esphome-pressure

    esphome board with a differential pressure sensor, supporting a variety of power sources

    51 parts102
  • 4 layers56.6 × 57.7 mmEspairqual, the printed circuit board in 3D

    Espairqual

    gcormier/espairqual

    esphome board to interface with a few air quality (PM) sensors

    47 parts6
  • 4 layers100 × 75 mmAwg, the printed circuit board in 3D

    Awg

    flaviut/awg

    The optional controls board for this device

    110 parts
  • 4 layers100 × 80 mmNew dac, the printed circuit board in 3D

    New dac

    jonaheinke/dac

    158 partsMIT
  • 2 layers82.5 × 140 mmQCamPCR, the printed circuit board in 3D

    QCamPCR

    GaudiLabs/qPocketPCR

    Quantitative PCR machine detecting fluorescence using a camera

    113 parts22GPL-3.0
  • 2 layers56.2 × 53.3 mmRTK1010Board, the printed circuit board in 3D

    RTK1010Board

    MS71/RTK1010Board

    Arduino Compatible RTK1010 Board/PCB

    80 parts20
  • 6 layers90 × 90 mmCansat, the printed circuit board in 3D

    Cansat

    DevKiDCosmo/SATELLITE-EDGE-MODULE

    A satellite edge module ready for competition

    220 parts2GPL-3.0

Questions

How big is the Alarmbuddy PCB?

It measures 81 × 59 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Alarmbuddy use?

34 parts, built around the ESP32-S2-WROVER-I(4M), BD9G101G-TR and SS210. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Alarmbuddy KiCad files?

From the gcormier/alarmbuddy repository on GitHub, at the commit this page was made from: the board is pcb/alarmbuddy.kicad_pcb and its schematic pcb/alarmbuddy.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Alarmbuddy design in my own project?

Its repository states no licence, so its author keeps all rights: ask gcormier before reusing the design.