Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 8 months ago.
ov7670 camera output image strange
Hi
When i have test with ov7670 camera without AL422 FIFO, The output is something wrong work. The strange is what i have color bar register set to ov7670 camera then the camera's output image is corrupt. The output image is seem like that test pattern color bar mixed with current view in camera. When i have moving camera viewpoint, the ov7670 camera test pattern color bar output image is activated on outside. like this
By the way, when i have stuff up ov7670's camera lens, then the ov7670 camera test pattern color bar output image is good. like this
I don't understand why this happen ?
here's register setting..(also this is from
read_sif(0x12,0x80) ; RESET CAMERA Sleep(200);
read_sif(REG_CLKRC,0x80); read_sif(REG_COM11,0x0A) ; read_sif(REG_TSLB,0x04); read_sif(REG_COM7,(0x04| 0x02) ) ; read_sif(REG_RGB444, 0x02); read_sif(REG_COM15, 0xd0); read_sif(REG_HSTART,0x16) ; read_sif(REG_HSTOP,0x04) ; read_sif(REG_HREF,0x24) ; read_sif(REG_VSTART,0x02) ; read_sif(REG_VSTOP,0x7a) ; read_sif(REG_VREF,0x0a) ; read_sif(REG_COM10,0x02) ; read_sif(REG_COM10,0x00) ; read_sif(REG_COM3, 0x04); read_sif(REG_COM14, 0x1a); read_sif(0x72, 0x22); read_sif(0x73, 0xf2);
COLOR SETTING read_sif(0x4f,0x80); read_sif(0x50,0x80); read_sif(0x51,0x00); read_sif(0x52,0x22); read_sif(0x53,0x5e); read_sif(0x54,0x80); read_sif(0x56,0x40); read_sif(0x58,0x9e); read_sif(0x59,0x88); read_sif(0x5a,0x88); read_sif(0x5b,0x44); read_sif(0x5c,0x67); read_sif(0x5d,0x49); read_sif(0x5e,0x0e); read_sif(0x69,0x00); read_sif(0x6a,0x40); read_sif(0x6b,0x0a); read_sif(0x6c,0x0a); read_sif(0x6d,0x55); read_sif(0x6e,0x11); read_sif(0x6f,0x9f);
read_sif(0xb0,0x84);