Checking the CPU Temperature of a Raspberry Pi


2012-12-28

There a couple ways to look at the CPU temperature of a Raspberry Pi.

One is using this command: cat /sys/class/thermal/thermal_zone0/temp. This will return the temperature in millicentigrade, with quick conversions to centigrade being something like (in your language of choice) value / 1000.0 and to Fahrenheit value / 1000.0 * 9/5 + 32.

Check out more posts about the Raspberry Pi here: Raspberry Pi Posts