Hello Sir.
Very first, I am thankful to you for maintaining such active forum.
I am working on a project which is reading energy meters through optical port using embedded system. Through rigorous search on internet, I came across that the Gurux is only opensource library. Will you please guide us?
Which microcontroller should should we use?
Which parameters shoulds of microcontroller should be chyecked before choosing microcontroller for using it with gurux?
We need to use a microcontroller other than Arduino.
Reading meters from microcontroller is not an easy task. Reading current values is not bad, but if you need to read historical data you need more memory or then you need to read only a few rows at the time.
It's almost mandatory that you need to use malloc on the client-side. You can do it without malloc but then you need to know exactly what kind of data meter is returning.
If you are reading only current integer values, it's not a problem, but if you want to read complex data, you need to allocate space before reading.
What microcontroller and compiler you want to use?
Thank you Sir for your reply. Actually I have not decided which microcontroller to use. I want to know that, do I need to write device driver for using dlms client library?
What do you suggest me? How should I proceed?
You can use what you want. The only thing that you need to do is handle byte sending and reading to the meter. I believe the Arduino example is good for that purpose.
Hi,
Hi,
Reading meters from microcontroller is not an easy task. Reading current values is not bad, but if you need to read historical data you need more memory or then you need to read only a few rows at the time.
It's almost mandatory that you need to use malloc on the client-side. You can do it without malloc but then you need to know exactly what kind of data meter is returning.
If you are reading only current integer values, it's not a problem, but if you want to read complex data, you need to allocate space before reading.
What microcontroller and compiler you want to use?
BR,
Mikko
Thank you Sir for your reply.
Thank you Sir for your reply. Actually I have not decided which microcontroller to use. I want to know that, do I need to write device driver for using dlms client library?
What do you suggest me? How should I proceed?
Thank you sir
Hi Omkar,
Hi Omkar,
You can use what you want. The only thing that you need to do is handle byte sending and reading to the meter. I believe the Arduino example is good for that purpose.
https://github.com/Gurux/GuruxDLMS.c/tree/master/Arduino_IDE/client
You need malloc. You can do meter reading without it, but it's harder without malloc.
BR,
Mikko
okay. Thank you very much sir
okay. Thank you very much sir