Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Arduino Based DLMS

Arduino based DLMS

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

Profile picture for user Cody_M
By Cody_M , 24 June, 2020
Forums
General discussion

Need a technical documentation/ Datasheet of ARDUINO/DLMS..

And also need a pinout of MEGA2560
I"ve managed only a control of a LED (pin13)
And interested in what else I can do with it? Wanted to connect REAL TIME CLOCK with I2C???
Is it possible, this type of connection as shown in picture???

Image
Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

Pinouts should be the same at all Arduino boards, but just in case check them from the board manufacturer.

You can do whatever you like. The example is simple because we didn't want to add any external HW to it.

You can read/write IOs at the same way as LED is handled.

BR,
Mikko

Profile picture for user Cody_M

Cody_M

5 years 11 months ago

Please tell me how can I

Please tell me how can I change the value of the variable activePowerL1.value through serialport1?

Profile picture for user Cody_M

Cody_M

5 years 11 months ago

can you show a code example

can you show a code example how can i implement modbus to dlms arduino?

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

You need to give access right to the register. You can do this on the meter code.
Find getRegisterAttributeAccess and return DLMS_ACCESS_MODE_READ_WRITE.

Then read the association view again (Select Refresh from File menu) and now you can modify register.
Set new value and select something else. Then press the Write button. Write button is activated when you change the value.

Implementing Modbus you need to create data and register objects. Then on preRead and preWrite you need to generate Modbus frames and send them to the device.

BR,
Mikko

Profile picture for user Cody_M

Cody_M

5 years 11 months ago

In reply to Hi, by Kurumi

Is it possible to expect to

Is it possible to expect to your help to realize this project, personally??

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi Cody,

Hi Cody,

I'm sorry but we can help only our clients by email. You can post your questions to the forum. I'll try to answer to them as soon as possible.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin