Building a Compact WiFi Modem for Electricity Meter with 12-Pin Connector

I'm working on a project to design a compact WiFi modem for an electricity meter that uses a 12-pin connector. The modem needs to connect to the meter via RX, TX, V+12, and GND pins. The goal is to create a WiFi bridge that fits within a 5x3x1.5 cm enclosure.

I can use any components necessary to achieve this, but the size constraints are crucial. I’m interested in discussing potential approaches, components, and design ideas that could help in building this WiFi modem. If anyone has experience with similar projects or suggestions on how to implement this efficiently, I would appreciate your insights and recommendations.

I planned to use esp-01s (esp8266) and some AMS117(or similar) and some LED for indications. And for the software Arduino IDE and sending it with OTA, but that code needs to have HDLC beacuse electricity meter use HDLC protocol. But i am not sure if the Arduino IDE has a suitable library for that protocol. Any suggestions and help?

I moved your topic to an appropriate forum category @0utis23.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

I did a quick library search and indeed there is a library that supports HDLC. As to the rest, no comment.

Remember HDLC is synchronous, so the regular Arduino UARTS will not work for this.

EDIT: Upon further review, I see there is a version for async communication using HDLC.

No more thought until you tell us a whole lot more about the meter. Must be really old!

1 Like

Hello,
I need to create program that can only receive and send received data with esp from meter and nothing else. The meter is using hdlc protocol. And i find these two libraries GuruxDLMS.c/Arduino_IDE at master · Gurux/GuruxDLMS.c · GitHub GitHub - jarkko-hautakorpi/Arduhdlc: Simple Arduino HDLC library
but i tried to implement and it didn't work. Do i need to use library hdlc so that i can read the data, or i can create without library? I can use any programming language and any platform to create that program.
Thanks in advance!

can you details of the meter, the physical interface and the protocol?
could it be a TPC or UDP protocol?

Meter has 12 pin concetor, i can only use RX,TX,V+12, GND and LINK. Its operate with DLMS/COSEM and use HDLC protocol and that's i got, and with that i must create program to be bridge between wifi and meter.

Didn't he say it's HDLC? I assume a newer version of IBM's SDLC.

We need a lot more information. Datasheets, what the project is going to do then there will be questions.

I have merged your topics due to them having too much overlap on the same subject matter @0utis23.

In the future, please only create one topic for each distinct subject matter and be careful not to cause them to converge into parallel discussions.

The reason is that generating multiple threads on the same subject matter can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.

Thanks in advance for your cooperation.