Only one camera works in Arducam 12MP stereo camera kit on Raspberry Pi

Hi all, I’m stuck getting my stereo camera pair to work — only one of the two cameras seems to be working at all. I need both of them for stereo imaging.

My setup is a Raspberry Pi with the Arducam 12MP 2 synchronized stereo camera bundle kit: two 12.3MP IMX477 camera modules with CS lens and the Arducam Camarray stereo camera HAT (Arducam 12MP*2 Synchronized Stereo Camera Bundle Kit for Raspberry Pi, Two 12.3MP IMX477 Camera Modules with CS Lens and Arducam Camarray Stereo Camera HAT).

I followed the quick start guide here: Quick Start Guide for Arducam CamArray HAT Kit - Arducam Wiki — but the guide says the latest software only supports one camera at a time.

I was thinking of trying a legacy version of Pi OS with the old raspi-still package. Would that work, or is there another way to get stereo images from this setup?

Thanks for the details. Before we go down the legacy OS path, can you clarify what “only one camera is working” actually looks like? For example, does one camera turn dark when you preview, or does it not appear at all?

That guide note about the latest software supporting only one camera at a time is important, but let’s pin down the exact symptom first.

To clarify: the preview window only ever shows one of the two cameras. I can’t get the other one to appear at all.

I also tried the camera switching commands from the docs. Running:
i2cset -y 0 0x24 0x24 0x00
plus a few variants of the same command doesn’t change which camera shows up. Nothing changes.

This is on I2C bus 0, device address 0x24.

That’s really weird. Could you record a short video of the behavior and share it? Seeing the preview would help explain what’s happening.

Sure, here are a couple of videos showing the issue, plus photos of my current setup:

Video 1: https://cdn.arducam.com/forum/dc7eb54cb58dfab2d0780c4812bea998/OneCamWorking.mp4
Setup image 1: https://cdn.arducam.com/forum/dc7eb54cb58dfab2d0780c4812bea998/image_2023-08-14_135335049.png

Video 2: https://cdn.arducam.com/forum/7fef207c91b298ae1f718abea9f32924/onecamworking_2.mp4
Setup image 2: https://cdn.arducam.com/forum/7fef207c91b298ae1f718abea9f32924/image_2023-08-14_140757435.png

Thanks for the videos and photos. Let’s try a swap test to isolate where the fault is: exchange the positions of the two cameras — swap which camera is plugged into which port on the HAT.

If the problem follows the camera module (the same camera stays invisible after swapping), then it’s a module fault. If the problem stays with the same connector/port on the HAT, then the HAT board is the likely culprit.

We haven’t pinned down the root cause yet, and the i2cset switching not working is unusual, so this swap test should tell us a lot. Let me know what you find.