Progress on manual focus?
Thank you for this wonderful project. I'm wondering if there are particular challenges with enabling manual focus. It should consist of sending a command via i2c to the proper register right? Are there registers for setting the position of the lens that are known?
Looking a little more closely at this, I see you are using the 0x3022 register to get the autofocus started, which is what the arducam ov5640 lists as the register for starting autofocus However, I found this: https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdf
And in they suggested in section 7-11 that 0x3602 is a register with default value of 0x50 that controls the VCM position. Do you think this could work to allow manual control of the vcm position?
@leoshmu As I mentioned in my channel comment, I tried to create firmware for manual focus control, but I couldn't produce the desired result. No updates have been made since then. If you modify and test my code and make a pull request, I will test it myself.
Thanks so much, I will do my best. If you wouldn't mind sharing what you tried even though it didn't work that would be much appreciated. If you don't have time I understand