Skip to content

Quick Start Guide for Multi-Camera Adapter Board

Hardware


Abstract

Arducam offers multi-camera adapters to accommodate up to 4 camera modules on a single Raspberry Pi and switch between them quickly. The HAT-style quadruple adapter fits well with the Raspberry Pi A&B series, and the double adapter is perfect for the Pi Zero. You will read more about it in the following chapters.

  • Hardware Structure(Example as B012201)
  • Connect and Insert the Multi-Camera Adapter Board into Raspberry Pi
  • Connect the cameras to Multi-Camera Adapter Board

Software


Warning

We currently only guarantee that the Camera Adaptation is supported on Raspberry Pi Bullseye systems

Update Kernel Version

Note: Please make sure your kernel version is up to date (at least 5.15.63 or later)

m1

How to update the Kernel bersion:

sudo apt-get update
sudo apt-get upgrade

Download the Camera Driver

The following cameras will need the corresponding driver to be accessed:

Sensor Resolution
IMX519 16MP
64MP Camera 64MP

Please refer to the following link to install the camera driver:

Install the Camera driver for IMX519 Camera and Arducam 64MP Camera

Modify the Config.txt

For Quad-Camera Adapter Board(B012001):

sudo nano /boot/config.txt
add: 
dtoverlay=camera-mux-4port,cam0-<you camera sensor>,cam1-<you camera sensor>,cam2-<you camera sensor>,cam3-<you camera sensor>

Note

Please manually add the number of cam according to the number of cameras you have connected. Example: if you have three IMX219 cameras connected, enter:
dtoverlay=camera-mux-4port,cam0-imx219,cam1-imx219,cam2-imx219

Demo(64mp)

m2

dmesg

m3


For Dual-Camera Adapter Board(B016601):

sudo nano /boot/config.txt
add: 
dtoverlay=camera-mux-2port,cam0-<you camera sensor>,cam1-<you camera sensor>

Note

Please manually add the number of cam according to the number of cameras you have connected. Example: if you only have one IMX219 cameras connected, enter:
dtoverlay=camera-mux-2port,cam0-imx219

Run the Multi-Camera

Use libcamera apps to access the Multi-Camera

libcamera-still -t 0 --camera <choose camera num>

Example:

m6

Attention

For another libcamera apps like libcamera-raw, libcamera-vide, etc. You will need to manually add --camera <choose camera num> behind the command