Energy Meter OR-WE-517 via RS485 to TTL converter to D1 mini ESP8266 Board

Hi everybody,

for quite some time I've been trying to read data from the Energy Meter OR-WE-517 from Orno, but without success so far.

I have already looked at several tutorials, in which energy meters are read out to adapt this. The manual of the energy meter is also in a very compact form, which also makes the implementation more difficult.

My structure:
Energy Meter Orno OR WE 517

from the energy meter via the RS485 interface to an RS485 to TTL converter

and from TTL converter to a D1 mini board

As basis for the program I took the template GitHub - reaper7/SDM_Energy_Meter: reading SDM72 SDM120 SDM220 SDM230 SDM630 modbus energy meters from arduino (esp8266, esp32, avr) .

The appendix contains a list of the registers of the energy meter and my code, in which I send the request to the energy meter, but do not receive an answer, as zip.

Now my question, has anyone else had experience with the same setup and could give me some tips for implementation?

or_we_517_modbus_regs.pdf (479 KB)

ORNO_Energy_Meter-master.zip (11.3 KB)

Using a Terminal program make certain that you are able to communicate with the Energy Meter by sending a query and receiving a response.

Forget about the D1 mini board for the moment.

http://www.bb-elec.com/Learning-Center/All-White-Papers/Modbus/The-Answer-to-the-14-Most-Frequently-Asked-Modbus.aspx

.

hey thanks a lot for the quick answer.
When I read the data from the energy meter with a PC, everything works. But when I use the bit order in the premade Arduino program, I don't get an answer from the energy meter.

How do you know your meter is similar to the SDM family of meters?

.

Let's say I was hoping that I could adapt the modules like Modbus etc. to fit. I will now have to try again with the oscilloscope.

Hi,
I've done it using an ESP32 and created a library using a finished modbus library.
I you want you can check out GitHub - CSchoch/OR_WE_Energy_Meter: Arduino library for reading ORNO WE Modbus Energy meters

1 Like