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

Manual exposure not working + gain oddities #12

Open
tbbuck opened this issue May 10, 2023 · 0 comments
Open

Manual exposure not working + gain oddities #12

tbbuck opened this issue May 10, 2023 · 0 comments

Comments

@tbbuck
Copy link

tbbuck commented May 10, 2023

I'm using the 3MP model on a Raspberry Pi Pico with the full_featured example. Setting manual exposure via the Ardulink app does not change the output image at all, and the image data is returned instantly. Changing the manual gain, values seem very on/off, with huge jumps in sensitivity between integer steps between 1 and 10. Both of these actions are performed after turning off auto exposure / gain.

I wrote a test Web Serial implementation to query over Ardulink, and ReportCameraInfo says:

Status: ReportCameraInfo
Camera Type:3MP
Camera Support Resolution:7638
Camera Support specialeffects:319
Camera Support Focus:0
Camera Exposure Value Max:30000
Camera Exposure Value Min:1
Camera Gain Value Max:1023
Camera Gain Value Min:1
Camera Support Sharpness:1

Is the correct register being used? I've noticed that this varies in implementations, for example CAM_REG_MANUAL_EXPOSURE_BIT_7_0 is 0x35 in

#define CAM_REG_MANUAL_EXPOSURE_BIT_7_0 0X35
and it is 0x2f in
#define CAM_REG_MANUAL_EXPOSURE_BIT_7_0 0X2F

Thanks!

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

1 participant