Skip to main content

CMOS OV7670 Camera Module

Description of CMOS OV7670 Camera Module

The OV7670 camera module is a CMOS image sensor that provides full-frame windowed 8-bit images in a wide range of image formats. The OV7670 sensor is controlled using Serial Camera Control Bus (SCCB) which is an I2C interface with a maximum clock frequency of 400Khz.


Features and specifications of CMOS OV7670 Camera Module

This section mentions some of the specifications and the features of the CMOS OV7670 Camera Module:

  1. Operating voltage: 3.3V DC
  2. Resolution: 640x480 VGA
  3. Optical Size: ⅙ inch
  4. Power Consumption: 60mW
  5. High-quality F1.8 / 6mm lens
  6. Output support for Raw RGB (GRB 4:2:2, RGB565/555/444), YUV (4:2:2) and YCbCr (4:2:2) formats
  7. S/N Ratio: 46 dB
  8. Maximum Image Transfer rate: 30 FPS for VGA
  9. Supports image sizes: VGA, CIF, and any size scaling down from CIF to 40x30
  10. Standard SCCB interface compatible with I2C interface
  11. Lens shading correction Flicker (50/60 Hz) auto-detection
  12. Saturation level auto adjust (UV adjust) 
  13. Edge enhancement level auto adjust


Software Required to Analyze Output Image from CMOS OV7670

Arduino IDE and Serial Port Reader


Alternatives for CMOS OV7670 Camera Module

Arducam HQ, IMX219


Equivalents for CMOS OV7670 Camera Module

OV7675, OV2640, OV7725, OV5642, OV5647


Note: More technical information can be found in the CMOS OV7670 Module Datasheet linked at the bottom of this page.


Pin Configuration of CMOS OV7670 Camera Module

The camera module consists of 16 pins. The table below describes the pin types and their functions.

Pin Number

Pin Type




+3.3V DC power input






I2C Serial Clock



I2C Serial Data I/O



Vertical Sync output; Active High; Indicates active frames



Horizontal Reference; Active High; Indicates active pixels



Pixel clock output from the sensor



Master clock into the sensor



Pixel Data Outuput 9(MSB)



Pixel Data Output 8



Pixel Data Output 7



Pixel Data Output 6



Pixel Data Output 5



Pixel Data Output 4



Pixel Data Output 3



Pixel Data Outuput 2(LSB)

Since the CMOS OV7670 camera module is created by different manufacturers and distributors, the pin configuration might differ. Some OV7670 modules also have 18 pins, 2 of the additional pins may be RESET and PWDN.


Connecting CMOS OV7670 Camera Module with an MCU/MPU

This section discusses the connections between a microcontroller or a microprocessor to a CMOS OV7670 camera module. It is easy to interface it to an MCU/MPU, but for some, the wiring could get a little complex. Make sure to use good quality and short-length jumper wires as improper wirings could induce noises and impact the picture quality.

CMOS OV7670 Camera Module with MCU

Note: Some OV7670 modules also have 18 pins, 2 of the additional pins may be RESET and PWDN. These pins can be connected to the 3.3V and ground pin of the MCU/MPU, respectively.


Functional Block Diagram of the CMOS OV7670 Camera Module

The OV7670 module includes an image sensor array, timing generators, A/D Converters, Test pattern generators, DSP (Digital Signal Processor), Image scaler Digital Video port, Strobe flash control output, and LEDs.

CMOS OV7670 Camera Module Block Diagram

The block diagram above shows how a camera-based system functions. The module is powered by a 3.3V supply. The module is connected to an external oscillator which provides the clock source for the camera module’s XCLK pin. With the proper configuration to the camera’s internal registers via the I2C bus, the camera module provides the pixel clock and the data output back to the host via HREF and VSYNC ports.


Applications for CMOS OV7670 Camera Module

Here are some of the applications of the OV7670 Camera Module:

  1. Cellular phone
  2. Facial Recognition
  3. Document scanning
  4. Surveillance systems
  5. Obstacle avoidance


2D Model of CMOS OV7670 Camera Module

Below is the 2D model of the OV7670 camera module. The dimensions can be used to design custom footprints of the module and use it while PCB and CAD model designing.

CMOS OV7670 Camera Module Dimensions

Note: All the dimensions are in millimeters.

Related Post

Join 20K+subscribers

We will never spam you.

* indicates required

Be a part of our ever growing community.