Need help setting up 16MP Autofocus ArduCam Quad Array with CamArray Hat

1. Where did you get the camera module(s)?
Amazon

2. Model number of the product(s)?
IMX519 Camera Module, 16MP Autofocus (4 pcs)
CamArray HAT (UC-512 REV.D1)

3. What hardware/platform were you working on?
Raspberry Pi Model 4B, 8GB RAM, Raspian Buster OS

4. Instructions you have followed. (link/manual/etc.)

No success, then:

5. Problems you were having?
Various, but all to do with not recognizing cameras/camarray

MIPI Driver installs fine, but then:
Hardware version: d03114
Camera Status: 4100

OBISP Driver installs fine, but returns:
ls: cannot access ‘/dev/video0’: No such file or directory

  1. Troubleshooting attempts you’ve made?
    Started in Bullseye, had trouble installing drivers, re-formated memory card with Buster, installed OpenCV, drivers installing fine now, however, CamArray & Cameras still not recognized

  2. What help do you need?

Please supply tutorial to set up 4 16MP autofocus ArduCams with CamArray HAT on Raspberry Pi 4 B, Buster OS

or

help troubleshooting & setting up my cameras.

Thank you,
Mark

Check this:

thank you, it works with the low speed driver

Hi,

so Im running the latest bullseye OS and have followed the instructions provideded here: Camarray - Arducam 16MP IMX519 Quad-Camera Bundle Kit - Arducam

These instructinos already iclude the low speed driver.

And the Camera is deteced, but doesn’t take any pictures. I’m getting the following error messages. can someone please help?

My System runs on a Raspberry Zero 2 W with IMX519 Camera Module, 16MP Autofocus (4 pcs)
CamArray HAT (UC-512 REV.D1)

Here are the Error messages I get:

libcamera-still -t 0 --camera 0
Preview window unavailable
[0:01:58.215284889] [1585] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:01:58.236750825] [1587] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for ‘imx519’
[0:01:58.236842128] [1587] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:01:58.237901669] [1587] ERROR CameraSensor camera_sensor.cpp:591 ‘imx519 10-001a’: Camera sensor does not support test pattern modes.
[0:01:58.289258413] [1587] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:01:58.290275819] [1587] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:01:58.290920304] [1587] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media1
[0:01:58.292076201] [1585] INFO Camera camera.cpp:1029 configuring streams: (0) 2328x1748-YUV420
[0:01:58.292870844] [1587] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
^C
pi@raspberrypi:~ $ libcamera-still -t 0
Preview window unavailable
[0:02:32.105812634] [1714] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:02:32.126958461] [1716] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for ‘imx519’
[0:02:32.127049972] [1716] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:02:32.128106904] [1716] ERROR CameraSensor camera_sensor.cpp:591 ‘imx519 10-001a’: Camera sensor does not support test pattern modes.
[0:02:32.179476724] [1716] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:02:32.180502041] [1716] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:02:32.181163346] [1716] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media1
[0:02:32.182263351] [1714] INFO Camera camera.cpp:1029 configuring streams: (0) 2328x1748-YUV420
[0:02:32.183083876] [1716] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
^C
pi@raspberrypi:~ $ libcamera-still -t 0 -n
[0:02:41.935603800] [1766] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:02:41.956968883] [1768] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for ‘imx519’
[0:02:41.957061071] [1768] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:02:41.958293784] [1768] ERROR CameraSensor camera_sensor.cpp:591 ‘imx519 10-001a’: Camera sensor does not support test pattern modes.
[0:02:42.010647531] [1768] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:02:42.011760347] [1768] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:02:42.012536340] [1768] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media1
[0:02:42.013640667] [1766] INFO Camera camera.cpp:1029 configuring streams: (0) 2328x1748-YUV420
[0:02:42.015177184] [1768] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
[0:06:58.256619873] [1768] WARN V4L2 v4l2_videodevice.cpp:1952 /dev/video0[14:cap]: Dequeue timer of 255920000.00us has expired!
[0:06:58.256861644] [1768] ERROR RPI raspberrypi.cpp:1877 Unicam has timed out!
[0:06:58.256946123] [1768] ERROR RPI raspberrypi.cpp:1878 Please check that your camera sensor connector is attached securely.
[0:06:58.257031748] [1768] ERROR RPI raspberrypi.cpp:1879 Alternatively, try another cable and/or sensor.

