Skip to main content

Working with Raspberry Pi

The IMX708 camera only supports the Raspberry Pi series of motherboards. When using it, select the appropriate cable connection based on the motherboard.

Hardware Connection

Raspberry Pi 4B

Connect to Raspberry Pi 4B

Raspberry Pi 5

Connect to Raspberry Pi 5

Raspberry Pi Zero 2W

Connect to Raspberry Pi Zero 2W

Software Environment Configuration and Testing

Update System

To ensure the camera works properly, please use the Bookworm version of the Raspberry Pi system and update it with the following commands:

sudo apt-get update -y
sudo apt-get upgrade -y

If using only one camera, connect it to the CAM1 port.

Configure the config.txt File

Use the nano tool to open and edit the /boot/firmware/config.txt file:

sudo nano /boot/firmware/config.txt

Find the line camera-auto-detect=1 and change it to camera_auto_detect=0

At the end of the file, add the line dtoverlay=imx708. If multiple cameras are connected, you can specify the cam0 or cam1 parameter, for example:

dtoverlay=imx708,cam0
dtoverlay=imx708,cam1

After configuration, save the file and reboot the system with sudo reboot.

Test the Camera

After configuration, reboot the system and use the command sudo rpicam-hello --list-camera to check if the camera is detected.

If a screen is connected, you can preview the camera with sudo rpicam-hello -t 0.

For more information about rpicam commands, please refer to Raspberry Pi Camera Software Documentation.