1
\$\begingroup\$

I need to shoot stereo video or stills at about 10 FPS possibly in perfect sync. My plan is to set up a 3D stereo rig (2 standalone units - each consisting of Arduino UNO + ArduCam shield + OV5642 camera module) an then fire both units via single remote shutter. Such a setup might already result in a pretty good synchronization since the hardware is very simple, but I was told in this post that I could probably do real genlock - sync both OV5642 modules with an single external clock signal fed from oscillator. This would likely result in a 100% frame synchronization.

According to this datasheet (corresponding eBay item) the OV5642 supports "external frame synchronization in frame exposure mode". I am not sure if "frame exposure mode" means still imaging only (no video?) - I do not mind this since I will rather work with still image files than with video file. Is it correct that I can do a single genlock for both cameras? If so, could someone please tell me how exactly this can be done?

My hardware building/hacking knowledge is close to zero though, so I prefer an easy solution. I am not sure if the oscillator signal can be fed from one of Arduino boards or whether it needs to come from other external source. A major plus of the solution will be low cost and use of small embedded hardware (no big boxes needing lot of power) so that can be used in mobile environment.

The application of my stereo will be mobile road/terrain 3D scanner in a passenger car moving up to say 100 km/h - another issue could be rolling shutter and I understand I wont get global shutter cheaply. I hope on short enough exposure time to minimize rolling shutter or simply on reducing vehicle speed. Sure I could get a global shutter sensor but I am poised to explore the low-cost way first.

In case someone know about a similar solution (in terms of size and cost) using another hardware altogether (camera etc.) I will be happy to hear about it.

\$\endgroup\$
1
\$\begingroup\$

Looking at the User Guide, it looks like pin 8 on the "alternative connector" is the trigger input. I assume if you drive a 3.3V active-high signal into the trigger pins on your two modules, they'd fire at (relatively) the same time.

However, I don't see anything on ArduCam's web site to indicate this thing is capable of shooting streams of video -- and I don't know how fast you can shoot still photos. They're basically using a CPLD to read out the DVP's data, buffer it a bit, and shove it on the SD card. No idea how fast it is.

\$\endgroup\$
  • \$\begingroup\$ Thanks for a reply. However I rather meant a genlock where I will feed some MHz of clock signal to both cameras from a single external source (oscillator?) rather than to let the cameras clock themselves internally. I admit this might not have been clear from my question so I edited it accordingly. \$\endgroup\$ – Kozuch Aug 9 '14 at 22:05
  • \$\begingroup\$ While you can chain the clocks together, I'm not sure why you'd want to. Sounds like you want to sync the HSYNC/VSYNC signals, which are generated internally. Not sure how you'd do that, other than pulling the sensors out of reset at the same instant. \$\endgroup\$ – Jay Carlson Aug 10 '14 at 2:48
  • \$\begingroup\$ What does "pulling the sensors out of reset at the same instant" exactly mean? Can you describe it in more detail please? \$\endgroup\$ – Kozuch Aug 11 '14 at 12:16
  • \$\begingroup\$ "I'm not sure why you'd want to." Well, I thought a single external clock will bring both cameras in perfect frame synchronization against each other? That is pretty much my goal still. I have a computer vision project and I simply need synced stereo footage. Would you please elaborate on my previous comment too? \$\endgroup\$ – Kozuch Sep 12 '14 at 7:31
  • \$\begingroup\$ @Kozuch You keep asking same questions expecting different answers. On the other post you've been given a solution of using PLL to synchronize one camera VSYNC to the other by manipulating it's clock. Synching clocks does not mean synching the beginnings of frames. \$\endgroup\$ – Maple Jul 29 '18 at 0:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.