Pages: [1]   Go Down
Author Topic: Arduino read computer CPU temperature  (Read 1879 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello!

Is there anyway I can get the Arduino Uno to read the temperature of my computers' CPU?
I have a 2-digit display connected to it and made functions to print numbers and letters, just need the arduino program to read the temperature of the cpu like every second, via the usb cable, and then find the suitable function to print the corresponding number on the 2-digit display  smiley-mr-green
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

A usual approach to a problem of this sort is to write a program on the PC side to send the data over the serial port to the Arduino, and to write a corresponding program on the Arduino to receive and display the serial data.

-br
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13471
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

MOst PC's these days can read the  chips internal temp sensor,

that said, you can connect a DS18B20 (take the waterproof version) to the cooler of the CPU and let the Arduino read and display it. The added value of letting the Arduino read the temperature is that you can create the start and cooldown curve that are missed by the "internal" program which can be interesting too. Furthermore the Arduino can have multiple sensors and you can measure the temperature of parts of the PC that have no built in temp sensor. So lots of reasons to go for the Arduino way!

Finally, The Arduino can store the data on SD card which can be processed by the PC on a later moment.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, that's what I thought, but I don't know how to do it.

No, I can't just place a thermo on the cooler, because the temperature inside the CPU is way different from the cooling-rig's temp. Thanks for the reply anwyays smiley
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13471
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
because the temperature inside the CPU is way different from the cooling-rig's temp.
Yes, but if you measure both for a while you will see those are correlated and you may be able to derive a lookup table to map the inside and outside temperatures.
At least that will work for stable temperatures, and the cpu is not that stable in T.

Found this one after a google

- http://www.vbforums.com/showthread.php?428630-Reading-the-CPU -
- http://social.msdn.microsoft.com/forums/en-US/vblanguage/thread/18ce0701-e87d-4414-a8b5-8be3908a21b8/
- http://www.scriptinternals.com/new/us/support/Internal/WMI_MSAcpi_ThermalZoneTemperature.htm

didn't work for me but might work for your PC. Seems you need dedicated drivers...
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13471
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

- http://www.alcpu.com/CoreTemp/ - is an free application

and has a developers page - http://www.alcpu.com/CoreTemp/developers.html -

Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Israel
Offline Offline
Sr. Member
****
Karma: 5
Posts: 281
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

As Rob has mentioned, Core Temp could be a very good option.
You can create a plugin that will do what you need for it quite easily, and if you need help with anything you can always ask me for help.
Logged


Pages: [1]   Go Up
Jump to: