ESP8266 Modbus RTU communication with Energy meter EM6400NG

Опубликовано: 07 Октябрь 2024
на канале: Techno Automation
29,468
449

In this tutorial I have shown how we can connect ESP8266 using MAX485 to TTL or MAX232 converter.

Protocol :- Modbus RTU.

For demonstration Schnieder make EM6400NG energy meter is used.

Example code :- https://github.com/ashish8284/ESP8266...

GoodweDT /Mt inverter Integration Code:- https://github.com/ashish8284/ESP8266...

All customization can change in settings.h file. I.e WiFi credentials, Mqtt server credentials, Mqtt payload topic etc.(for adafruit.io connectivity, efer below mentioned repo. as this feature implemented in that.)

Growatt Inverter integration Code:-
https://github.com/ashish8284/ESP8266...
Feture:- webpage for local monitoring, OTA enabled, Adafruit.io connectivity.

Hardware :-
MAX485 To TTL converter
MAX232 To TTL converter
ESP8266 wemosD1Mini

Modbus Library :- https://github.com/emelianov/modbus-e...

this library work with ESP8266 & ESP32 both chip.

Credit :- Special thanks to creator of this library :- Alexander Emelianov