mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-12 00:02:53 +00:00
Merge branch 'master' of https://github.com/roarfred/AmsToMqttBridge
This commit is contained in:
commit
c595d87a2c
@ -3,7 +3,13 @@
|
||||
|
||||
Various code projects to help debug and build the final system
|
||||
|
||||
### HanDebugger
|
||||
### 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)
|
||||

|
||||
|
||||
17
README.md
17
README.md
@ -2,13 +2,20 @@
|
||||
|
||||
The purpose of this project is to collect information and build a simplified bridge for reading serial DLSM/M-bus information from electrical power meters (AMS), provided over the HAN port, and publishing to some IoT friendly target.
|
||||
|
||||
Components will be ESP8622, Arduino code, a (very simplified) M-bus <-> 3.3V serial interface
|
||||
Components will be ESP8622, Arduino code, a (very simplified) M-bus <-> 3.3V serial interface
|
||||
|
||||
As a start, we should try to get information from the three types of AMS meters currently being installed in Norway. Some details about these are available here: [NVE_Info_kunder_HANgrensesnitt.pdf](Documentation/NVE_Info_kunder_HANgrensesnitt.pdf)
|
||||
|
||||
The project should include:
|
||||
* schematics, possibly PCB
|
||||
* documentation, samples
|
||||
* arduino library
|
||||
* ad-hoc testing code
|
||||
- [x] [Simple circuit to transform MBus levels to 3.3V serial](/Electrical/Simple%20HAN%20to%20FTDI%20Circuit.jpg)
|
||||
- [x] [Code to capture and analyze data from PC](/Code/HanDebugger)
|
||||
- [x] [Code to capture and analyze data from Arduino](/Code/ESPDebugger)
|
||||
- [x] [Sample data from various meters](/Samples)
|
||||
- [x] [Documentation on HAN / MBus / DLMS/COSEM](/Documentation)
|
||||
- [ ] Code to parse DLMS data into a structure
|
||||
- [ ] Real schematics, including ESP8266, possibly PCB
|
||||
- [ ] Arduino library
|
||||
- [ ] Arduino sample sketch to read values and report to MQTT server
|
||||
|
||||
### Circuit to read HAN from PC (via FTDI)
|
||||

|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user