hi, @ciriguaya

Can you provide a physical picture of the camera connection.

Also, are you connecting to the raspberry pi remotely via ssh?

hi @yang

Yes I am connected to the raspberry pi zero via ssh.

I’ve attached a picture of how the camarray HAT is wired up. I needed to use this extender/ adapter as I could not find any cable that connects between the 22pin to 22pin ribbon cable. Could that be the issue?

This is the adapter I used: RPI CAM 15-15: Raspberry Pi - Camera cable connector, 15-pin to 15-pin at reichelt elektronik

Hi, @ciriguaya

To connect to the Raspberry Pi remotely using ssh, before executing the display image program, you need to execute the following commands:

export DISPLAY=:0

However, not necessarily effective. We recommend working directly on the Raspberry Pi.

Hello Yang,

thanks for your replay. Unfortunately I was out of town and couldn’t work on the project. So the problem still persists but this topic got marked as solved which is not true.

I’ve tried out your suggestion to use: export DISPLAY=:0

But unfortunately this didn’t change anything.

Any more leads to what could be going wrong?

thank you.

Ive attached my Log from the command Promt:
pi@raspberrypi:~ $ export DISPLAY=:0; libcamera-still --list-cameras
[0:10:09.122120184] [3236] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:10:09.143331245] [3237] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for ‘imx519’
[0:10:09.143482025] [3237] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:10:09.144655347] [3237] ERROR CameraSensor camera_sensor.cpp:591 ‘imx519 10-001a’: Camera sensor does not support test pattern modes.
[0:10:09.196547592] [3237] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:10:09.197673363] [3237] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:10:09.198420231] [3237] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media0
Available cameras

0 : imx519 [4656x3496] (/base/soc/i2c0mux/i2c@1/imx519@1a)
Modes: ‘SRGGB10_CSI2P’ : 1280x720 1920x1080 2328x1748 3840x2160 4656x3496
pi@raspberrypi:~ $ export DISPLAY=:0; libcamera-still -t 0
Made X/EGL preview window
[0:10:36.180666399] [3321] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3572-e13ccdd5
[0:10:36.206208109] [3346] WARN CameraSensorProperties camera_sensor_properties.cpp:163 No static properties available for ‘imx519’
[0:10:36.206333317] [3346] WARN CameraSensorProperties camera_sensor_properties.cpp:165 Please consider updating the camera sensor properties database
[0:10:36.207953459] [3346] ERROR CameraSensor camera_sensor.cpp:591 ‘imx519 10-001a’: Camera sensor does not support test pattern modes.
[0:10:36.276782511] [3346] WARN RPI raspberrypi.cpp:1263 Mismatch between Unicam and CamHelper for embedded data usage!
[0:10:36.277761409] [3346] ERROR DelayedControls delayed_controls.cpp:87 Delay request for control id 0x009a090a but control is not exposed by device /dev/v4l-subdev0
[0:10:36.278428747] [3346] INFO RPI raspberrypi.cpp:1386 Registered camera /base/soc/i2c0mux/i2c@1/imx519@1a to Unicam device /dev/media3 and ISP device /dev/media0
[0:10:36.279572019] [3321] INFO Camera camera.cpp:1029 configuring streams: (0) 2048x1536-YUV420
[0:10:36.280408991] [3346] INFO RPI raspberrypi.cpp:764 Sensor: /base/soc/i2c0mux/i2c@1/imx519@1a - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA

Hi, @ciriguaya

You can try to operate directly on Raspberry Pi. Instead of connecting through SSH.