Temp sensor

Hi, I Use SBC FEZ Bit, and I copied the temp sensor script from your docs. And it gives false results. It starts with 30 C and goes up to 45 C with heating of the CPU. How to solve it, what to change in the code?

That’s an internal core temp sensor. In what way are the readings ‘false’? Is that not the actual internal core temp? Other forum posts on this same topic mention values around 43 degrees when properly configured and stabilized.

ref: Internal temperature sensor - #23 by Majo

Yes, it should be 22 Celsius, but it’s 32 when started and 43 when the cpu heated already.

Where does the 22 degrees come from? Even at first boot from completely cold, by the time the interpreter has spun up and the first line of managed code is running, the core has run oodles of native code and likely is well into a temperature ramp. Ambient temp, and even the temp of the outer case, is not likely to be a very good indicator of die temp especially in the first minute of operation.

I believe it has something to do with astrology?

3 Likes