CuVoodoo

the sorcery of copper

User Tools

Site Tools


spark_abacus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
spark_abacus [2017/01/23 14:15] – [Orange Pi] ass pictures kingkevinspark_abacus [2017/01/23 18:20] – add SDM120 kingkevin
Line 50: Line 50:
  
 There is also the DDM100TCR model with an RS-485 interface, but I couldn't find any documentation about the protocol messages, thus I wasn't interested in this feature. There is also the DDM100TCR model with an RS-485 interface, but I couldn't find any documentation about the protocol messages, thus I wasn't interested in this feature.
 +
 +===== Eastron SDM120-Modbus =====
 +
 +The [[http://www.eastrongroup.com/|Eastron]] [[http://eastrongroupco.hk02.057321.com/productsview/14.html|SDM120-Modbus]] is a slim 1-phase 2-wire electricity meter.
 +
 +Be aware as numerous SDM120 models exist, combining following options:
 +  * in-line current measurement or using a current sensing coil (CT)
 +  * with electro-mechanical display or LCD, sometimes with backlight
 +  * only with 2 pulse outputs, or with additional MBus or Modbus interface
 +
 +I chose the {{:spark_abacus:sdm120-modbus_user_manual_scan.pdf|SDM120 model}} (one per phase) since I wanted to learn about the RS-485 interface and Modbus protocol.
 +The [[http://eastrongroupco.hk02.057321.com/data/uploads/Eastron_SDM120-Modbus_protocol_V2_3_(1).pdf|corresponding Modbus document]] ({{:spark_abacus:sdm120-modbus_protocol_v2.1.pdf |older v2.1}}) lists the registers containing the measurements (input registers) and configuration (holding registers).
 +This document also explains the Modbus protocol, but I rather recommend to read the one for the [[http://eastrongroupco.hk02.057321.com/data/uploads/Eastron_SDM630MV_CT_protocol_V1_0_.pdf|SDM630]] since it contains more information, most importantly the timing between messages.
  
 ====== EPS8266 ====== ====== EPS8266 ======
Line 143: Line 156:
 I am only using this SBC a cheap computer rather than hardware platform. I am only using this SBC a cheap computer rather than hardware platform.
 Also, don't forget to put a heat sink on the CPU, else they will be slowed down quite often because of the high temperatures. Also, don't forget to put a heat sink on the CPU, else they will be slowed down quite often because of the high temperatures.
 +
 +On it I've installed an [[https://www.influxdata.com/|InfluxDB]] time-series database to store the values (using the HTTP API), and [[http://grafana.org/|Grafana]] to visualize them.
spark_abacus.txt · Last modified: 2024/01/07 17:49 by 127.0.0.1