I'm not sure about this and if it is possible. I need to read CPU temperature (normal computer) into an Arduino. This could be possinble (at least I think) by connect some kind of sensor that can be placed between heatsink and cpu, where the thermal paste is placed. Or, second option is to read values from the system somehow, or from the motherboard. I hope I'm not talking about stupid things. I need some advices about this.


closed as too broad by Wesley Lee, Dmitry Grigoryev, Voltage Spike, brhans, ThreePhaseEel Apr 27 '17 at 23:34

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    \$\begingroup\$ Easiest way I think would be putting a thermistor as close as possible to your core, record the offsets of your readings with the thermistor and temps given by the system, make into a table, etc.. BUT, this smells a lot like a XY problem.. \$\endgroup\$ – Wesley Lee Apr 16 '17 at 17:11
  • 2
    \$\begingroup\$ "Openhardwaremonitor" is probably the program you want for Windows. \$\endgroup\$ – pjc50 Apr 16 '17 at 17:34
  • \$\begingroup\$ Slap a thermistor on it, measure the voltage and your good to go. \$\endgroup\$ – Voltage Spike Apr 18 '17 at 21:16

It is a lot easier to read directly from the system. This of course depends on what operating system the computer is running but this can be easily read using terminal commands (and most likely easy with cmd prompt). For example on OSX You can get temperatures using istats and on linux you can use lm-sensors

My suggestion would be to run a Python script that executes bash commands to read the cpu temperature and then send the data over serial to the arduino.

I don't think using your own sensor would be a good solution seeing as it would be messy and would probably give less accurate results than the onboard sensor.

  • \$\begingroup\$ I think that this is a good idea. I'm using windows as os. But why Phyton? \$\endgroup\$ – user3672802 Apr 17 '17 at 7:56
  • \$\begingroup\$ It would just be my personal preference. It is really easy to execute terminal commands and setting up a serial lines in python is really straightforward. \$\endgroup\$ – Makoto Apr 17 '17 at 8:16

Not the answer you're looking for? Browse other questions tagged or ask your own question.