Minggu, 07 Juli 2013

GET IMAGE FROM OV7670 WITH VARIOUS RESOLUTION

In my last research, I was strugling to get basic image from this camera module OV7670 because I cannot use default VGA image to be processed (stored) in my microcontroller, which is STM32F103RET6. The maximum resolution that the microcontroller can process is QVGA resolution.

Base on implementation guide from Omnivision, you just need to set following registers from your microcontroller.
For QVGA resolution.

{0x0c, 0x0c},
{0x3e, 0x11},
{0x70, 0x3a},
{0x71, 0x35},
{0x72, 0x11},
{0x73, 0xf1},
{0xa2, 0x02},