cpu temperature

hi
I am new to this forum. I would like to know if it is possible to display the temperature of my cpu (pc) on an lcd screen with my arduino. I have done some rather simple project with arduino. I would like to know if this is possible and orient myself a can.

thank you for a help

It's possible. I'd expect that there would be a program running on the PC to get the temperature and that it would send that data to the Arduino by Serial or WiFi or bluetooth.

Then it's trivial for an Arduino to parse the data and put it on a display.

ok but how do i get arduino to read the data from the program running on the pc?

oryxx99:
ok but how do i get arduino to read the data from the program running on the pc?

That is the least of your problems. First find out if your PC operating system monitors the temperature or if the BIOS software monitors it and only messages the operating system if there is a problem.
Paul

The easiest way is probably to have the PC program send whatever text you want the LCD to display over serial. Then the Arduino program can just read that text and send it to the display.

As a bonus, you can then test using the serial monitor before you have the PC side done.

But as Paul_KD7HB points out, the Arduino piece is simple. Getting the temperature on the PC side may not be.

One thing to watch out for with this method is that the virtual COM port that the Arduino's serial communication uses may not always be the same.

witch pc temperature monitoring program you advise me ?
i am on windows 10?
i think to use OpenHardwareMonitor
i don't know if it would be the best ?

That's the hard bit. I was envisaging that you would write your own code to get the temperature, or at least find some open source that you could adapt.

As it stands, OpenHardwareMonitor won't send anything to your Arduino - you need to get the data somehow and send it. I see that it sends the data to WMI. Maybe there's a way to get it from there.

This is what we mean by saying that the Arduino side is the easy part. I've tried to read PC temperature before and eventually gave up.

i think to use OpenHardwareMonitor

Yes.

Getting the temperature on the PC side may not be.

You can get at the temperature data from WMI and the Open Hardware Monitor using Python. Then you can use Python to send the data to the Arduino.

The WMI module will need to be installed as it is not in the default python package.

You will need to add code to the python program which reads the temperature to sent it out the serial port for the Arduino to read.

If you don't already use/know Python this is likely to be a difficult project as there is a significant learning curve to get working with it.

I am not familiar with other PC programming tools, and what other than Python can interface with the Open Hardware Monitor/WMI.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.