ArduCam 64MP Autofocus camera for Raspberry Pi.

Camera sent to me for Free in exchange for a video

Official link

As an Amazon Associate I earn from qualifying purchases

Amazon US & other Countries Links
Arducam store https://amzn.to/3vZh13J
16mp Arducam camera https://amzn.to/3Fu21xG
Raspad 3 tablet case https://amzn.to/3KVZg9z
10.1” Sunfounder touchscreen https://amzn.to/3722o5I
Pi 400 4GB https://amzn.to/3NX609O
Kingston a2 64gb https://amzn.to/33HBrCD
Samsung Bar 128GB USB https://amzn.to/3lYaYHF
Elegoo FDM 3D printer https://amzn.to/3IpQS1p
Ugreen sata usb https://amzn.to/2VXBFBT
Kingdian SSD 120GB https://amzn.to/3xcDQOx
Screwdriver kit https://amzn.to/3zP8csb
Logik K400+ keyboard https://amzn.to/3BUiDN5
Argon One M.2 adapter https://amzn.to/2TGPeoh
Kingston 120GB m.2 drive https://amzn.to/3yvfAZg
Ice tower cooler https://amzn.to/3yPxGFx
Pi 4 cluster case https://amzn.to/3A5qcPP
Xbox 360 controller https://amzn.to/3z1CJDj
My capture device Avermedia GC513 https://amzn.to/3G1LPDQ

My Amazon UK store

Amazon UK Links
Arducam store on Amazon https://amzn.to/393D5kC
Raspad 3 tablet case https://amzn.to/37vJ2GH
10.1” touchscreen Sunfounder Amazon UK: https://amzn.to/36EKDcS
Pi 400 https://amzn.to/3lqnCwr
DeskPi Lite case https://amzn.to/3FLMw3C
Iitrust short usb sata https://amzn.to/3GjzGK5
Elegoo FDM 3D printer https://amzn.to/3GO9yY5
Kingston 64GB A2 https://amzn.to/2NTnkPm
Samsung 128GB Bar https://amzn.to/3pomTAH
My standing desk Flexispot https://amzn.to/3u71cED
cluster case https://amzn.to/3mDOnOh
Ice tower cooler https://amzn.to/3mG1CxJ
Mscien power adapter https://amzn.to/2Kfi6yM
Mouse https://amzn.to/3kuaYem
Official Raspberry Pi power adapter black https://amzn.to/3pHyiJj
Crucial 240GB SSD https://amzn.to/37LLc0V
YCCTEAM Xbox 360 Wireless controller https://amzn.to/38to6ya
Kingston 240GB SSD https://amzn.to/3n2yj9c
Kingston a400 M.2 120GB https://amzn.to/37MBfBY
Logitech K400+ keyboard trackpad https://amzn.to/3otsF0EOfficial
My capture device Avermedia GC513 https://amzn.to/2MnbXhW

My videos

Raspberry Pi 4 Portable Camera Vs iPhone XS

Raspad videos

Raspad 3. One Tablet, Multiple Operating systems. Windows 11, Linux, Android & ChromeOS

Pi news 33. New Twister 11 theme, Silent Raspad 3 mod.

Raspberry Pi 4 NEWS playlist

All of my Pi videos are here (500 plus)
Raspberry Pi 4 Raspbian and more
Pi 400 4GB running 64bit Raspberry Pi OS with KDE Desktop


install Arducam 64

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

./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver

sudo nano /boot/config.txt

add to config.txt


auto focus preview
libcamera-still –continue-autofocus -t 1000000

take a full quality auto focus photo without overwrite
libcamera-still –autofocus –timestamp

libcamera-still –nopreview –autofocus –timestamp

Preview camera can adjust sizes width & height change numbers
libcamera-still -t 0 –viewfinder-width 2312 –viewfinder-height 1736
setup manual focus

git clone https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver.git

cd Arducam-Pivariety-V4L2-Driver/focus

file manager navigate to /home/pi/Arducam-Pivariety-V4L2-Driver/focus
press F4

python3 FocuserExample.py -d /dev/v4l-subdev1
python3 FocuserExample.py -d /dev/v4l-subdev1 –focus-step 10

open another terminal ctrl-alt-T

libcamera-still -t 0 –viewfinder-width 2312 –viewfinder-height 1736

click on controls terminal window

press w enter s enter to zoom
move around with ijkl enter


video test

libcamera-vid -t 10000 –continue-autofocus -o pi.h264 –width 640 –height 480 –framerate 60 -n
libcamera-vid -t 10000 -o test.h264 –width 1280 –height 720

libcamera-hello –autofocus -f
libcamera-still –help
libcamera-vid –help

–codec arg (=h264) Set the codec to use, either h264, mjpeg or yuv420