1. Home
  2. Docs
  3. UVC Camera Module
  4. Access UVC Camera using external trigger snapshot mode
  5. OV2311 Global Shutter UVC Camera

OV2311 Global Shutter UVC Camera

The external trigger mode is to accepts the external input signal to trigger the image output. It can output an image when the rising edge of the external trigger signal coming. Therefore, it is suitable for capturing high-speed moving objects. In addition, the sensor enables the sleep state will greatly reduce the power consumption.

1. How to use UVC Camera on Windows

1.1 Supported resolutions and frame rates

MJPG1600×1200 50fps, 30fps, 15fps, 10fps
MJPG1280×960 50fps, 30fps, 15fps, 10fps, 5fps
MJPG1280×720 50fps, 30fps, 15fps, 10fps, 5fps
MJPG800×600 50fps, 30fps, 15fps, 10fps, 5fps
MJPG640×480 50fps, 30fps, 15fps, 10fps, 5fps
MJPG320×240 50fps, 30fps, 15fps, 10fps, 5fps
MJPG160×120 50fps, 30fps, 15fps, 10fps, 5fps
YUV21600×1200 5fps
YUV21280×720 5fps
YUV2800×600 5fps

1.2 Maximum frame rate of The external trigger snapshot mode

Enable manual exposure and set the shortest exposure time,

In the case of MJPG 50fps, the external trigger frame rate can reach up to 45fps;
In the case of YUV2 5fps, the external trigger frame rate can reach up to 5fps.

1.3 External trigger function instructions

Step 1 Hardware

First of all, you need to solder the F and G pins. F is connected to the external trigger signal, and G is connected to GND.

Note

It is required that the trigger signal pulse width tFSIN_High is not less than 2us, and the frequency cannot exceed the highest external trigger frame rate supported by the current frame rate.

Step 2 Enable the external trigger snapshot mode

This image has an empty alt attribute; its file name is 3d4a8018fb894dbea8303716379051933368.png

The options menu can be used to select the preview and image parameters supported by this camera.

This image has an empty alt attribute; its file name is 6b630f7fe389414489fd074271bbf9b73368.png

The low-brightness compensation option is enabled to enter the external trigger mode, and when it is disabled, the external trigger mode is exited.

1.4 Adjust exposure Manually

This image has an empty alt attribute; its file name is 1f4e7d21d9c04d01abc02facad76becf3368.png


There is a switch behind the Exposure slider in the Camera Control. Select it to start manual exposure mode.

This image has an empty alt attribute; its file name is d5b0be8809414facae84539c1c0e0d573368.png

1.5 The Strobe signal

When the image is output, a flash signal output from S can drive flash to enhance exposure. The stroboscopic signal of the sensor can set the light point or time parameter. However, it can only output a fixed strobe signal because of a fixed UVC Camera configuration.

image 19

You need to solder the S and G pins when using the Strobe signal. S outputs the strobe signal and G connects to GND.

The output voltage of the Strobe signal of OV2311UVC is 3.3V, and the effective level is high. The width of the Strobe signal corresponding to different frame rates is as follows:

50fps3.50ms
30fps5.42ms
15fps11.22ms
10fps16.05ms

2. How to use UVC Camera on Linux

2.1. How to access UVC Camera using Command Line

2.1.1 Install V4L utils packages

sudo apt-get update
sudo apt-get install v4l-utils

2.1.2 List all V4L device

v4l2-ctl --list-devices

2.1.3 List all resolutions and frame rates of different formats

v4l2-ctl --list-formats-ext -d 0
v4l2-ctl --list-formats-ext -d 0

2.1.4 List all controls and their values

v4l2-ctl -l

2.1.5 How to use the control function

  • Disable auto exposure

v4l2-ctl -c exposure_auto=1

  • Set up exposure
v4l2-ctl -c exposure_absolute=500
  • Enable the external trigger snapshot mode
v4l2-ctl -c exposure_auto_priority=1

2.2. How to access UVC Camera using Software

Please refer to the DOC.

Was this article helpful to you? Yes No