Hi everyone, I’m stuck trying to get my Arducam TOF camera working on a Raspberry Pi 3B. Running preview_depth.py keeps failing with:
Failed to open camera. Error code: TOFErrorCode.ArducamSystemError
I’ve followed all the installation instructions with no errors and went through the troubleshooting section. The camera is seated in the CSI port and appears to be powered correctly. One odd thing I noticed: ls /dev/video* only shows video10 and up, no video0 at all.
Thanks for the details. Could you send a couple of pictures of the physical setup — one at the Raspberry Pi end and one at the camera end? That will help me check the seating and connection. I’d also like a diagnostic report to dig into this further. After a reboot, please run:
Quick update: I set up a clean install of the latest bookworm on a Raspberry Pi 4 instead of the 3B, just to rule out anything specific to that board. Same result though — preview_depth.py still can’t open the camera. I’ve attached the bug report file and a photo of the setup.
Thanks, I’ve gone through the report and the photo. Could you post a picture of the cable connection on the back of the camera board specifically? Also, if you have another 15-15 pin white cable available, it would be worth swapping it in to test. I’m starting to suspect the cable itself — a poor or slightly off connection there would match the symptoms you’re seeing.
That was it. The original cable was the one that came folded up in the Arducam box. I swapped it out and now preview_depth.py runs without any issues — the camera opens and I’m getting a depth preview. Thanks for pointing me toward the cable!
Great to hear it’s working now. So the conclusion is that the 15-15 pin cable was the culprit — either a poor connection or the cable itself was damaged from being folded in the box. If you ever see that ‘Failed to open camera’ / ArducamSystemError again, the cable connection on the back of the camera board is the first thing I’d check.