How to use arducam_64mp & arducam_64mp FAQ

Question 2 How to switch cameras with a 64MP QuadCamera?


# Set to single channel 0
i2cset -y 10 0x24 0x24 0x02
# Set to single channel 1
i2cset -y 10 0x24 0x24 0x12
# Set to single channel 2
i2cset -y 10 0x24 0x24 0x22
# Set to single channel 3
i2cset -y 10 0x24 0x24 0x32
# Set to double channel (single channel 0 and single channel 1)
i2cset -y 10 0x24 0x24 0x01
# Set to double channel (single channel 2 and single channel 3)
i2cset -y 10 0x24 0x24 0x11
# Set to four in one mode (Default)
i2cset -y 10 0x24 0x24 0x00

Question 3 How to check camera supported resolutions?

First method

libcamera-still --list-camera

Second method

Modify the config.txt file

sudo vi /boot/config.txt

Add ,media-controller=0 at the end as shown
After restarting, use the following command to view the resolution

v4l2-ctl --list-formats-ext


Question 4 64mp camera on octoprint?

We provide image files

Question 5 Can the buster use a 64MP camera?

We have no plans to support 64MP cameras on buster for now.

### Question 6 How to implement autofocus with libcamera_python on 64MP?(already fixed)
Ourl ibcamera_python library is not yet compatible with libcamera_dev 0.0.7,we will expedite the process of compatibility,you can try to install an stablize version of libcamera_dev.


cd ~
sudo apt install -y ./libcamera-dev-0.0.6-bullseye-armhf.deb


cd ~
sudo apt install -y ./libcamera-apps-0.0.6-bullseye-arm64.deb

To use libcamera_python in detail, you should follow the link below:
How to use code to access libcamera(C++/Python)

Question 7 How to troubleshoot if the camera preview is completely black?

Follow my steps below to troubleshoot. If it’s not resolved, you can open a topic and ask me.

  1. Check your frame rate, if it is 0
  2. Is the green light always on when you run the camera?
  3. Change the cable from the raspberry pi interface to the mipi tx.

If the preview is still pure black after the replacement, please tell me the results of the above 3 steps.

Question 8 Why can’t the pi4 still save the maximum resolution after allocating 512 memory?

one of the possibilities:

If you have other cases of the same problem and solved it, please open a topic and tell me your experience.

Question 9 Can we extend the ribbon cable for the 64mp arducam 64mp or is there a limit?

Since the signal transmission speed is very fast, the signal will be attenuated during the transmission process. If the cable is too long, the final effect will be bad.

We recommend using cables within 15 cm.

Question 10 Pics speed?

The four camera clocks are fully synchronized.

Question11 Failed to allocate buffers on PiZero?

Question 12 64MP with RPI 4b, Rev 1.4, failed to allocate capture buffers

For 64MP cameras, there may be memory issues with the maximum resolution. We can’t reproduce it for now, but there are still some suggestions to help you with a simple troubleshooting:

  1. cat /proc/meminfo CmaTotal should be around 500000kB
  2. Try the command several times, because sometimes it doesn’t work well
  3. Reduce the resolution to ensure that the camera is OK

If you still have problems, send me the following information

cat /proc/cpuinfo
cat /etc/os-release
cat /boot/config.txt

There are also pictures of the commands you executed and the hardware connections, so that we can better help you.
If you ever had a similar problem and found a solution, please also @me share it, it will help more people.

Some solutions, hope to help you:

Question 13 64MP autofocus not available

Question 14 Time to fetch data at maximum resolution

One frame takes 0.7 seconds


Question 15 Max resolution problem

Some discussion: