Skip to content

Quick start

Hardware


Connect to the adapter board


cable

Note

Please be sure to insert the flexible flat cable as shown in the figure.

Connect to the Raspberry Pi


connect camera1

Software


Find your corresponding camera in the following two links, and then execute the following command

  • Native camera


Product Image SKU Pin/Connect type Features Lens Type Field of View(HxV) Focus Type IR Sensitivity
B0423 22/TOP Ultra Low Light M12 80°(H) x 45°(V) Manual Focus Motorized IR-cut Filter
B0424 22/TOP Ultra Low Light M12 80°(H) x 45°(V) Manual Focus Motorized IR-cut Filter
B0425 22/TOP Ultra Low Light M12 80°(H) x 45°(V) Manual Focus Motorized IR-cut Filter

Note

The below cameras are all native to Raspberry Pi, so you just need to update the config file. Before you start using the camera, please make sure that you are running the latest version of Raspberry Pi OS. (January 28th, 2022 or later releases, Debian version: 11 (Bullseye) or Bookworm OS). You need to update the config file and use libcamera apps.

IMX462 Native Camera

  • For Raspberry Pi Bookworm users running on Pi 5, please do the following:
sudo nano /boot/firmware/config.txt 
# Find the line: [all], add the following item under it:
dtoverlay=imx462
# Save and reboot.

If you want to enable the camera on the cam0 port of Pi5, please refer to the following modifications:

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx462,cam0
#Save and reboot.
  • For Raspberry Pi Bookworm/Bullseye users running on Pi 4, please do the following:

Bookworm OS on Pi4

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx462
#Save and reboot.

Bullseye OS on Pi4 (Bullseye 6.1.21 and later versions)

sudo nano /boot/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx462
#Save and reboot.
  • For Raspberry Pi Bookworm/Bullseye users running on Pi 0 ~ Pi 3, please execute:

Bookworm OS on Pi0 ~ Pi3

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx462
#Save and reboot.

Bullseye OS on Pi0 ~ Pi3 (Bullseye 6.1.21 and later versions)

sudo nano /boot/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx462
#Save and reboot.
Open a terminal 
Run sudo raspi-config
Navigate to Advanced Options 
Enable Glamor graphic acceleration 
Reboot your Pi

If you encounter the display issues, please also execute the following steps:

Open a terminal
Run sudo raspi-config
Navigate to Advanced Options
Navigate to GL Driver
Select GL (Full KMS)
Reboot your Pi


IMX290 Native Camera

  • For Raspberry Pi Bookworm users running on Pi 5, please do the following:
sudo nano /boot/firmware/config.txt 
# Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
# Save and reboot.

If you want to enable the camera on the cam0 port of Pi5, please refer to the following modifications:

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000,cam0
#Save and reboot.
  • For Raspberry Pi Bookworm/Bullseye users running on Pi 4, please do the following:

Bookworm OS on Pi4

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.

Bullseye OS on Pi4 (Bullseye 6.1.21 and later versions)

sudo nano /boot/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.
  • For Raspberry Pi Bookworm/Bullseye users running on Pi 0 ~ Pi 3, please execute:

Bookworm OS on Pi0 ~ Pi3

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.

Bullseye OS on Pi0 ~ Pi3 (Bullseye 6.1.21 and later versions)

sudo nano /boot/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.
Open a terminal 
Run sudo raspi-config
Navigate to Advanced Options 
Enable Glamor graphic acceleration 
Reboot your Pi

If you encounter the display issues, please also execute the following steps:

Open a terminal
Run sudo raspi-config
Navigate to Advanced Options
Navigate to GL Driver
Select GL (Full KMS)
Reboot your Pi


IMX327 Native Camera

Note

There is no supported json file of imx327 camera in libcamera. The driver of imx290 camera is also suitable for imx327 camera, with libcamera supported.

  • For Raspberry Pi Bookworm users running on Pi 5, please do the following:
sudo nano /boot/firmware/config.txt 
# Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
# Save and reboot.

If you want to enable the camera on the cam0 port of Pi5, please refer to the following modifications:

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000,cam0
#Save and reboot.
  • For Raspberry Pi Bookworm/Bullseye users running on Pi 4, please do the following:

Bookworm OS on Pi4

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.

Bullseye OS on Pi4 (Bullseye 6.1.21 and later versions)

sudo nano /boot/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.
  • For Raspberry Pi Bookworm/Bullseye users running on Pi 0 ~ Pi 3, please execute:

Bookworm OS on Pi0 ~ Pi3

sudo nano /boot/firmware/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.

Bullseye OS on Pi0 ~ Pi3 (Bullseye 6.1.21 and later versions)

sudo nano /boot/config.txt 
#Find the line: [all], add the following item under it:
dtoverlay=imx290,clock-frequency=37125000
#Save and reboot.
Open a terminal 
Run sudo raspi-config
Navigate to Advanced Options 
Enable Glamor graphic acceleration 
Reboot your Pi

If you encounter the display issues, please also execute the following steps:

Open a terminal
Run sudo raspi-config
Navigate to Advanced Options
Navigate to GL Driver
Select GL (Full KMS)
Reboot your Pi


Access the camera

Preview:

libcamera-still -t 0
List all cameras:

libcamera-still --list-cameras

Save a jpg file after 5s preview:

libcamera-still -t 5000 -o test.jpg

For more libcamera options, please refer to the following link:

What is libcamera?

  • Pivariety Camera


Product Image SKU Pin/Connect type Features Lens Type Field of View(HxV) Focus Type IR Sensitivity
B0333 22/TOP Ultra Low Light M16 92°(H) x 51.7°(V) Manual Focus without IR cut Filter
B0444 22/TOP Wide Angle Ultra Low Light M12 141.4°(H) x 81.7°(V) Manual Focus Integrated IR-cut Filter

Please refer to the following link to access the camera:

Quick Start Guide - Arducam Pivariety Camera


How to set long exposure on low-light camera