Raspberry Pi 5 and Arducams

I just tested RPI5 8GB bookworm LITE with dual arducam-64mp hawkeyes. The capture speed with max res 9152x6944 using libcamera-jpeg is ~3 seconds vs 5-7 seconds on RPI4.

  • on RPI4 it was not possible to use two cameras on one device at max res due to some IO issue couldnt make some buffer so i had to have two RPI4 one for each camera. RPI5 doesent have such issue.

the commands i had to run first:

wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh 
chmod +x install_pivariety_pkgs.sh
./install_pivariety_pkgs.sh -p libcamera_dev
./install_pivariety_pkgs.sh -p libcamera_apps
sudo apt -y update && sudo apt -y upgrade

added this to /boot/config.txt
[all]
dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=arducam-64mp

sudo reboot

just fyi for dual cam:

sudo nano /boot/config.txt
add following: 
[all]
dtoverlay=vc4-kms-v3d,cma-512
dtoverlay=arducam-64mp,cam0
dtoverlay=arducam-64mp,cam1

sudo reboot

for testing: 
libcamera-still --list-cameras 
libcamera-still --camera 0 
libcamera-still --camera 1 

for capture: 
libcamera-jpeg --camera 0 --width 9152 --height 6944 -o test0.jpg -n -t 1
libcamera-jpeg --camera 1 --width 9152 --height 6944 -o test1.jpg -n -t 1
2 Likes