ArduCAM / Arduino

This is ArduCAM library for Arduino boards
MIT License
477 stars 350 forks source link

Switch off automatic AWB, BLC and all internal DSP #231

Open pranav656 opened 7 years ago

pranav656 commented 7 years ago

I am currently using the OV2640 for a research project and I would like to control the exposure and switch off all the internal Digital Signal Processing on the sensor. I have achieved manual exposure control but I would like to switch off the AWB(Automatic White Balancing), BLC(Black Level Calibration) and any other on-board Digital Signal Processing that might be happening. To achieve this, I removed the myCAM.OV2640_set_Light_Mode(), myCAM.OV2640_set_Color_Saturation(), myCAM.OV2640_set_Special_effects() and any other functions that modify the image in the code that was provided for OV2640. Is this enough or do I need to do anything else? Also I would like to get the RAW image from the sensor. Is it enough if I just save the image to BMP format in the host software that you provided.

Regards, Pranav

cheribu commented 6 years ago

I am in the exact same situation. I have been unsuccessful.

Did anyone respond to your post? Were you able to achieve your goal?

Thanks, Cheri

supprot commented 6 years ago

@cheribu Hi, Please try to close the Bit[3] AWB,Bit[2] AWB_GAIN in 0xC3 register Bank=0.