OV7670 - 640x480 Lowcost Bildsensor inkl. DSP

Der OV7670 Chip enthält einen CCD Farb-Bildsensor, sowie einen DSP. Er liefert eine Auflösung von maximal 640 x 480 Bildpunkten (was der VGA Auflösung mit 0,3 Megapixeln entspricht) bei einer Wiederholrate von 30 Bildern pro Sekunde (fps).

Das vom Sensor abgetastete Bild kann vom integrieten DSP vorverarbeitet werden, bevor es an den Datenausgängen zur Verfügung gestellt wird. Hierzu bietet der Chip eine serielle Steuerschnittstelle, den „Serial Camera Control Bus“, kurz SCCB genannt an.

Die Hardware

https://www.voti.nl/docs/OV7670.pdf

Technische Daten

Steckerbelegung des Moduls

Der Chip wird fertig verlötet und mit Linse auf einen Modul mit 18poligen Stecker angeboten.

The camera module comes with a 9×2 header, the pin diagram is shown below:

VDD (1) (18) GND
SDIOC (2) (17) SDIOD
VSYNC (3) (16) HREF
PCLK (4) (15) XCLK
D7 (5) (14) D6
D5 (6) (13) D4
D3 (7) (12) D2
D1 (8) (11) D0
RESET (9) (10) PWDN
Pin	Type	Description
VDD**	Supply	Power supply
GND	Supply	Ground level
SDIOC	Input	SCCB clock
SDIOD	Input/Output	SCCB data
VSYNC	Output	Vertical synchronization
HREF	Output	Horizontal synchronization
PCLK	Output	Pixel clock
XCLK	Input	System clock
D0-D7	Output	Video parallel output
RESET	Input	Reset (Active low)
PWDN	Input	Power down (Active high)

**A note about supply voltage and I/O voltage.
Pin No. 	PIN NAME 	TYPE 	DESCRIPTION
1 	VCC 	POWER 	3.3v Power supply
2 	GND 	Ground 	Power ground
3 	SCL 	Input 	Two-Wire Serial Interface Clock
4 	SDATA 	Bi-directional 	Two-Wire Serial Interface Data I/O
5 	VSYNC 	Output 	Active High: Frame Valid; indicates active frame
6 	HREF 	Output 	Active High: Line/Data Valid; indicates active pixels
7 	PCLK 	Output 	Pixel Clock output from sensor
8 	XCLK 	Input 	Master Clock into Sensor
9 	DOUT9 	Output 	Pixel Data Output 9 (MSB)
10 	DOUT8 	Output 	Pixel Data Output 8
11 	DOUT7 	Output 	Pixel Data Output 7
12 	DOUT6 	Output 	Pixel Data Output 6
13 	DOUT5 	Output 	Pixel Data Output 5
14 	DOUT4 	Output 	Pixel Data Output 4
15 	DOUT3 	Output 	Pixel Data Output 3
16 	DOUT2 	Output 	Pixel Data Output 2 (LSB)

Der serielle Kontroll-Port (SCCB) im Detail