Skip to content

Quick Start

Connect your Arducam low-light camera to a Raspberry Pi, select its configuration, and capture your first image. This guide covers the native IMX290, IMX327, and IMX462 modules and the IMX462 Pivariety modules listed below.

Find your camera

Use the SKU on your camera or order to select the setup method.

SKU Sensor Setup method
B0423 IMX462 Native camera
B0424 IMX290 Native camera
B0647 IMX290 Native camera · IR-cut control
B0425 IMX327 Native camera
B0333 IMX462 Pivariety
B0444 IMX462 Pivariety

B0423 and the two Pivariety models use different camera configurations even though all three use an IMX462 sensor.

Connector, lens, and IR-cut specifications

The B0647 has a fixed-focus lens and an IR-cut filter controlled by its onboard switch or GPIO. The other models have manually focused lenses. B0423, B0424, and B0425 have motorized IR-cut filters.

The connector contact position refers to the camera end of the cable. Match both ends of the supplied cable to the camera, adapter, and Raspberry Pi.

SKU Camera connector Focus Field of view IR-cut filter
B0423 22-pin, top contact Manual 80° H × 45° V Motorized
B0424 22-pin, top contact Manual 80° H × 45° V Motorized
B0647 15-pin, bottom contact Fixed 102° D × 86° H × 46° V Switch / GPIO
B0425 22-pin, top contact Manual 80° H × 45° V Motorized
B0333 22-pin, top contact Manual 92° H × 51.7° V None
B0444 22-pin, top contact Manual 141.4° H × 81.7° V Integrated

B0333 uses an M16 lens mount. The other listed cameras use M12 mounts.

Before you begin

  • Use Raspberry Pi OS with camera software that supports your module. The main instructions use rpicam-apps on Bookworm or Trixie.
  • Have the camera's matching CSI cable and any adapter supplied with the kit ready.
  • Start with one connected camera and a lit scene so you can verify the connection before testing low-light performance.

1. Connect the camera

Shut down the Raspberry Pi and disconnect power before inserting or removing a CSI cable.

  1. If your kit has a camera adapter board, connect the camera to that board using the matching ribbon cable.
  2. Open the connector latch gently. Insert the cable straight and fully, with its exposed contacts facing the connector contacts, then close the latch.
  3. Connect the camera or adapter to the Raspberry Pi's CSI camera connector. For Pi 5 / CM5, use the cable appropriate to the 22-pin connector. For other Compute Module carrier boards, follow the carrier's pinout.
  4. Check both ends before reconnecting power.

You can find more details on connecting a camera in the Camera Hardware Connection Guide.

2. Configure the camera

Open the boot configuration

Open the boot configuration on Bookworm or Trixie:

sudo nano /boot/firmware/config.txt

Select your camera and port

Select your SKU below, then choose the connector you used. Standard / CAM1 covers the standard connector on Pi Zero to Pi 4 and CAM1 on dual-port boards. Choose CAM0 when connected to CAM0 on Pi 5 or a compatible Compute Module carrier.

Copy the displayed configuration into the active [all] section. Update any existing entry for that camera so there is one active camera overlay per port.

IMX462Native camera

[all]
camera_auto_detect=0
dtoverlay=imx462
[all]
camera_auto_detect=0
dtoverlay=imx462,cam0

IMX290Native camera

[all]
camera_auto_detect=0
dtoverlay=imx290
[all]
camera_auto_detect=0
dtoverlay=imx290,cam0

IMX327Native camera37.125 MHz clock

[all]
camera_auto_detect=0
dtoverlay=imx290,clock-frequency=37125000
[all]
camera_auto_detect=0
dtoverlay=imx290,clock-frequency=37125000,cam0

IMX462Pivariety camera

Complete the driver and camera software setup in the Pivariety Quick Start Guide for your Raspberry Pi and OS, then use the matching port configuration below.

[all]
camera_auto_detect=0
dtoverlay=arducam-pivariety
[all]
camera_auto_detect=0
dtoverlay=arducam-pivariety,cam0

Apply the configuration

Save the file, close the editor, and reboot:

sudo reboot

3. Check detection and capture an image

List cameras

rpicam-still --list-cameras

The output should list the connected camera and its available sensor modes. Resolve detection errors before starting a capture.

Start a preview

rpicam-still -t 0

A live preview should appear and continue until you press Ctrl+C. Adjust the lens on manual-focus models if needed.

Save an image

Close the running preview, then capture a JPEG after five seconds:

rpicam-still -t 5000 -o test.jpg

Check test.jpg in the current directory. If you have several cameras connected, select the intended camera with --camera N, using the index from --list-cameras.

