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 Client Example

Arduino client example

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.

By Toni , 23 November, 2020
Forums
Gurux.DLMS

Hi Everyone,

I am trying to use the Arduino client example, the code compiles, but readings via serial monitor prints jargons, I am on the same 9600 baudrate as set in the code. I also changed to 115200 baudrate, but still the jargons on serial. Any one facing this?

I am using the latest commit from GitHub

Toni

5 years 6 months ago

I am running on an Arduino

I am running on an Arduino Mega

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

What meter do you try to read? Are you using an optical probe or serial port?

BR,
Mikko

Toni

5 years 6 months ago

I am using serial1, which is

I am using serial1, which is connected to HC-05 paired to optical Probe VIA Bluetooth.

In summary, I am trying to read a HEXING meter using optical Probe.

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

There are several things that might cause problems. Try to connect your optical probe to your PC and read your meter with GXDLMSDirector. It's the easiest way to get started.

BR,
Mikko

Toni

5 years 6 months ago

That has been done already, I

That has been done already, I can communicate via GXDLMSDirector using the optical Probe. I send an image of what I am receiving from the serial monitor.

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

Please, don't send the image. Send a text what you are receiving. Pictures are compressed and they are hard to read.

BR,
Mikko

Toni

5 years 6 months ago

⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮

⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮

Here is the response I get from the serial output. The baud rate is the same 9600.

Toni

5 years 6 months ago

~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮

~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~~⸮⸮⸮~

Profile picture for user Kurumi

Kurumi

5 years 6 months ago

Hi,

Hi,

That is non-ASCII data. Try to get it as a hex string.

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