I have an ESP32-CAM module. The code to make it take a picture is in void setup of the ESP module, and it takes a picture every time the device resets, i.e., RST button on the board. However, I have paired this with an Arduino Uno where I have more components attached. How can I trigger a reset on the ESP module using the Arduino board? My ESP module does not seem to have a reset pin sticking out, but I am not sure.
the last part of the process is to put the board into a sleep state , and if the loop is running all the time this will not be possible and it will consume a lot of power ..
Ah power savings, well the OP can power the esp32cam with a relay that can be switched with the Uno, take a pic, then switch the esp32cam off.
The OP can set the EN pin to low with the Uno. Setting the EN pin to low causes the ESP32 to reset. The OP can solder a wire to the EN pin or the RST pin, off the rest button but does not save power as the esp32cam remains on.
The OP should know directly connecting a Uno 5V pin to the ESP32CAM a 3.3V device will cause issues unless proper precautions are taken.
You could connect a pin from your Arduino to the RST pin and give it a HIGH state, and set it to LOW when you want to reset it. I read this in another post on this forum. Not sure if it would work though. Also, you'd have to figure out where your RST pin was.
@Paul_B That's a good point. I'm assuming OP needs pictures taken not at regular intervals but only when something happens on the Arduino's other components. Perhaps a hobby project?