semiotproject / semiot-device-prototype

WiFi-Module based IoT Device prototype (ESP8266 support)
1 stars 1 forks source link

Energomera СЕ 102-R8 (RS-485) electricity consumption sensor support #5

Closed a-andreyev closed 8 years ago

a-andreyev commented 8 years ago

MAX485 should fit nice for that task

a-andreyev commented 8 years ago

http://www.energomera.ru/documentations/ce102_re.pdf

a-andreyev commented 8 years ago

http://www.energomera.ru/documentations/ce102_op.pdf

a-andreyev commented 8 years ago

todo: check with multimegaserial (data sending finished interrupt high and low pin)

a-andreyev commented 8 years ago

AdminTools (win) works like a charm with max485 and arduino-mega-usb transport: http://www.energomera.ru/ru/software/AdminTools temp sketch: https://gist.github.com/a-andreyev/68b0272e6381068dd575

a-andreyev commented 8 years ago

initial support works (getting "empty packet" answer for correct empty packet :): https://gist.github.com/a-andreyev/52db85fdeca60e1d8cf6

a-andreyev commented 8 years ago

ping works (previous gist updated)

a-andreyev commented 8 years ago

ReadTariffSum works

a-andreyev commented 8 years ago

TODO: parse anwer to counters