-
Notifications
You must be signed in to change notification settings - Fork 10
WIP enabling autofocus #2
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
Conversation
oh you have to solder the jumper closed below the camera, that will power the motor |
after doing that it does seem to focus! however, putting it on the "SEL" button is probably not ideal. I will look into what you were suggesting about short/long shutter presses. |
thank you! <3 |
show & return the focus zones. In my testing, the focus zone was either all zeros, or the last zone. I think this is because "default zone mode" uses a single zone at the center of the sensor.
Now you can enter the LED setting modes with the left/right buttons, and cycle through some modes with up/down:
"white" uses the W LED element, not the RGB elements. |
short+long: focus, then capture long: focus only short: capture only sel is now free for another use, such as adjusting LEDs
Now the shutter button does focus + capture:
|
@ladyada wanna test or should I just jab the merge button? |
jabbed! and will test |
I can see the autofocus state machine go through several states when I request autofocus but it doesn't seem to actually change the focus (nothing on the viewfinder gets any sharper, and there's not the slight change in FOV I associate with a focus change)
typical output .. at the top the SEL button has been pressed to begin autofocus. Status goes through 0x70 (idle), 0x00 (focusing) and 0x10 (focused). It also goes to an undocumented state (0x20) and then loops back 00 -> 10 -> 20 without additional presses of SEL, once every few seconds after the first press of the autofocus button.
ping @ladyada