ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
From memory, all cam boards have external 1.2V and 2.8V LDO for OV2640, but OV5640 needs 1.5V instead of 1.2V so as there is no external 1.5V LDO it has to use the 2.8V supply and its internal 1.5V LDO.
I am using a XIAO with its upgraded ov5640 cam including autofocus ability.
the camera is getting very hot, you mentioned the supply voltage is too high, could you please tell me which supply voltage you refer to?