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 :- github.com/ashish8284/ESP8266...
GoodweDT /Mt inverter Integration Code:- 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:-
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 :- github.com/emelianov/modbus-e...
this library work with ESP8266 & ESP32 both chip.
Credit :- Special thanks to creator of this library :- Alexander Emelianov
16 апр 2021