ESP32-CAM with OV5640 overheating? purple haze over image and very warm board/camera

Good day everyone,

So I've been messing around with the ESP32-CAM with the OV2640 camera and decided to plug in an OV5640 instead. First two things I noticed were that the LED functionality was gone and that the board gets really warm really quickly. But what I'm actually making this thread for is the images it produces:

On the left side of every image is a huge blue/purple haze, towards the center it gets less and less 'thick'. Then on the right side is another smaller/less thick purple haze (which was actually a thick black haze the first time I tried it). As soon as I cover the camera completely and then remove the cover again. The images are almost entirely black, without the haze, and the few things that you do see on the image (pretty much only the lights on the ceiling of my room) are yellow.

After disconnecting the ESP32 and letting it cool down for a couple minutes, I tried again. The image was crystal clear, no haze no nothing. Untill after like 5 seconds it gets really dark in an instant, 5 more seconds and the haze appears on the left side. The longer I let it run the thicker the haze gets and the more it spreads.

The haze appears and gets thicker & bigger
Screenshot 2024-01-27 211157

The haze covers all of the image
Screenshot 2024-01-27 213547

After covering the camera completely and then uncovering it, this is what you see
Screenshot 2024-01-27 211132

Is this just the ESP32-CAM or the camera itself overheating? The ESP32-CAM is supposed to be compatible with the OV5640 camera. What, if any, adjustments do I have to make to get it working smoothly without melting the thing?

EDIT: So apparently, this is a well known issue with the OV5640, but the only solution I've found everyone is saying is attaching a heatsink to the overheating part. So which part is actually overheating? The camera itself is warm, the ESP chip is warm, but other parts felt warm too. I've already ordered a couple of small heatsinks to try it out.

Thanks in advance,

Simon

That is a very bad sign, and the replacement is clearly a bad idea. Don't count on the ESP32 board working reliably after this experiment.

I swapped them back around about an hour ago, still seems to work just fine. I don't think the board was damaged yet. By really warm I don't mean hot, just really warm. I didn't let it run for too long.

Its the camera overheating, add a heatsink to it;

Thanks, I've already ordered some

I have bought a Esp32-cam within ov5640 and I have exactly the same issue.
At the moment I will try to attach a heat sink to understand if it is sufficient….