-
Where did you get the camera module(s)?
UCtronics.com -
Model number of the product(s)?
Arducam IMX219-AF Programmable/Auto Focus Camera Module for NVIDIA Jetson Nano -
What hardware/platform were you working on?
Jetson Nano -
Instructions you have followed. (link/manual/etc.)
Successfully ran Autofocus.py at ArduCAM repo -
Problems you were having?
I found a good focus value using this python program. I noted that the i2cset command to get this focus wasi2cset -y 6 0x0c 21 224
, however when running this i2cset command from my c++ program, I noticed the focus actually got worse. -
The dmesg log from your hardware?
NA -
Troubleshooting attempts you’ve made?
Modified my program to set the focus in different ways -
What help do you need?
Why does the focus end up worse when I run the same focus command?
Also, what should the ideal focus value be for a target 6.5 inches away? It seems the python program is using values from 10 to 1000. What do these correspond to in real world distances?
Thanks!