Closed jfras closed 1 month ago
JPEG takes the least memory as it compresses the image in the camera before it is delivered to your code. Use that rather than grayscale or any other format until you can work out what is going wrong.
Turns out I needed to re-soldered the ESP module and that the camera itself was faulty:
After re-soldering the module the camera started to capture the grayscale images but was failing to capture JPEG - the esp_camera_fb_get();
was returning null. Other formats were not working neither.
Swapping the camera itself solved the JPEG issue. Now everything works. Thank you!
I can run the example code on the ESP32-S3-MINI-N8 version, but only in small resolutions, no jpeg due to the small memory size. I have replaced the module to ESP32-S3-MINI-N4R2 hoping to solve the issue with the additional PSRAM, but seems that even the previous code (with nor without PSRAM usage) does not work on that module. I tried various configurations, the PSRAM itself seems to work when I test it, but the camera does not. As far as I understand, the N8 and N4R2 versions have the same size of DRAM, so that there should be no difference in how they work if the PSRAM is not being used. Is that correct?
My camera configuration:
I am getting: