Manual
QUICK START GUIDE
Pivariety Color Global Shuer
Camera Module for Raspberry Pi
(SKU: B0348)
2MP OG02B10
SPECS
Image Sensor 2MP OG02B10
Max. Resoluon 1600Hx1300V
Pixel Size 3um x 3um
Opcal Format 1/2.9”
Lens Spec
Mount: M12
Focal length: 2.8mm±5%
F.NO: 2.8
FOV: 110deg (H)
IR Sensivity
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 can’t be
detected, you might have to check the ribbon connecon,
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 lisng 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: hps://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: hps://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 ocial 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-sll -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 buers: Cannot allocate memory
[3:45:35.948551358] [6019] ERROR RPI raspberrypi.cpp:808 Failed to
allocate buers
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 oer customized turnkey de-
sign and manufacturing soluon services for cus-
tomers who want their products to be unique.
• About This Pivariety Camera
Arducam Pivariety is a Raspberry Pi camera soluon
to take the advantage of using its hardware ISP
funcons. Pivariety camera modules make users get
beer performance and a wider variety of camera,
lens opons. In other words, Pivariety break-
through the limitaons of the closed-source ocial
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 Raspisll,
and the way to access the camera is libcamera SDK
(for C++)/libcamera-sll/libcamera-vid/Gstreamer.
This Pivariety OG02B10 Color Global Shuer Cam-
era is migrated Raspberry Pi Cameras, which elimi-
nate rolling shuer arfacts to shoot high-speed
moving objects in color sharp images.
1. Driver Installation
press y to reboot
NOTE: The kernel driver installaon only supported
by the latest version 5.10. For other kernel versions,
please go to our Doc page: hps://
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 connecon: hps://www.arducam.com/docs/
cameras-for-raspberry-pi/pivariety/pivariety-
og02b10-2mp-color-global-shuer-camera-module/
2. Test the Driver and Camera
Aer you’ve nished the hardware assembly and driver
installaon, you can test whether the camera is detected
and working.
wget -O install_pivariety_pkgs.sh hps://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
resoluon.
• Plugin gstreamer installation
Install gstreamer
Preview
libcamera-sll -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
selecon 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
Aer the modicaon 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 instrucon hps://www.arducam.com/
docs/cameras-for-raspberry-pi/pivariety/how-to-
access-pivariety-og02b10-2mp-color-global-
shuer-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 aer throwing an instance of 'std : : runme_error'
what( ): failed to import fd 18
Aborted