I’m trying to get my Arducam OV9782 USB UVC camera (model B0385, USB VID:PID 0c45:6366) working in external trigger mode and I’m hitting a wall. Hoping someone here has been through this.
Hardware setup:
Arducam OV9782 USB Camera, model B0385
USB VID:PID: 0c45:6366 (shows up as Microdia Arducam OV9782 USB Camera)
Ubuntu 20.04, kernel 5.15.168, using the uvcvideo driver
External pulse generator feeding the F pin (trigger in) — I’ve confirmed the pulses are reaching the pin with both an oscilloscope and logic analyzer
S pin (sync out) shows absolutely nothing — flatline
The camera seems to just free-run regardless of what I do. Frame timestamps from v4l2-ctl don’t align with the trigger frequency at all, and frames keep coming even when I turn the pulse generator completely off.
v4l2-ctl -l only shows standard UVC controls: auto_exposure, exposure_time_absolute, exposure_dynamic_framerate. Nothing about trigger mode. No exposure_auto_priority control anywhere. uvcdynctrl --clist doesn’t reveal any vendor-specific XU controls either.
Tried the ArduCAM_Ext_Trigger_Demo from the ArduCAM_USB_Camera_Shield repo. Compiled it (had to fix some OpenCV 4 cvWaitKey issues). When I run it with “trigger_mode”: 1 in the YAML config, it just crashes:
So the SDK doesn’t seem to recognize this UVC camera at all.
Detailed timing observations:
With 30 Hz pulses: frame deltas are ~32–60 ms, drifting around 30 FPS — looks like normal free-run, definitely not 1 pulse = 1 frame
With 10 Hz pulses and exposure_time_absolute=250/500: frame deltas ~100 ms (~10 FPS), which sort of looks like internal pacing but it’s not locked to the trigger
Frames still arrive when the pulse generator is off
S pin never toggles, regardless of what’s happening on F
Oddly, with exposure_time_absolute set to 250–500 ms, I still get ~8–10 FPS — that shouldn’t be possible if exposure is really 500 ms (max would be 2 FPS)
Has anyone successfully gotten external trigger working on this camera? Am I missing some hidden control, or is there a firmware issue?
Step 1: Open camera preview (VLC or qv4l2) so you can see the feed
Step 2: List devices
v4l2-ctl --list-devices
Step 3: Check current controls
v4l2-ctl -l
Step 4: Disable auto exposure
v4l2-ctl -c exposure_auto=1
Step 5: Set exposure value
v4l2-ctl -c exposure_absolute=500
Step 6: Enable external trigger snapshot mode
v4l2-ctl -c exposure_auto_priority=1
After those steps, the preview framerate should correspond to your trigger signal frequency — one frame per trigger pulse.
A heads-up: the control names I’ve listed above (exposure_auto, exposure_absolute, exposure_auto_priority) are from our documentation and may differ from what your device actually exposes depending on the firmware version. Our docs are a bit out of date on this and we’re working on updating them. Let me know what v4l2-ctl -l actually shows on your system.
With a 10 Hz pulse on the F pin, I’m getting ~9.x fps which is close to 10 Hz. But here’s the thing — the S pin still generates absolutely no signal. Flatline. Without the S pin toggling, I can’t really confirm the trigger mode is actually engaged (as opposed to just the framerate coincidentally matching).
Is my mapping of the control names correct? And any idea why the S pin remains dead?
I checked with our engineering team on this and they’ve confirmed: your deductions about the control name mappings are exactly right. A recent firmware update renamed these controls and our documentation hadn’t caught up yet (they’re fixing it now thanks to your report).
Here’s the confirmed mapping:
auto_exposure=1 (Manual Mode) → was exposure_auto
exposure_time_absolute → was exposure_absolute
exposure_dynamic_framerate=1 → was exposure_auto_priority ← THIS IS THE KEY ONE for enabling external trigger
So the procedure with the new control names should be:
It sounds like you were already applying the right settings. The ~9.x fps you’re seeing at 10 Hz trigger is actually a good sign — it suggests the camera is trying to sync to the trigger pulses. But the S pin not toggling is definitely not expected.
Can you test at a few different frequencies (say 1 Hz, 10 Hz, 30 Hz) and confirm whether the S pin stays dead across all of them? That’ll help narrow things down.
The S pin is completely inactive at all three frequencies. Not a blip. Meanwhile the F pin is getting clean pulses (verified on the scope).
So the trigger input is definitely receiving signal, the controls are confirmed correct by your engineering team, but the strobe output is just dead. Starting to wonder if there’s something electrical going on — is the S pin perhaps open-drain? If it’s an open-drain output with no internal pull-up, I wouldn’t see any voltage change on my scope even if the pin is internally toggling. I’d need an external pull-up resistor to 3.3V to see anything.
Is that the case here? And is there any documentation available on the S pin’s electrical characteristics — drive strength, open-drain vs push-pull, recommended pull-up value, anything like that?
That’s a really good line of thinking and honestly it might explain what you’re seeing. I don’t have the electrical spec for the S pin immediately in front of me, but an open-drain configuration would be consistent with what you’re describing — the pin toggles internally but without a pull-up there’s nothing for your scope to measure.
Let me dig into this with the hardware team. In the meantime, if you have a resistor handy, it’s worth trying a pull-up to 3.3V. Something in the 4.7k–10k range would be a reasonable starting point — connect between the S pin and 3.3V, then scope the S pin again while triggering. If the S pin is open-drain, you should start seeing clean toggling edges at your trigger frequency.
I’ll get back to you as soon as I have the official electrical characteristics for that pin. The documentation for the strobe output behavior (open-drain vs push-pull, voltage levels, max current) isn’t in the current public docs, so I’m chasing that down internally.