Hey everyone, I’m having trouble getting zoom and focus control to work with my ArduCAM IMX477 PTZ camera on a Jetson Nano (J10). The basic camera integration went fine — I can capture images and video without any issues. But when I try to control the zoom or focus, nothing happens at all. It’s like those functions just aren’t reachable. Has anyone gotten the PTZ functionality working with this camera on a Jetson Nano? I’m wondering if there’s a separate library or driver I’m missing for the lens controls.
Hi, thanks for reaching out. What you’re describing makes sense — the IMX477 sensor driver is likely loaded correctly, which is why image capture works. But the zoom and focus on the PTZ version of this camera are handled by separate motor drivers that talk over a different interface (typically I2C). The standard IMX477 driver handles imaging only, not the lens mechanics. Can you check a couple things for me? First, are you seeing the I2C device show up when you run something like i2cdetect on the Jetson? Also, which specific library or code are you using to send the zoom/focus commands? That’ll help narrow down where the disconnect is.
Okay so I did some digging and I think I found the root cause — it’s an I2C issue. Autofocus isn’t working because the I2C bus for the lens controller isn’t being enabled properly. I’ve attached a few pictures of my current state showing the board connections and what I’m seeing in the terminal. Basically the camera sensor is detected fine, but the PTZ controller on the I2C bus doesn’t seem to enumerate at all. I’m not sure if this is a device tree thing on the Jetson Nano or if there’s something I need to enable manually. Has anyone else run into this with the IMX477 PTZ?