Skip to content
프로젝트

소개

Minimalistic system to read AMS/HAN data from electrical meter

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

AMS <-> MQTT Bridge

This project may help you build your own reader for HAN data streamed from the new AMS electrical meters installed in Norway in 2017/2018. Data is read using an Arduino-programmed ESP8266 (in an ESP12 module from AI Thinker), then pushed to MQTT over WiFi. You can have full control over this data, and you can basically do anything with it.

This project does not include any fancy UI setup or even storage for the AMS data.

Building this project will require some skills in ordering and assembling electronic circuits as well as programming, and I have not included detailed instructions to take a beginner through the steps. I still hope some still find information here useful, maybe also for other projects.

The completed hardware

The HAN Reader Hardware

The completed board mounted in a 3D printed enclosure

The HAN Reader Installed

...installed with the electrical meter...

Data from MQTT displayed on a Node Red Dashboard

...and, showing data on a Node Red dashboard

Background

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 and an 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

Quite some work was put into parse and guess how the data protocol was defined. Unfortunately, I did not have access to the (rather expensive) standardization documentation, but with some collaborative effort we solved most details.

This project includes

The completed project also includes:

  • Boot as Access Point and web server to allow config from a web browser. This allows you to set SSID, password, MQTT server and port, as well as topics for publish and subscribe
  • On-board temperature sensor, also reported in json to MQTT

Electrical design

The most recent design uses an ESP8266 in an ESP12 module from AI Thinker for micro processing and the TSS721 from Texas Instruments for level conversion from M-Bus to TTL (3.3V). An earlier design solved the level conversion using an op-amp, which might be an easier and more available solution, but also more error-prone. See more details in electrical design.

관련 프로젝트 살펴보기

불러오는 중…