ArduCAM / Arducam_tof_camera

51 stars 20 forks source link

Camera not recognized? #42

Closed p-ryals closed 1 year ago

p-ryals commented 1 year ago

I'm trying to setup the ToF camera on a Raspberry PI 4B.

I hooked it up with the ribbon cable and ensured it has a 5V power source. There are no LEDs on the camera that I can see, but I did verify 5V at the connector.

I followed the instructions to install dependencies as well as the Arducam-specific libraries, and they completed without error. In python, I can import the library. But when I try any of the example scripts (c or python), I get an error that it can't open /dev/video0. That device is indeed missing, but I have no idea why. Instead, I have video10 through video16, and video18, but according to dmesg, those are all connected to the bcm2835 module.

Any idea what I might be missing?

p-ryals commented 1 year ago

I was trying to install this on a pre-existing raspi install. I reinstalled it fresh, and it started working correctly.