What is an autofocus lens
If a lens assembly includes a motor to move the lens closer to or further from the image sensor, and the mechanical components make the camera module smarter and more flexible. Sometimes this kind of lens is also referred to as a motorized focus lens.
With a motor inside, you don’t need to manually focus the camera by screwing the lens with your hand. Instead, you can remotely control the focus, or automate the focusing process with the help of software.
The Autofocus lens from Arducam is using I2C for motor control, also referred to as I2C autofocus.
Do we need the jumpers for autofocus?
The earliest version of the Arducam autofocus camera uses the I2C of the Raspberry Pi GPIO pins, so two extra jumpers are required. However, in the later revisions, we’ve managed to control the motor with the I2C of the camera signal, so from then on, only a single camera ribbon cable is needed. You can refer to our Raspberry Pi camera pinout page to know about which camera pins are used for I2C.
Autofocus on Raspberry Pi
To learn more about autofocus with Raspberry Pi camera modules, we recommend you read Raspberry Pi Camera Autofocus: The Complete Guide.
How to use an autofocus lens
You can refer to our GitHub page to know more about what is needed to use an autofocus lens on embedded systems like a Raspberry Pi Camera.
However, Just like the stock lens, an autofocus lens is not interchangeable or sold alone. You have to remove the whole lens-sensor combination to alter the focal length or IR sensitivity.
What autofocus lens does Arducam offer
Since the autofocus lens is not sold alone, Arducam sells camera modules that come with an autofocus lens. You can get a complete 5MP autofocus camera module or an 8MP IMX219 autofocus drop-in replacements.