Reset using ArduCAM_ESP32_Capture.ino and server request

1. Where did you get the camera module(s)?

2. Model number of the product(s)?

3. What hardware/platform were you working on?
ESP-32 dev board, Arduino, Python (OpenCV)

4. Instructions you have followed. (link/manual/etc.)
I followed the instructions on ArduCAM_ESP32S_UNO GitHub page and the info in the ArduCAM_ESP32_Capture.ino file.

5. Problems you were having?
I am trying to capture images from my OV5642 using the http://{ip address}/capture method (described in ArduCAM_ESP32_Capture.ino). I am using python to send server requests and it works fine unless there is some kind of disruption of the request - the arduino serial monitor will read
capture total_time used (in miliseconds):0
and will no longer acquire images, the serial monitor will also read capture total_time used (in miliseconds):0 for each http://{ip address}/capture request.

  1. The dmesg log from your hardware?
    The Arduino serial monitor will read :
CAM Capturing
11:29:35.497 -> capture total_time used (in miliseconds):0
11:29:35.497 -> CAM Capture Done.
11:29:35.754 -> send total_time used (in miliseconds):263
11:29:35.754 -> CAM send Done.

when acquisition is working properly the cature total time used will be in the 100-500 range.

  1. Troubleshooting attempts you’ve made?
    Turning on and off the camera works but isn’t useful

  2. What help do you need?
    How can I send a request to the camera to prevent this from happening. I guess there must be a command that I can send to reset the acquisition or have the desired effect.




You can use the examples we provide. Then observe whether the camera can work normally, whether there will be the same problem as now.