1
\$\begingroup\$

I'm trying to reverse engineer the protocol that an old home alarm system uses to communicate with the keypads. Connected via 4 wires:

  • GND
  • 13.2V
  • DATA
  • CLOCK

I've managed to connect the wires to a logic analyser. Here's a snapshot of a periodic data packet that it sends:

enter image description here

(Top is CLOCK and bottom is DATA)

Based on observation of the packets it appears that the first part (slower clock) is the keypad sending data to the panel and the second part is the panel reporting status (sending data to keypad).

Does this protocol look like anything standard? I've tried different analysers in the Saleae Logic software, but nothing seems to output anything meaningful.

UPDATE:

I've disconnected keypad's data and clock wires and can see that the clock and the data is generated by the panel (the output is the same as on the above screenshot).

Here's what the signal looks like on large time scale:

enter image description here

\$\endgroup\$
7
  • \$\begingroup\$ Being a security system, it is likely a proprietary protocol, so contact a security service co. \$\endgroup\$ Jul 1, 2022 at 23:27
  • \$\begingroup\$ safehomecentral.com/… which one? \$\endgroup\$ Jul 1, 2022 at 23:30
  • 2
    \$\begingroup\$ Disconnect the clock and data lines, check to see who generates the clock (and how many pulses). Hook clock back up and check data lines Independently, post results. \$\endgroup\$
    – Bryan
    Jul 1, 2022 at 23:54
  • 1
    \$\begingroup\$ @Bryan UPDATE: I've disconnected keypad's data and clock wires and can see that the clock and the data is generated by the panel (the output is the same as on the above screenshot). \$\endgroup\$
    – Muxa
    Jul 2, 2022 at 1:26
  • \$\begingroup\$ @TonyStewartEE75 none of ones listed on that page. The alarm is New Zealand made (has "Micron Lynx v1.2" printed on the panel PCB). \$\endgroup\$
    – Muxa
    Jul 2, 2022 at 1:34

1 Answer 1

4
\$\begingroup\$

I pressed the keypad buttons, observing light indicators on the keypad and capturing the signal using Saleae Logic software. It turned out that the protocol is dead simple: first part is a binary code for each button (8 bits) and second part is one bit per zone, light indicator and beep signal (16 bits).

I wrote a new ESPHome component to interface with the panel, so I can see the status and control the buttons.

\$\endgroup\$
2
  • \$\begingroup\$ I have a similar Micron keypad I think. Did you ever open source your ESP code for this? I’d love to repurpose my keypad but replace the main unit with an ESP or arduino! Cheers, Ben \$\endgroup\$ Nov 3, 2022 at 9:22
  • \$\begingroup\$ @BenLoveday yes I did just now: github.com/muxa/esphome-micron-alarm \$\endgroup\$
    – Muxa
    Nov 19, 2022 at 0:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.