yet another project with ov7670 fail state


Please help me to test my ov7670.

I found this post:

which pointed me to this code:

and I am going to load it to my Arduino UNO R3 to run the ov7670 camera with a simple test, aiming to have at least 1 image taken and sent to my PC, this is not a lot to ask even being a newB right? :slight_smile:

The problems:

  1. I’m not sure if my ov7670 is the one that will work for it, I provide the image of the camera, hopefully you will tell me how much chance I have or any other suggestion

  2. could you please point me to a tutorial where I can create a standard Arduino library from the code above? There I found main.c, i.e. standard c programming and as I understand, this is not to be done with Arduino IDE (the only thing I know about). Maybe I’m wrong and there is a tutorial to use that code with Arduino IDE and I even don’t know how to google it.

Will appreciate any help. Thank you.

I have not seen successful capture with that camera without the memory chip. Get a module with FIFO or use a shield

I have not seen successful capture with that camera without the memory chip.
Get a module with FIFO or use a shield

I better stick with “Get a module with FIFO”, could you please have a look to what I chose to buy (it is noted with AL422 and FIFO):

if the link is dead, this is informatin mentioned there:
640 x 480 VGA CMOS + AL422 3M-Bits OV7670 FIFO Camera STM32 Driver Module I2C

1.High sensitivity for low-light operation.
2.Low operating voltage for embedded application.
3.Standard SCCB interface compatible with I2C interface.
4.With AL422 3M-Bits FIFO.
5.Raw RGB, RGB (GRB4:2:2, RGB565/555/444),YUV(4:2:2) and YCbCr(4:2:2)output format.
6.Support VGA, CIF and from CIF to 40 x 30 format .
7.Vario Pixel method for sub-sampling.
8.Auto Image Control: AEC, AGC, AWB, ABF, ABLC.
9.Image Quality Control: Color saturation, hue, gamma, sharpness and anti-blooming.
10.ISP includes noise reduction and defect correction.
11.Support image scaling.
12.Lens shading correction.
13.Flicker 50/60Hz auto detection.
14.Color saturation level auto adjust.
15.Edge enhancement level auto adjust.
16.De-noise level auto adjust.


  • IO Voltage: 2.5V to 3.0V.
  • Operating Power: 60mW/15fpsVGAYUV.
  • Sleeping Mode: <20μA.
  • Operating Temperature: -30 to 70 deg C.
  • Output Format: YUV/YCbCr4:2:2 RGB565/555/444 GRB4:2:2 Raw RGB Data (8 digit).
  • Lens Size: 1/6".
  • Vision Angle: 25 degree.
  • Max. Frame Rate: 30fps VGA.
  • Sensitivity: 1.3V / (Lux-sec).
  • Signal to Noise Ratio: 46 dB.
  • Dynamic Range: 52 dB.
  • Browse Mode: By row.
  • Electronic Exposure: 1 to 510 row.
  • Pixel Coverage: 3.6μm x 3.6μm.
  • Duck Current:: 12 mV/s at 60℃.

Before you buy anything: Do some research.

knut_ny: Before you buy anything: Do some research.

Thanks really, very useful links: in fact the camera I ordered is just the one you pointed to its test code.