I'm currently diving into the task of cracking the data stream protocol for a generator control system. There's this setup with a control box sitting next to the generator, and a remote switch in the mix. The control box can do its own thing, firing up and shutting down the generator, but you can also override it with the remote.
The remote switch, it's got five LEDs showing the fuel levels, plus a couple of extras: one for automatic mode and another for manual override. And a momentary button for switching between modes. Surprisingly, there are just four wires hooked up to the switch. Using a multimeter, I've figured out that:
- Pin1 is +5V
- Pin2 is GND
- Pin3 is hooked up to the button through a 1K pullup resistor
- Pin4 seems to be the UART TX line
I've done some sniffing with a logic analyzer and clocked the transmission speed at 1200 bps. But, truth be told, I'm stumped on what the actual data is saying. I've added a screenshot of what the logic analyzer was able to decode.
Any of you fine folks have some tips or ideas on how I could go about deciphering the info coming through the UART interface? I'd be super grateful for any help!