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. Node
  3. Energy Meter Reading Using Arduino Atmega 2560

Energy Meter reading using Arduino Atmega 2560

By gaurav19 , 8 October, 2024
Forums
General discussion

Hi,
I want to read energy meter using Arduino mega 2560 via DLMS. I downloaded the Arduino_IDE and copied include and src into client folder.The code compiles and get downloaded in Arduino but i dont now what i need to do next?
At the moment i do not have a meter. is there any way i can simulate meter that i can test communication with my mega2560?
Also are there any arduino ide mega client working examples that i can check?

gaurav19

2 years ago

i refered to following link…

i refered to following link
https://www.youtube.com/watch?v=ZMGGslFcjtw

Profile picture for user Kurumi

Kurumi

2 years ago

Hi, You can use the DLMS…

Hi,

You can use the DLMS simulator if you don't have the meter.
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Simulato…

There is a simple template for Crystal meters crystal.xml, you can use it.

You can connect with Arduino client if you use the default settings.

There are multiple parameters with DLMS meters and the meter doesn't reply if one of them is different than the meter expects.

BR,
Mikko

gaurav19

2 years ago

Thansks for the reply. I was…

Thansks for the reply.
I was trying to run the crystal.xml temple as...
E:\gitlab\DLMS\Gurux.DLMS.Net-master\Gurux.DLMS.Net-master\Gurux.DLMS.Simulator.Net>Gurux.DLMS.Simulator.Net.exe -p 1000 -x crystal.xml -t Verbose -N 10
..but im getting following error.
'Gurux.DLMS.Simulator.Net.exe' is not recognized as an internal or external command,
operable program or batch file.

Profile picture for user Kurumi

Kurumi

2 years ago

Hi, You must build Gurux…

Hi,

You must build Gurux.DLMS.Simulator.Net.exe first.

dotnet build Gurux.DLMS.Simulator.Net.sln

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin