-
Notifications
You must be signed in to change notification settings - Fork 45
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
Light Mode, Saturation, Contrast and Brightness Example #13
Comments
@Lucho1976 Yes, if you want to change the light mode, you should set the mode by using myCAM.wrSensorReg8_8(). Let us know if you need more help. |
I'm trying to do the same thing. In my cam setup, I do something like this. #if defined (OV2640_MINI_2MP) || defined (OV2640_CAM)
//Check if the camera module type is OV2640
myCAM.wrSensorReg8_8(0xff, 0x00);
myCAM.wrSensorReg8_8(0xc7, 0x00); //AWB on
myCAM.rdSensorReg8_8(OV2640_CHIPID_HIGH, &vid);
myCAM.rdSensorReg8_8(OV2640_CHIPID_LOW, &pid);
#endif But my images still look really dim and green in ambient, low-light. Any suggestions? |
@adjavaherian Let us know if you need more help. |
Thanks Lee, I'll give it a shot! |
You updated the example to support brightness and other functions, but never updated this repository ( As it is, if you're using the ESP version of the arducam library, those examples are useless. |
@fake-name Thank you for your advice, we will update it. You can just copy the ArduCAM.cpp and ArduCAM.h files to your ESP8266 UNO library and replace the old files. Let us know if you need more help. |
Maybe respond to #19 ? |
i solved this problem |
Hi i have an Arducam ESP8266 with OV2640 and i want to try the diferents light Mode, saturation, contrast and brigthness.
I found this document with examples like below and i saw than i must write them with myCAM.wrSensorReg8_8() function, is that correct ?. Can i make a program wich a delate between modes and capture a file picture to see the diferences?. Ideal i would be some interface program like html wich sent parameters, is there something like that?.
Thanks....
http://www.dragonwake.com/download/camera/ov2640/OV2640%20Camera%20Module%20Software%20Application%20Notes.pdf
11.1 Light Mode
Auto
SCCB_salve_Address = 0x60;
write_SCCB(0xff, 0x00)
write_SCCB(0xc7, 0x00); //AWB on
Sunny
SCCB_salve_Address = 0x60;
write_SCCB(0xff, 0x00)
write_SCCB(0xc7, 0x40); //AWB off
write_SCCB(0xcc, 0x5e);
write_SCCB(0xcd, 0x41);
write_SCCB(0xce, 0x54);
Cloudy
SCCB_salve_Address = 0x60;
write_SCCB(0xff, 0x00)
write_SCCB(0xc7, 0x40); //AWB off
write_SCCB(0xcc, 0x65);
write_SCCB(0xcd, 0x41);
write_SCCB(0xce, 0x4f);
The text was updated successfully, but these errors were encountered: