Jetson Nano A02 + IMX219-AF focus not working

  1. Where did you get the camera module(s)?
    Last week

  2. Model number of the product(s)?
    Arducam IMX219-AF Programmable/Auto Focus Camera Module for NVIDIA Jetson Nano B0181

  3. What hardware/platform were you working on?
    Jetson Nano A02

  4. Instructions you have followed. (link/manual/etc.)
    https://github.com/ArduCAM/MIPI_Camera/tree/master/Jetson/IMX219

  5. Problems you were having?
    I just got the new camera and the focus adjustment is not working. I tried to run
    python Autofocus.py -i 6
    python FocuserExample.py -i 6
    And I can see the video preview but the focus adjustment is not working, do you have any idea of what’s going on?

  6. The dmesg log from your hardware?

  7. Troubleshooting attempts you’ve made?

  8. What help do you need?
    I am in kind of a hurry for this to work, I payed the express delivery and a ton of taxes to get the camera fast and it’s not working properly and I have a very short deadline.

Hi @VictorSB118

After executing python FocuserExample.py -i 6,
can you try to execute i2cdetect -i -y 6 and send the result to me?

Just to confirm: Jetson Nano A02 should only have one camera interface, right?

Yes you are right, the jetson Nano A02 only has one camera interface.

I ran it and this is the output:

i2cdetect -i -y 6
Error: Unsupported option β€œ-i”!
Usage: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]
i2cdetect -F I2CBUS
i2cdetect -l
I2CBUS is an integer or an I2C bus name
If provided, FIRST and LAST limit the probing range.

I also ran "i2cdetect -y 6 " and this is the output:
Warning: Can’t use SMBus Quick Write command, will skip some addresses
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
10:
20:
30: – – – – – – – –
40:
50: – – – – – – – – – – – – – – – –
60:
70:

the other output: i2cdetect -l
i2c-3 i2c 7000c700.i2c I2C adapter
i2c-1 i2c 7000c400.i2c I2C adapter
i2c-6 i2c Tegra I2C adapter I2C adapter
i2c-4 i2c 7000d000.i2c I2C adapter
i2c-2 i2c 7000c500.i2c I2C adapter
i2c-0 i2c 7000c000.i2c I2C adapter
i2c-5 i2c 7000d100.i2c I2C adapter

Sorry, it should be i2cdetect -r -y 6

By the way, you need to keep the camera running while executing this command.

Ok, I am running the camera while executing the command.

sudo i2cdetect -y -r 6
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: UU – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: UU – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – 6a – – – – –
70: – – – – – – – –

Try to execute:
i2cset -y 6 0x0c 0x01 0x00

Then execute i2cdetect -r -y 6

Please let me know if there are any errors in executing

When I execute: i2cset -y 6 0x0c 0x01 0x00
there was no error, but also the lens didn’t move (I don’t know if it supposed to move)

i2cdetect -r -y 6
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: UU – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: UU – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – 6a – – – – –
70: – – – – – – – –

The lens should move under normal circumstances.
Can you take a picture of the front and back details of a module?
I can check if there is any obvious hardware damage.

I don’t know if all the cameras shipped are in the same kind of little boxes, but I thought the box was very tiny for camera and cable

This is the last picture, why can’t I sand a group of pictures in a single post?

Thank you for the photos, I need to confirm with the hardware engineer.

Thanks for your fast answers, I hope to hear from you some good news soon. As I said before, I am in a hurry to use the camera because of my dead line.

I just confirmed that there seems to be no obvious error, but the version in my hand is a little different from yours, and I need to do some more testing.

You can try the following two commands (while the camera is running) and they worked for me:
i2cset -y 6 0x0C 62 128
i2cset -y 6 0x0C 0 0

I just found the same version of the module as you, everything looks normal,
there is one more thing you can try, reconnect this connector:

By the way, where did you buy the module from?

If it doesn’t work anyway, you need to replace it.
Sorry about that,
Each module should be tested before leaving the factory,
and I am not sure why it is not working properly.

I just follow your suggestions and the focus still not working, is it broken? what can I do?
I bought it from UCTRONICS, how can I replace it as fast as possible?