Connect to meter with arduino

I have an electricity meter with dmls, HDLC protocol, OBIS code (voltage 32.7.0, current 31.7.0, power 15.7.0) according to IEC 62052-21, I can't get data from it via RS485 port using RS485 to TTL converter via Arduino, I can't connect to the meter, can you help me with this?

Not until you

  1. define each of those acronyms and link to it's datasheet or spec
  2. Make an attempt at hand drawing a schematic and posting a picture of it clearly labelled
  3. Use the Arduino IDE Library manager to find at least ONE applicable library (search on RS485 maybe?) then look at the example code and pick the closest example to your use case.
  4. Attempt to modify it
  5. When you now have questions, post al the code in code tags
  6. If any error logs etc post verbose versions also in code tags.

Now somebody may be able to help

If you know the program code written in Arduino, can you share it with me? I tried several times with some codes but I could not connect to the meter. The problem I have now is the program code that is needed to connect to the meter. I connected the rs485 converter to the meter in the specified order and there is no problem, I checked.

First of all I really get po'd when people refer to code as codes. Code is always just code.
NO I don't have the code, you need to go through the process outlined in post #2.

That sounds like a lot of work but it could be an interesting project that could be a lot of fun! However, please keep in mind that we are NOT a free design or code-writing service. We’re more than happy to help with your design or code, but we need you to make an initial attempt. Please design and write your code, then post it along with an explanation of what’s not working properly.

  1. Show Your Work First: Before asking for assistance, make an attempt to design or write the code yourself. Share your work along with details about what isn’t working.
  2. Provide Clear Documentation: Since we can’t see your project, share an annotated schematic (best) or a clear drawing of your setup. Pictures are welcome, but avoid using Fritzing diagrams as they are wiring diagrams, not schematics, and are not ideal for troubleshooting.
  3. Include Technical Details: If there is specific hardware involved, include links to technical information. There are often many versions of similar components, so precise details are essential.
  4. Reference Resources: For additional help, check out useful links and tutorials: Useful Links on Arduino Forum.

HDLC is usually synchronous serial communications, but I see there is an option for async, which I have never seen documentation for.
HDLC is strictly BIT oriented and likely to take more memory that your Arduino has available.

And remember, your Arduino must be the host for the communications. it will have to ask the meter for data.

Hello everyone, I have a problem, I want to receive open data from a three-phase electricity meter of the Энергомера CE308 type via the RS485 port, using an RS485 to TTL converter and an esp8266, but I can't communicate with the meter. The meter works on the DLMS communication protocol. What should I do to communicate with the meter and receive open data from it and what code can I write in the Arduino IDE. Thank you

If you are seriously going to attempt this, the first step is to get a commercial device that does exactly what you are attempting to do. Open it up and find what processor it uses. Document everything about the device that you can. Second get a data communications monitor of a type that can record the data communications with the meter. Now begin to write your program to duplicate what you are seeing on the communications monitor. Begin testing to see if you can make your program do the same as the commercial device.