Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress on manual focus? #9

Open
leoshmu opened this issue Aug 25, 2023 · 3 comments
Open

Progress on manual focus? #9

leoshmu opened this issue Aug 25, 2023 · 3 comments

Comments

@leoshmu
Copy link

leoshmu commented Aug 25, 2023

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?

@leoshmu
Copy link
Author

leoshmu commented Aug 25, 2023

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?

@0015
Copy link
Owner

0015 commented Aug 28, 2023

@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.

@leoshmu
Copy link
Author

leoshmu commented Aug 28, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants