Heatsink for esp32

Hello and thanks for reading my post!
I own an Esp32 Devkit V1 and intend to keep it working for a long time to control electrical devices. This leads to the problem that the Esp32 will become very hot after a while of operation. I'm planning to use a radiator fan but only do it when the temperature is too much.

So my question is is there a way to read the temperature of the Esp32? According to my research, Esp32 has an internal temperature sensor but the result I get is always 53.33C. Is there any simple and effective solution?
Thanks for reading all of my posts!

Hello xuanlong

Post your sketch, well formated, with well-tempered comments and in so called
code tags "< code >" and schematic to see how we can help.

1 Like

The internal temperature sensor isn't in all the ESP32. https://www.theengineeringprojects.com/2022/01/esp32-internal-temperature-sensor.html

1 Like

That could be normal. It's going to generate some internal heat.

It should be proportional to the ambient temperature so it should be higher "on a hot day", etc., and it should vary so if it's always exactly 53.33 something is wrong.

If it's getting "very hot" to the touch and burning your finger, then you've got excess voltage or excess current (something connected that's "pulling" too much current.)

The datasheet says it can operate in an environment between -40 and 125 degrees C and the internal temperature will be higher.

1 Like

If the result is always 53.33°C there isn't a intern sensor. 53.33 = (128-32)/1.8. https://gist.github.com/xxlukas42/7e7e18604f61529b8398f7fcc5785251

1 Like

Don't create a problem where there isn't one.
The metal shield of the ESP32 will get warm to the touch from the 0.3watt dissipation.
The internal chip will get hotter than that. 60C is quite normal.

These processors won't get hotter with more work, like a computer does. Assuming you don't do silly things, like powering the board with more than 5volt, or drawing more than 7mA from more than a few pins. I have an ESP32 running 24/7 for a looong time, no issues.
Leo..

1 Like

As buckfast_beekeeper already mentioned, if the internal temperature is always shown as 53 degrees, your esp32 might not have the internal temperature sensor.

On the other hand, you might need to use the legacy temperature sensor driver.

You can find more information and how to use the legacy driver here:
https://www.espboards.dev/blog/esp32-inbuilt-temperature-sensor/

You can always mount a temperature sensor to the ESP device.

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