Pull sensors data to Arduino

kadutt

New Member
Hello, I wanted to have an OLED module that's connected to Arduino to display temps and other data from HWiNFO. Is it possible to pull the sensors data with C++ coding or libraries?
i'll be connecting the arduino to PC through USB.
Thanks in advance.
 
Hello, I wanted to have an OLED module that's connected to Arduino to display temps and other data from HWiNFO. Is it possible to pull the sensors data with C++ coding or libraries?
i'll be connecting the arduino to PC through USB.
Thanks in advance.
Did you ever get it working with Arduino? I was thinking about doing this as well.
 
You can push serial data over the USB cable

Then you would have to send serial from a service consuming the SDK (or maybe its possible with a plugin?).
Not 100% sure what is the best way to send this data, often I like working with JSON, but JSON has a larger footprint than HEX or ASCII.

But in theory you could read JSON like this here: https://arduinojson.org/v6/example/parser/

You will have to consider if you wish to support more than 1 GPU etc.(when making your data model).
But of course as a first try you can try to make an service in your computer that just connects to the SDK, reads CPU temp.
Then you can try to just push serial data to Arduino: CPUTEMP_123

Thenyou have the read and you can split this on _

This is just a hello world though :)But if you manage to do that, than you can continue to think about your data model and how to structure your data, if you need to support 1:n devices etc.
 
Hey !
That's exactly what I'd like to achieve.
It may be possible to get the data with python from the shared memory, then send it to the Arduino throught serial :


I would love to do that but I can"t really figure out how to get the information I need from the shared memory.

So if someone is still interested I that kind of thing...
 
Back
Top