Troubleshooting

Symptom Check and action
No cameras are listed Power off and check both ends of the CSI cable. Verify the SKU, selected overlay, and that you rebooted after editing the configuration.
An IMX462 camera is not detected Check the exact SKU. B0423 uses the native imx462 overlay; B0333 and B0444 use the Pivariety setup.
A camera connected to CAM0 is missing Use the matching overlay with ,cam0 on supported boards. Check the carrier's connector labels and reboot.
B0425 does not start Check for dtoverlay=imx290,clock-frequency=37125000 and the correct port selection.
The camera is listed, but preview fails Close other camera apps and copy the complete error. To check capture without a display, try rpicam-still -n -t 5000 -o test.jpg.
B0444 reports an invalid resolution or cannot configure a stream Follow the B0444 troubleshooting guide, which includes firmware-related detection and stream-configuration issues.
The image is dark or blurred Verify the image in a lit scene first. Adjust focus on manual-focus models, then check illumination, exposure, gain, and the model's IR-cut filter setting. For B0647, see IR-cut control.
Bullseye configuration and command names

On Bullseye, edit /boot/config.txt using the same overlay for your SKU, then reboot.

sudo nano /boot/config.txt

Use the libcamera-still command supplied with that system:

libcamera-still --list-cameras
libcamera-still -t 0

Close the preview before taking a still image:

libcamera-still -t 5000 -o test.jpg

For the native IMX462/IMX327 configurations, use a supported Bullseye kernel of 6.1.21 or later. If preview rendering fails on a Pi Zero to Pi 3 setup, check the system's graphics configuration in raspi-config after confirming camera detection.

For support, include the SKU, Raspberry Pi and carrier model, cable connections, active camera overlay, and complete error output. Collect the system and camera information:

cat /etc/os-release
uname -r
rpicam-still --version
rpicam-still --list-cameras

Appendix: B0647 IR-cut control

Use GPIO17 to switch the B0647 IR-cut filter. ON blocks infrared light; OFF allows it to reach the sensor.

This method works with Raspberry Pi Zero-series boards, Raspberry Pi 1–5, and Compute Module 4/5. Raspberry Pi OS Bookworm or Trixie is recommended.

Connect GPIO17

  1. Shut down the Raspberry Pi and disconnect power.
  2. Move the DIP switch to the upper OFF position to enable GPIO control. Leave it there while using the script.
  3. Keep the camera connected through its CSI ribbon cable. Connect BCM GPIO17 (physical pin 11) to the camera pad labelled GPIO, then check the wiring before restoring power.

Raspberry Pi 4 GPIO17 connected to the B0647 GPIO signal pad

Pi 4 wiring example. The blue lead is the GPIO control signal. The CSI ribbon cable is required but is not shown.

With GPIO control enabled, GPIO17 switches the filter as follows:

GPIO17 output IR-cut filter
HIGH ON
LOW OFF

Install and run

sudo apt update
sudo apt install -y python3-lgpio

Download ircut_control.py to your home directory, then run:

cd ~
python3 ircut_control.py

The interactive session starts with OFF / LOW. Enter commands at the prompt:

IR-cut > on
  ● IR-cut ON
    GPIO17: HIGH

IR-cut > off
  ● IR-cut OFF
    GPIO17: LOW

Use toggle to switch between ON and OFF, status to display the requested state, or quit to exit. The green or grey dot shows the requested ON or OFF state. Keep a camera preview open in another terminal to confirm switching.

Keep the script running

The script holds the selected output while running. When you quit or press Ctrl+C, it requests LOW/OFF, then releases the GPIO. The output level after release is not guaranteed.

Command-line examples

Run one command at a time. The first two hold their state until Ctrl+C:

python3 ircut_control.py --state on
python3 ircut_control.py --state off

Hold ON for 10 seconds, then request OFF, release the GPIO, and exit:

python3 ircut_control.py --state on --duration 10
GPIO troubleshooting
  • No switching: power off and check physical pin 11, the camera's GPIO pad, and that the DIP switch is in the upper OFF position for GPIO control.
  • Missing lgpio: install python3-lgpio and use /usr/bin/python3.
  • Permission denied: check your gpio group membership and GPIO device permissions. Log out and back in after changing group membership.
  • GPIO busy: stop another control session or application using GPIO17.

Inspect controllers without changing an output:

python3 ircut_control.py --list-chips

The script selects the header controller automatically and treats compatible [ALIAS] entries as the same device. If manual selection is needed, replace N with the index of the intended HEADER CONTROLLER:

python3 ircut_control.py --chip N