[go: nahoru, domu]

Skip to content

Demonstration of interfacing the Nucleo STM32F446RE with a OV7670 camera module

Notifications You must be signed in to change notification settings

erikandre/stm32-ov7670

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F4 OV7670 Demo

Demonstration of interfacing the Nucleo STM32F446RE with a OV7670 camera module.

Screenshot

Building

To build the project you will also need to set up an Eclipse (OpenSTM32) workspace containing the stdperiph library. Except from this there are no external dependencies.

##Running it

After building and flashing the resulting elf file using openocd you can connect to the serial port of the device. Frames are continuously sent over the serial connection as they are captured by the camera.

To see the camera output you can use the SerialCamera.jar, found under the tools directory:

java -jar tools/SerialCamera.jar

Pinout

Since the STM32F's peripherals (Camera interface, I2C, etc) are only available on certain pins, it is important to use the correct ones.

DCMI

Digital Camera interface, used to read pixel data (on D0..D7).

Pin Function
PA4 HREF
PA6 PCLK
PB7 VSYNC
PC6 D0
PC7 D1
PC8 D2
PC9 D3
PC11 D4
PB6 D5
PB8 D6
PB9 D7

SCCB

Camera control interface based on I2C.

Pin Function
PB10 SIOC
PC12 SIOD

Other

Pin Function
PA8 MCO (Clock output)

##Credits

This project contains lots of code written by other (very awesome) developers.

About

Demonstration of interfacing the Nucleo STM32F446RE with a OV7670 camera module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published