Cameras for Raspberry Pi

  1. Home
  2. Docs
  3. Cameras for Raspberry Pi
  4. RPi Multi-Camera & Stereo Camera Solutions
  5. Multi-Camera Adapter Board

Multi-Camera Adapter Board

1. Introduction

This adapter board supports 5MP and 8MP since the old multi-camera adapter board doesn’t work with Raspberry Pi 8MP IMX219 pi camera due to the camera driver issue. Now Arducam team designed upgrade the multi-camera adapter board for both 5MP and 8MP pi cameras. Consider that the high speed CSI camera MIPI signal integrity is sensitive to long cable connection, the new adapter board can only connect maximum 4 cameras to a single pi board. Because it covers the most of the use cases like 360 degree view photography and surveillance, and add more cameras will degrade the performance of the cameras. Like always please note that Raspberry Pi multi camera adapter board is nascent product that may have some stability issues and limitations because of the cable’s signal integrity and RPi’s closed source video core libraries, so use it on your own risk. Release Blog: Arducam Multi camera adapter board.

2. Revisions

V2.2

The latest revision of the Arducam Multi Camera Adapter is V2.2. The V2.2 undergoes firmware updates, but the specs, documentations, and tutorials on the V2.1 will still apply to the V2.2.

3. Hardware Connection

You can see from the video.

4. Software User Guide

Installation

sudo apt-get update
sudo apt install -y python3-kms++ python3-libcamera
sudo apt install -y python3-pyqt5 python3-prctl libatlas-base-dev ffmpeg
sudo pip3 install numpy --upgrade
sudo pip3 install picamera2

Configuration

If you are running the latest version of Raspberry Pi OS. (January 28th,2022 or later releases, Debian version:11(Bullseye)). You need to update the config file and use libcamera apps.

  • For Raspberry Bullseye users running on Pi 4, please update the following:
sudo nano /boot/config.txt 
Find the line: camera_auto_detect=1, update it to:
camera_auto_detect=0
dtoverlay=imx219 #for Arducam IMX219 cameras
dtoverlay=imx477 #for Arducam IMX477 cameras
Save and reboot.
  • For Bullseye users running on Pi 0 ~ 3, please also: 
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
  • For Raspberry Pi Compute Module 3/4

The latest software only supports one camera at this time, CM4 uses CAM1 by default.

Add support for Pi4 B

o Just a quick post to let you know that you’ll need a new wiringPi for the Raspberry Pi 4B.

o upgrade:

cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

Test

  • Download the RaspberryPi library
git clone https://github.com/ArduCAM/RaspberryPi.git
cd RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_python/ 
sudo chmod +x init_camera.sh
sudo ./init_camera.sh

Running your RPiCameras with ArduCam

cd RaspberryPi/Multi_Camera_Adapter/Multi_Adapter_Board_4Channel/Multi_Camera_Adapter_V2.2_python/ 
  • For the use of remote control terminals, first specify the location of the image display
export DISPLAY=:0
python previewOpencv.py
Alt text

Troubleshoot

  • Can’t find video0
    • check if the i2c bus is normal
      • add dtparam=i2c_vc=on to /boot/config.txt,then reboot
      • run i2cdetect -y 10 to check the devive’s address.
      • if it does not detect the device’s address, please check the ribbon cable connection to ensure it is not reversed.

Was this article helpful to you? Yes 9 No 17