Solved: ESP32-cam stops serving frames
Hi,
I have the ESP32-cam now running continuously for a few days without any issues. In the past, the camera module used to stop working after a few hours, though the other functions of the ESP32 board would still work (e.g. turning on the flash through GPIO)
The root cause in my case was the camera sensor getting overheated. I mounted the sensor on a pretty large heat sink and that seems to have solved the issue.
See also: https://github.com/esphome/issues/issues/551#issuecomment-547326784
BTW, also set the “board type” to "esp32dev "
Hope this helps anyone with the same issue
chris
Hi @nickrout
Unfortunately I have already mounted everything outside on the wall, but I can describe things for you.
So the main issue was not really the ESP32-cam board heating up, it was that tiny cam-sensor heating up. So, I took a left-over piece of metal and attached the cam sensor to it. The metal plate slides in-between the cam sensor and the ESP32-cam board. At the front side of the plate, I glued the cam sensor to it. I isolated the back side of the plate with plastic because it touches the ESP32-cam board and it would create short-circuits. It doesn’t have to be a “real” commercial heat-sink, anything that can dissipate the heat would do.
Makes sense?
Hi @nickrout no problem, glad to answer
yes I added the heat sink (piece of metal; circle of 5cm diameter) to the back of the standard OV2640 mini-sensor that came with the ESP32-cam board. That seems to be enough. I’m not sure if it will be large enough for the summer times. For future projects, I ordered those with a longer flatcable so I have more flexibility to mount them: https://www.aliexpress.com/item/33062602653.html?spm=a2g0s.9042311.0.0.60504c4dkFA01k
chrisV
Quite old post, but still useful. I was thinking… would it be possible to utilize the SDCard slot on the espCam module as a heat sink for the camera. E.g. on AI Thinker modules, it seems to fit perfectly. My only concern is if it would create any kind of short circuit… It seems that SD card slot is grounded but the small metal plate on camera module, doesn’t seem to be connected to anything… Has anybody tried that?