The external trigger mode is to accepts the external input signal to trigger the image output. When the rising edge of the external trigger signal coming, it can output an image. Therefore, it is very 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
- 2. How to use UVC Camera on Linux
1. How to use UVC Camera on Windows
1.1 Supported resolutions and frame rates
|MJPG||1280×[email protected], 100fps|
|MJPG||800×[email protected], 100fps|
|MJPG||640×[email protected], 100fps|
|MJPG||320×[email protected], 100fps|
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 120fps, the external trigger frame rate can reach up to 100fps;
In the case of MJPG 100fps, the external trigger frame rate can reach up to 90fps;
In the case of YUV2 10fps, the external trigger frame rate can reach up to 10fps.
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.
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
The options menu can be used to select the preview and image parameters supported by this camera.
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
There is a switch behind the exposure slider in the camera control. Enable it to enter manual exposure mode, and disable it to enter automatic exposure mode.
Enable manual exposure:
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
2.1.3 List all resolutions and frame rates of different formats
v4l2-ctl --list-formats-ext -d 0
2.1.4 List all controls and their values
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