Cameras for Raspberry Pi

  1. Home
  2. Docs
  3. Cameras for Raspberry Pi
  4. 64MP Camera Modules
  5. How To Use Arducam 64MP Camera On Rapberry Pi

How To Use Arducam 64MP Camera On Rapberry Pi


A 64-megapixel ultra-high resolution autofocus camera module exclusively built for the latest and future generations of Raspberry Pis.

By bringing a sensor inside modern-day flagship phones to Raspberry Pi. you can take DSLR like still images at the maximum resolution of 9152 x 6944. And with an autofocus lens, the ePTZ, and the upcoming continuous-autofocus features.

You now get more horsepower to build more applications, to cover more industries, to unlock more fields, at a much lower cost.

For seasoned makers, Pi Hawk-eye is designed to ensure you a smooth yograde, it is compatible with everything you already have: the v1/v2 form-factor, the MIPI CSI-2 connection, the latest libcamera software, the standard tripod mount, etc.

Even if you are using Raspberry Pi for the first time, you can follow the hands-on guide without hassle.


Arducam 64MP Autofocus Camera Module for Raspberry Pi


Sensor:Sony back-illuminated sensor 64 megapixels 0.8 µm x 0.8 µm pixel size support 2×2 binning to 1.6µm Super Pixel. 9.25 mm diagonal (Type 1/1.7″ ) 
Optical Size:Type 1/1.7”9.25mm Diagonal(7.4×5.55cm)
Shutter Type:Rolling Shutter
Focus Type:Manual/Auto
Max Sensor Resolution:9152X6944
Video Mode:(on Raspberry Pi)1080p30,720p60 and 640X480p60/90
Supported Platform:(Full Resolution-64MP)Pi 4B/CM4
Supported Platform:(Superpixel Resolution-16MP)Pi 2/3/CM3/Zero W/Zero 2W
Color Filter:Quad Bayer Coding(QBC)
Lens: Autofocus, f/1.8 EFL: 5.1 FoV: 84° 
IR cut filter: Integrated 
Tripod mount:1/4″-20 
Enclosure (optional):ABS, also compatible with camera module v1 & v2.
Ribbon Cable Length:150mm 


The arducam 64MP cameras can only get maximum resolution and video streaming on Pi4 and CM4 platforms. The resolution and video streaming of the camera will be limited on other Raspberry Pi platforms.

Hardware connection

For Pi 4

1657004731306 D77C0103 B8AC 42c6 9286 A35AD95F65E4

For Pi zero

1657004870797 460B5FB1 E8FB 499d BFD0 F58FE5117EF1

Software operation



Please make sure your Raspberry Pi OS is downloaded from official sources:
– Raspberry Pi Bullseye >

How to install the driver

You can use our auto-install script to install the driver for arducam 64MP camera:

wget -O
chmod +x
./ -p 64mp_pi_hawk_eye_kernel_driver

After installing the driver, you will see a message telling you the driver has been installed correctly.

  • Detect the driver
dmesg | grep arducam

If you can see the arducam 64mp has been found, then the driver installed successfully.

  • Detect the camera
ls /dev/video0

If you can see the /dev/video0, then the camera has been detected.

Configure the buffer

For Pi 4:

sudo nano /boot/config.txt
#find the line [pi4]
#manually add dtoverlay=vc4-kms-v3d,cma-512 under it, like this:
# Run as fast as firmware / board allows

For other Pi:

sudo nano /boot/config.txt
#find the line [all]
#manually add dtoverlay=vc4-kms-v3d,cma-512 under it, like this:
# Run as fast as firmware / board allows

How to install libcamera

You need to install our libcamera dev to use some additional functions such as autofocus, continue autofocus, and so on.

wget -O
chmod +x
./ -p libcamera_dev
./ -p libcamera_apps

Access the camera with libcamera


libcamera-still -t 0

List all cameras:

libcamera-still --list-cameras

Save a jpg file after 5s preview:

libcamera-still -t 5000 -o 64mp.jpg

Autofocus(example as 2312*1736 resolution):

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

Continue autofocus(example as 2312*1736 resolution):

libcamera-still -t 0 --viewfinder-width 2312 --viewfinder-height 1736 --continue-autofocus

Manual focus adjustment:

You need to open the camera with the command using the preview above, and then use this command.

Press the Up/Down Arrow for focus adjustment, press “ctrl + c” to save, or “r” to reset.

git clone
cd Arducam-Pivariety-V4L2-Driver/focus
python3 -d /dev/v4l-subdev1

While you are trying manual focus control, you can use –focus-step [number] to configure
how many steps the motor in the lens should move when the Up/Down key is pressed.
By default, it’s set to 50, and you can change it to any value between 1 ~ 1023.

python3 -d /dev/v4l-subdev1 --focus-step 10

For more options of using libcamera, please refer to:

libcamera User Guide

How to use Gstreamer, OpenCV to access the camera

You can refer to the following link for more options:

How to access and program the pivariety camera using command line python-opencv and gstreamer


Please refer to


If you encounter any problems, please contact [email protected] for more help.

Was this article helpful to you? Yes 1 No