Manual
QUICK START GUIDE
Pivariety Low Light Camera
Module for Raspberry Pi
(SKU: B0333)
2MP IMX462
SPECS
Image Sensor 2MP IMX462
Max. Resoluon 1920H×1080V
Pixel Size 2.9um x 2.9um
Opcal Format 1/2.8”
Mount: M16
Lens Spec
Focal length: 4mm±5%
F.NO: 0.95±5%
FOV: 92.23deg (H)
Minimum Illuminaon 0.01Lux
IR Sensivity
Integral IR lter, visible light
only
Frame Rate Adjustable, 5-60fps@1080P
Sensor Output Format RAW10
ISP Output Format
Output image format of
JPG, YUV420, RAW, DNG;
output video format of
MJPEG, H.264
Interface Type 2-Lane MIPI
Board Size 38mm×38mm
• 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
./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
design and manufacturing soluon services for
customers who want their products to be unique.
• About Pivariety Camera
Arducam Pivariety is a Raspberry Pi camera solu-
on to take the advantage of using its hardware
ISP funcons. Using Arducam Pivariety camera
modules, users can get beer performance and a
wider variety of camera, lens opons. For a long
me, Raspberry Pi users are limited to use the
closed-source ocial supported camera driver and
camera modules (V1/V2/HQ).
Now Arducam made it possible to provide well-
tuned ISP for Pivariety camera modules with Auto
Exposure, Auto White Balance, Auto Gain Control,
Lens Shading Correcon, etc.This series of cameras
use the libcamera framework, they can't be sup-
ported by Raspisll, and the way to access the
camera is libcamera SDK(for C++)/libcamera-sll/
libcamera-vid/Gstreamer.
If you want to know more about other models of
Pivariety Camera, please visit: hps://
www.arducam.com/docs/cameras-for-raspberry-
pi/pivariety/
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/2mp-imx462-
pivariety-low-light-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
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/
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.
If you need our help or want to customize other models
of Pi cameras, feel free to contact us.
Email: support@arducam.com
Website: www.arducam.com
Skype: Arducam
sudo reboot
CONTACT US
terminate called aer throwing an instance of 'std : : runme_error'
what( ): failed to import fd 18
Aborted