Hi Blayden,
I have got this working which is fantastic, I really appreciate your help. I was wondering if you or anyone else knew if it was possible to manually change the exposure/shutter speed of the ESP32 Cam. I want to keep the shutter open for longer to capture a small amount of light in a black box and the normal exposure levels are not picking it up.
Thanks,
Dave
1 Like
Hey David,
Awesome! Glad you got it all sorted, what was the issue, can you let me know what exactly got it fixed and working?
As for the shutter speed on the ESP32CAM, you should be able to change it in the Arduino CameraWebServer library, you can set the shutter speed by modifying the “setExposureCompensation” method, which is part of the “camera_config.h” file. You can also modify other exposure settings, such as the exposure mode and the ISO.
In the ESP32 CameraWebServer library, you can set the shutter speed by using the “camera_config_t” structure and setting the “exposure_time” field to the desired value. For example, to set the shutter speed to 1/1000 of a second, you would set the “exposure_time” field to 1000.
Hope that improves your use of the ESP32CAM for your project!
Cheers,
Blayden
1 Like
Hi Blayden,
I wasn’t actually able to debug it, when I ran it on a windows laptop instead of Mac I had no issues… weird.
Thanks again for all your help re shutter speed and with my original enquiries.
Dave
Hey David,
That is strange, I wonder if it was a driver issue with the Mac. although the Arduino was recognised as a Com Port so it should have worked. Regardless happy you got it functioning!
No worries for the shutter speed questions, I hope your project is on its way to being exactly as it was envisioned and best of luck with your projects both current and future.
Cheers,
Blayden
Hi, thanks for you how-to article. For some reason I cannot get it to work. The sketch uploads with no errors but will not run. Tried two different arduino unos, same outcome. Purchased an esp32-cam-mb programmer board - same outcome. When I go into the serial monitor after each upload there is nothing there. If I press the RST button on the esp32 I get:
“ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download”.
I feel like it is stuck in programming mode and I have no idea how to get it into RUN mode??
Thanks for any help you can give.
Hey Alex,
Programming mode is accessed when shorting io0 to ground. When those pins are not shorted, it should come out of that mode without issue. Does the programming jig itself short that pin when it is mounted with the ESP32CAM?
Cheers,
Blayden
Hi Blayden,
Thanks for your reply.
There’s a lot of misleading stuff on the internet when you start looking. Most of them talk about pressing one or both buttons on the programmer at different points during compilation or uploading etc …
Turns out press nothing and just select upload. The program then automatically runs when the upload is complete.
The other issue I had was a faulty esp32.
1 Like