Professional Documents
Culture Documents
OV7670 Datasheet PDF
OV7670 Datasheet PDF
Advanced Information
® Preliminary Datasheet
• Supports scaling B1 B2 B3 B4 B5
Ordering Information E1 E2 E3 E4 E5
Product Package F1 F2 F3 F4 F5
© 2006 OmniVision Technologies, Inc. OmniPixel, VarioPixel, OmniVision, and the OmniVision logo are registered trademarks of OmniVision Technologies, Inc.
Version 1.4, August 21, 2006 CameraChip is a trademark of OmniVision Technologies, Inc.
These specifications are subject to change without notice.
OV7670/OV7171 CMOS VGA (OmniPixel®) CAMERACHIP™ Sensor Omni ision
Functional Description
Figure 2 shows the functional block diagram of the OV7670/OV7171 image sensor. The OV7670/OV7171 includes:
• Image Sensor Array (total array of 656 x 488 pixels, with active pixels 640 x 480 in YUV mode)
• Analog Signal Processor
• A/D Converters
• Test Pattern Generator
• Digital Signal Processor (DSP)
• Image Scaler
• Timing Generator
• Digital Video Port
• SCCB Interface
• LED and Strobe Flash Control Output
Buffer Buffer
Test
Pattern
Generator
G
DSP Image Video
Analog FIFO
(Lens shading Scaler Port
Processing A/D correction, D[7:0]
de-noise, white/
R black pixel
50/60 Hz correction, auto
white balance,
Auto etc.)
B Detect
Image Array
(656 x 488)
Registers
SCCB
Clock Video Timing Generator
Interface
Exposure/Gain
Control
7670CSP_DS_002
The OV7670/OV7171 sensor has an image array of The Test Pattern Generator features the following:
656 x 488 pixels for a total of 320,128 pixels, of which • 8-bar color bar pattern
640 x 480 pixels are active (307,200 pixels). Figure 3 • Fade-to-gray color bar pattern
shows a cross-section of the image sensor array.
• Shift "1" in output pin
Figure 3 Image Sensor Array
Microlens
Glass
Digital Signal Processor (DSP)
Pin Description
C1 DVDD Power Power supply (+1.8 VDC) for digital logic core
Electrical Characteristics
VDD-A 4.5 V
VDD-IO 4.5 V
NOTE: Exceeding the Absolute Maximum ratings shown above invalidates all AC and DC electrical specifications and may
result in permanent device damage.
tS:REG Settling time for register change (10 frames required) 300 ms
SCCB Timing (see Figure 4)
Timing Specifications
tF t HIGH tR
tLOW
SIO_C
SIO_D
IN
t BUF
tAA t DH
SIO_D
OUT
7670CSP_DS_004
tPCLK
PCLK
t PHL tPHL
tSU
t HD
tPDV 7670CSP_DS_005
510 x tLINE
VSYNC
480 x tLINE
3 x tLINE 17 tLINE
tLINE = 784 tP 10 tLINE
144 tP
HREF
640 tP
80 tP 45 tP 19 tP
HSYNC
P0 - P639
Row 0 Row 1 Row 2 Row 479
NOTE:
For Raw data, tP = tPCLK
For YUV/RGB, tP = 2 x tPCLK 7670CSP_DS_006
VGA HREF
(see Figure 7,
VGA Frame Timing)
QVGA HREF
7670CSP_DS_007
VGA HREF
(see Figure 7,
VGA Frame Timing)
QQVGA HREF
(1 from 4,
120 from 480)
7670CSP_DS_008
VGA HREF
(see Figure 7,
VGA Frame Timing)
CIF HREF
(3 from 5)
7670CSP_DS_009
QVGA HREF
(see Figure 7,
QVGA Frame Timing)
QCIF HREF
(3 from 5)
7670CSP_DS_010
tPCLK
PCLK
t PHL tPHL
tSU
t HD
tPDV
tPCLK
PCLK
t PHL tPHL
tSU
t HD
tPDV
tPCLK
PCLK
t PHL tPHL
tSU
t HD
tPDV
Register Set
Table 5 provides a list and description of the Device Control registers contained in the OV7670/OV7171. For all register
Enable/Disable bits, ENABLE = 1 and DISABLE = 0. The device slave addresses are 42 for write and 43 for read.
COM7[2] COM7[0]
YUV 0 0
RGB 1 0
Bayer RAW 0 1
Processed Bayer RAW 1 1
Common Control 8
Bit[7]: Enable fast AGC/AEC algorithm
Bit[6]: AEC - Step size limit
0: Step size is limited to vertical blank
1: Unlimited step size
Bit[5]: Banding filter ON/OFF - In order to turn ON the banding
filter, BD50ST (0x9D) or BD60ST (0x9E) must be set to a
13 COM8 8F RW non-zero value.
0: OFF
1: ON
Bit[4:3]: Reserved
Bit[2]: AGC Enable
Bit[1]: AWB Enable
Bit[0]: AEC Enable
Package Specifications
The OV7670/OV7171 uses a 24-ball Chip Scale Package 2 (CSP2). Refer to Figure 14 for package information, Table 6 for
package dimensions and Figure 15 for the array center on the chip.
Note: For OVT devices that are lead-free, all part marking letters are
lower case. Underlining the last digit of the lot number indicates CSP2 is
used.
A
S1 J1
1 2 3 4 5 S2 5 4 3 2 1
A A
B B
J2
B C C
wxyz
D D abcd
E E
F F
1756.8 μm
S ens or
A rray
A rray C enter
(201.8 μm, 486.38 μm)
OV 7670/OV 7171
TOP V IE W
2. As mos t optical as s emblies invert and mirror the image, the chip is typically mounted
with pins A1 to A5 oriented down on the P C B .
7670CSP_DS_015
Note: For OVT devices that are lead-free, all part marking letters are
lower case
300.0
Z1 Z2 Z3 Z4 Z5 Z6 Z7 end
280.0
260.0
240.0
220.0
200.0
180.0
Temperature ( C )
160.0
140.0
120.0
100.0
80.0
60.0
40.0
20.0
0.0 0.6 1.1 1.6 2.2 2.8 3.3 3.9
0.0
-22 -2 18 38 58 78 98 118 138 158 178 198 218 238 258 278 298 318 338 358 369
Time (sec)
-0.3 -0.1 0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5 1.7 1.9 2.1 2.3 2.5 2.7 2.9 3.1 3.3 3.5 3.7 3.9 4.1 4.3 4.5 4.7 4.9
Time (min.) 7670CSP_DS_016
Condition Exposure
Average Ramp-up Rate (30°C to 217°C) Less than 3°C per second
Note:
• All information shown herein is current as of the revision and publication date. Please refer
to the OmniVision web site (http://www.ovt.com) to obtain the current versions of all
documentation.
• OmniVision Technologies, Inc. reserves the right to make changes to their products or to
discontinue any product or service without further notice (It is advisable to obtain current product
documentation prior to placing orders).
• ’OmniPixel’, ’VarioPixel, ’OmniVision’, and the OmniVision logo are registered trademarks of
OmniVision Technologies, Inc. ’CameraChip’ is a trademark of OmniVision Technologies, Inc. All
other trade, product or service names referenced in this release may be trademarks or registered
trademarks of their respective holders. Third-party brands, names, and trademarks are the
property of their respective owners.
DESCRIPTION OF CHANGES
Initial Release
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.0:
• Under LED and Strobe Flash Control Output section on page 3, changed text from “Refer
to the OmniVision Technologies LED Strobe Support document” to “The OV7670 has a
Strobe mode that allows it to work with an external flash and LED”
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.01:
• Under Features on page 1, changed bulleted item from “Supports VGA, CIF, and ...
RGB565/555), ...” to “Supports VGA, CIF, and ... RGB565/555/444), ...”
• Under Key Specifications on page 1, added table footnote for I/O Power Supply that reads
“I/O power should be 2.45V or higher when using the internal regulator for Core (1.8V);
otherwise, it is necessary to provide an external 1.8V for the Core power supply.”
• Under Key Specifications on page 1, added “RGB444” to Output Formats (8-bit)
• Under Key Specifications on page 1, changed Chief Ray Angle from “TBD” to “25°”
• Under Key Specifications on page 1, changed Sensitivity from “1.1 V/Lux-sec” to
“1.3 V/Lux-sec”
• Under Key Specifications on page 1, changed S/N Ratio from “40 dB” to “46 dB”
• Under Key Specifications on page 1, changed Dynamic Range from “TBD” to “52 dB”
• In Figure 13 on page 24, changed callout C3 to measure from thickness of glass and added
callout C4 to measure airgap from glass to die.
• In Table 6 on page 24, changed C3 parameter name from “Thickness of Glass Surface to
Wafer” to “Cover Glass Thickness”
• In Table 6 on page 24, changed C3 Minimum, Nominal, and Maximum specifications
from “425, 445, and 465” to “375, 400, and 425”
• In Table 6 on page 24, added C4 parameter, Airgap Between Cover Glass and Sensor, and
Minimum, Nominal, and Maximum specifications “30, 45, and 60”, respectively
• In Table 5 on page 21, changed address of register GAM1 from 7A to 7B
• In Table 5 on page 22, changed address of register GAM2 from 7B to 7C
• In Table 5 on page 22, changed address of register GAM3 from 7C to 7D
• In Table 5 on page 22, changed address of register GAM4 from 7D to 7E
• In Table 5 on page 22, changed address of register GAM5 from 7E to 7F
• In Table 5 on page 22, changed address of register GAM6 from 7F to 80
• In Table 5 on page 22, changed address of register GAM7 from 80 to 81
• In Table 5 on page 22, changed address of register GAM8 from 89 to 82
• In Table 5 on page 22, changed address of register GAM9 from 89 to 83
• In Table 5 on page 22, changed address of register GAM10 from 89 to 84
• In Table 5 on page 22, changed address of register GAM11 from 89 to 85
• In Table 5 on page 21, add register SLOP (0x7A)
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.1:
• On page 10, added Figure 13, RGB 444 Output Timing Diagram
• In Table 5 on page 12, changed default value for register VER (0x0B) from “70” to “73”
• In Table 5 on page 18, changed description of register bits COM15[5:4] (0x40) by adding
“, effective only when RGB444[1] is low” to 01 and 11 descriptions
• In Table 5 on page 21, changed description for register bits DBLV[7:6] (0x6B) from:
10: Input clock x8
11: Input clock x16
to
10: Input clock x6
11: Input clock x8
• In Table 5 on page 21, changed description for register bits DBLV[3:0] (0x6B) to
“Reserved”
• In Table 5 on page 23, changed address for reserved registers from “8A-91” to “8A-8B”
• In Table 5 on page 23, added row for register RGB444 (0x8C)
• In Table 5 on page 23, added row for reserved registers 8D-91
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.2:
• In Table 5 on page 11, changed default value of register VREF (0x03) from “03” to “00”
• In Table 5 on page 12, changed default value for register COM4 (0x0D) from “40” to “00”
• In Table 5 on page 12, changed description of register bit COM6[6:5] (0x0F) to
“Reserved”
• In Table 5 on page 12, changed description of register bit COM6[1] (0x0F) to include:
0: No reset
1: Resets timing
• In Table 5 on page 13, changed description for register bit CLKRC[7] (0x11) to
“Reserved”
• In Table 5 on page 15, changed default value for register MVFP (0x1E) from “00” to “01”
• In Table 5 on page 15, changed default value for register ADCCTR3 (0x23) from “80” to
“00”
• In Table 5 on page 16, changed default value for register ARBLM (0x34) from “03” to
“11”
• In Table 5 on page 16, changed default value for register ADC (0x37) from “04” to “3F”
• In Table 5 on page 16, changed default value for register ACOM (0x38) from “12” to “01”
• In Table 5 on page 17, changed default value for register TSLB (0x3A) from “0C” to “0D”
• In Table 5 on page 17, changed description of register bit TSLB[0] from “Reserved” to:
Bit[0]: Auto output window
0: Sensor DOES NOT automatically set window after resolution change. The
companion backend processor can adjust the output window immediately
after changing the resolution
1: Sensor automatically sets output window when resolution changes. After
resolution changes, the companion backend processor must adjust the out-
put window after the next VSYNC pulse.
• In Table 5 on page 18, changed default value for register COM12 (0x3C) from “40” to
“68”
• In Table 5 on page 18, changed default value for register COM13 (0x3D) from “99” to
“88”
• In Table 5 on page 18, changed description of register bit COM13[0] (0x3D) from
“Reserved” to:
Bit[0]: UV swap (use with register TSLB[3] (0x3A))
TSLB[3], COM13[1]:
00: Y U Y V
01: Y V Y U
10: U Y V Y
11: V Y U Y
Omni ision TM
DESCRIPTION OF CHANGES
The following changes were made to version 1.3:
• In Table 5 on page 17, changed description of register TSLB[3] (0x3A) from:
“Output sequence (use with register COM13[1] (0x3D))
TSLB[3], COM13[1]):”
to:
“Output sequence (use with register COM13[0] (0x3D))
TSLB[3], COM13[0]:”
• In Table 5 on page 18, changed description of register COM13[0] (0x3D) from:
“UV swap (use with register TSLB[3] (0x3A))
TSLB[3], COM13[1]:”
to:
“UV swap (use with register TSLB[3] (0x3A))
TSLB[3], COM13[0]:”
• In Figure 15 on page 28, added callout for First Pixel Readout (1382.6 µm, 1364.78 µm)