raduprv / esp32-cam_ov2640-timelapse

A timelapse program for esp32 cam with ov2640 sensor. The exposure is done manually based on the light level, and the image quality is far better than the default settings.
Apache License 2.0
38 stars 5 forks source link

Sync two cameras #6

Open ibprojects opened 2 years ago

ibprojects commented 2 years ago

Thank you for the great work!

What is the best approach to sync two ESP32 cameras to capture at the exact same time? I would love to shoot a time lapse with your code from two perspectives but I would like the exposures to start and end at the exact same time.

The ESP32s will be close enough to each other to have GPIOs connected.

Thank you for any help you can offer. Ian

raduprv commented 2 years ago

Hi. I don't know what would be the best way. Probably you'd have to have a master/slave configuration, where the master pulls up a pin on the slave device when it's ready to take the photo, and the slave device monitors that pin.