Inter camera synchronization using an arduino
Hi!
I have to synchronize two very different cameras (D435 and a DVS event camera) and I wanted to use an Arduino UNO R4 WIFI. The two cameras require two different signals:
- The DVS camera needs me to send a 30Hz with 50% duty cycle wave which it will recognize as events and will save the corresponding timestamps
- The D435, as far as I understand from the manuals, requires a pulse of 100us with a frequency of 30FPS
The two signals are generated correctly and when I measure them with the oscilloscope I get a pretty stable frequency, but the issue comes when I test it on the camera (setting it to full slave mode) as the video feeds loose many frames and I get multiple "REC ERROR" in the realsense viewer.
Does anyone have any experience/guidance on the subject?
Thank you in advance.
-
Hi Mauriello When performing hardware sync with an external trigger signal, it can be difficult as the generated signal has to have a frequency that is matched very closely with the FPS of the camera, which may not be 30 exactly. Please try a trigger frequency of 30.015
It is much easier to sync an external trigger if the genlock type of hardware sync is used. With this, you would set the camera to 30 FPS and its Inter Cam Sync Mode to 4 instead of 2, and set the trigger frequency to half of the camera FPS - so if the camera FPS is 30, set the trigger frequency to 15 Hz.
Please sign in to leave a comment.
Comments
1 comment