Manual

QUICK START GUIDE
Pivariety Color Global Shuer
Camera Module for Raspberry Pi
(SKU: B0348)
2MP OG02B10
SPECS
Image Sensor 2MP OG02B10
Max. Resoluon 1600Hx1300V
Pixel Size 3um x 3um
Opcal Format 1/2.9”
Lens Spec
Mount: M12
Focal length: 2.8mm±5%
F.NO: 2.8
FOV: 110deg (H)
IR Sensivity
Integral IR lter, visible light
only
Frame Rate
1600×1300@60fps;
1600×1080@80fps;
1280×720@120fps
Sensor Output Format RAW10, RAW8
ISP Output Format
The output image format of
JPG, YUV420, RAW, DNG
The output video format of
MJPEG, H.264
Interface Type 2-Lane MIPI
Adapter Board Size 40mm×40mm
Board Size 40mm×40mm
View the Status of Driver and Camera
It will display arducam-pivariety if driver installed success-
fully and rmware version if the camera can be detected.
The display should be probe failed if the camera cant be
detected, you might have to check the ribbon connecon,
then reboot the Raspberry Pi.
View the Video Node
The Pivariety camera modules are emulated as the stand-
ard video device under /dev/video* node, so you can use
the ls command for lisng the contents in the /dev folder.
Since the camera module is V4L2 compliant, you can use
the V4l2 controls to list the supported color space, resolu-
ons, and frame rates.
NOTE: Although V4L2 interface is supported, only RAW
format images can be obtained, without ISP support.
3. Official Libcamera App Installation
dmesg | grep arducam
v4l2-ctl --list-formats-ext
ls /dev/video* -l
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps
1. Cannot Allocate Memory
Edit /boot/cmdline.txt and add cma=400M at the end
More details: hps://lists.libcamera.org/pipermail/
libcamera-devel/2020-December/015838.html
2. The Image Displays Color Dots
Add code --denoise cdn_o at the end of command
More details: hps://github.com/raspberrypi/libcamera-
apps/issues/19
3. Failed to Install the Driver
Please check the kernel version, we only provide the driver
for the latest ocial kernel version image when this Pivarie-
ty camera released.
Note: If you want to compile the kernel driver by yourself,
please refer to Doc page: https://www.arducam.com/
docs/cameras-for-raspberry-pi/pivariety/how-to-install-
kernel-driver-for-pivariety-camera/
./libcamera-sll -t 5000 -o test.jpg --denoise cdn_o
[3:45:35.833744413] [6019] INFO RPI raspberrypi.cpp:611 Sensor: /
base/soc/i2c0mux/i2c@1/arducam@0c – Selected mode:
5344×4012-pRAA
[3:45:35.948442507] [6019] ERROR V4L2
v4l2_videodevice.cpp:1126 /dev/video14[17:cap]: Unable to request
4 buers: Cannot allocate memory
[3:45:35.948551358] [6019] ERROR RPI raspberrypi.cpp:808 Failed to
allocate buers
ERROR: *** failed to start camera ***
TROUBLESHOOT
INTRODUCTION
About Arducam
Arducam has been a professional designer and
manufacturer of SPI, MIPI, DVP and USB cameras
since 2012. We also oer customized turnkey de-
sign and manufacturing soluon services for cus-
tomers who want their products to be unique.
About This Pivariety Camera
Arducam Pivariety is a Raspberry Pi camera soluon
to take the advantage of using its hardware ISP
funcons. Pivariety camera modules make users get
beer performance and a wider variety of camera,
lens opons. In other words, Pivariety break-
through the limitaons of the closed-source ocial
supported camera driver and camera modules (V1/
V2/HQ).
Pivariety camera modules made it possible to be
well-tuned ISP with Auto Exposure, Auto White
Balance, Auto Gain Control, Lens Shading Correc-
on, etc. This series of cameras use the libcamera
framework, they can't be supported by Raspisll,
and the way to access the camera is libcamera SDK
(for C++)/libcamera-sll/libcamera-vid/Gstreamer.
This Pivariety OG02B10 Color Global Shuer Cam-
era is migrated Raspberry Pi Cameras, which elimi-
nate rolling shuer arfacts to shoot high-speed
moving objects in color sharp images.
1. Driver Installation
press y to reboot
NOTE: The kernel driver installaon only supported
by the latest version 5.10. For other kernel versions,
please go to our Doc page: hps://
www.arducam.com/docs/cameras-for-raspberry-pi/
pivariety/how-to-install-kernel-driver-for-pivariety-
camera/#2-how-to-build-raspberry-pi-kernel-driver-
for-arducam-pivariety-camera
You can also visit this doc page to refer to the hard-
ware connecon: hps://www.arducam.com/docs/
cameras-for-raspberry-pi/pivariety/pivariety-
og02b10-2mp-color-global-shuer-camera-module/
2. Test the Driver and Camera
Aer youve nished the hardware assembly and driver
installaon, you can test whether the camera is detected
and working.
wget -O install_pivariety_pkgs.sh hps://github.com/
ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/
download/install_script/install_pivariety_pkgs.sh
SOFTWARE
./install_pivariety_pkgs.sh -p kernel_driver
chmod +x install_pivariety_pkgs.sh
4. Capture Image and Record Video
Capture image
For example, preview for 5s and save the image named
test.jpg
Record video
For example, record a H.264 10s video with the frame size
1920W × 1080H
NOTE: H.264 format only supports 1920×1080 and below
resoluon.
Plugin gstreamer installation
Install gstreamer
Preview
libcamera-sll -t 5000 -o test.jpg
libcamera-vid -t 10000 --width 1920 --height 1080 -o
test.h264
sudo apt update
sudo apt install -y gstreamer1.0-tools
gst-launch-1.0 libcamerasrc ! 'video/x-
raw,width=1920,height=1080' ! videoconvert ! autovide-
osink
4. Failed to import fd 18
If you nd the same error, you may make the wrong
selecon about the graphics driver. Please follow Ar-
ducam Doc page to select the correct graphics driver.
5. Switch to the native camera
(raspistill etc.)
Edit the file of /boot/config.txt, make dtover-
lay=arducam change to # dtoverlay=arducam
Aer the modicaon is completed, you need to reboot
the Raspberry Pi.
NOTE: This camera module support trigger via an
external signal, please refer to the Doc page to
get the instrucon hps://www.arducam.com/
docs/cameras-for-raspberry-pi/pivariety/how-to-
access-pivariety-og02b10-2mp-color-global-
shuer-camera-using-external-trigger-snapshot-
mode/
If you need our help or want to customize other models
of Pi cameras, feel free to contact us via
support@arducam.com
sudo reboot
terminate called aer throwing an instance of 'std : : runme_error'
what( ): failed to import fd 18
Aborted

Summary of content (1 pages)