Skip to content

reading SDM220 / SDM120 modbus energy meter from esp8266 arduino and rs232 to rs485 converter (tamplate library)

Notifications You must be signed in to change notification settings

beireken/SDM220t

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template library for reading SDM120 / SDM220 / SDM630 Modbus Energy meter.

Reading via Software Serial library (https://github.com/plerup/espsoftwareserial)
and rs232<->rs485 converter with automatic flow direction control (look at hardware_sdm220.jpg)
NOTE: Not work with simple max485-only converters because this lib does not control max485 DE/RE lines (at this moment)

Tested on wemos d1 mini->ESP8266 with Arduino 1.6.9 & 2.3.0 esp8266 core

crc calculation by Jaime García (https://github.com/peninquen/Modbus-Energy-Monitor-Arduino/)

2016 Reaper7

UPDATE:

About

reading SDM220 / SDM120 modbus energy meter from esp8266 arduino and rs232 to rs485 converter (tamplate library)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%