Arducam motorized focus camera modules

StereoPi hardware discussion
Post Reply
davidheiserca
Posts: 5
Joined: Sun Sep 22, 2019 7:07 pm

Arducam motorized focus camera modules

Post by davidheiserca »

I want to integrate two Arducam motorized focus camera modules into the 3D StereoPi camera I built.

The focus is controlled using i2cset. It works fine on a Pi3 using a command like "i2cset -y 0 0x0c 12 128".

Is it possible to do this on a StereoPi?

The "i2cdetect -y 1" command indicates that there are no devices detected on i2c-1.

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: Arducam motorized focus camera modules

Post by Realizator »

Hi Davidheiserca,
I'm not familiar with right these modules. If they use a couple more cables to connect I2C to focusing motor, or they use I2C line from the camera ribbon cable? On the StereoPi you need to do a correction of the device tree (dt-blob) to do a correct assignment of the I2C you use.

For the raspivid/raspistill I2C is occupied by the VPU, so you have no direct access to it. But for the V4L you can use it.
You can also search for "arducam" on our forum, as several users already asked a similar I2C questions for the Arducam cameras.
Eugene a.k.a. Realizator

Post Reply