mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-15 16:25:43 +00:00
16 lines
873 B
Markdown
16 lines
873 B
Markdown
## AMS <-> MQTT Bridge
|
|
# Code
|
|
|
|
Various code projects to help debug and build the final system
|
|
|
|
### HanDebugger (C# console)
|
|
A very simplified c# console application to read serial data directly from the HAN bus, using the HAN-FTDI circuit and a FTDI device (USB serial port). The application will simply use the right serial setup (2400 baud, 8E1) to set up a connection and continously read incoming data. The received data is split on the package start and -end flags (0x7E) and output to console.
|
|
|
|

|
|
|
|
### ESPDebugger (Arduino sketch on ESP8266)
|
|
Very similar to the HanDebugger, simply reading the HAN data and outputting the same data to the Serial1 port, HEX-formatted and splitted by lines on start and -end flags.
|
|
|
|
.jpg)
|
|

|