Pivariety OG02B10 Global Shutter Camera having an external trigger function, which is used to capture the image and helps in synchronized streaming by connecting two or multiple cameras. In production applications (such as assembly line production), the external trigger mode can easily synchronize the camera with other devices. In addition, the sensor (OG02B10) enables the sleep state will greatly reduce the power consumption.
First of all, You need to solder the headers on the FSIN and GND pins, FSIN is connected to the external trigger signal, and GND is connected to the ground.
It is required that the voltage of the trigger signal is 1.8V, you need to convert the 3.3V or 5V to 1.8V. 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.
2.1 Enable the camera
libcamera-still -t 0
2.2 Enable the external trigger snapshot mode
v4l2-ctl -c trigger_mode=1
2.3 Input the external trigger signal at FSIN pin and capture the image
Capture images of a running fan.
The external trigger mode of the Pivariety OG02B10 Camera Module default setting is auto exposure, you can adjust the exposure time to capture a good image. Refer to the command to adjust the exposure time:
libcamera-still -t 0 --shutter 100
2.4 Disable the external trigger signal snapshot mode
v4l2-ctl -c trigger_mode=0
2.5 Strobe signal
When the image is output, a strobe signal output from STROBE can drive flash to enhance exposure. The strobe signal of the sensor can set the Parameters of starting point, length, or polarity. However, it can only output a fixed strobe signal because of a fixed UVC Camera configuration. The output voltage of the signal is 1.8V and the width is 2.45ms.
You need to solder the headers on the STROBE and GND pins when using the strobe signal. STROBE outputs the strobe signal and GND is connected to the ground.