Skip to content

DL7AD/STM32F429-DCMI

Repository files navigation

STM32F429-DCMI usage example code

This program is made for a STM32F429 discovery board AND OV9655 camera. The demo program samples a 320x240px image from a OV9655 camera into the SRAM and encodes it into JPEG. It then transmits the image by serial to the computer where it can be displayed. The STM32F429 discovery board has actually external SDRAM but the project's goal is it, to solve this problem without any external SDRAM.

Anvantages: No external memory needed, small capture outputs, 1/80sec shutter time
Disadvantages: No VGA possible (only QVGA)

Demo capture

Demo capture taken by STM32F429 with OV9655

Demo capture

STM32F429 discovery board connected to Omnivision OV9655

Code sources

Hardware recommondations

ST STM32F429 discovery board

Omnivision OV9655 camera

Hardware connections

The STM32F429 discovery board must be connected to the camera to spectific pins

Camera Disco-Board Notes
3.3V VDD Disco board supplies 3.0V but that's OK
GND GND
SIOC PB10 I2C CLK
SIOD PB11 I2C SDA
VSYNC PB7
HREF PA4
PCLK PA6
XCLK PA8 Camera clock input (Generated by STM32)
D9 PE6 Data pin
D8 PE5 Data pin
D7 PB6 Data pin
D6 PE4 Data pin
D5 PE1 Data pin
D4 PC8 Data pin
D3 PC7 Data pin
D2 PC6 Data pin
RET unconnected Reset pin (clears all registers)
PWDN unconnected Power down

Installation/Building/Flashing

To be able to build this project, a modification in the ChibiOS submodule must be done:

Taking photos

  • The programm initializes the camera once at startup by I2C.
  • The programm will take a photo from the camera and transmit the encoded picture by UART on PD5. The red LED on the demoboard will light up while taking the picture.
  • Thereafter the green LED on the discovery board will blink green to signal, that the board is idling.

Author

sven.steudte@gmail.com

About

DCMI testing with STM32F429-DISCOVERY and OV9655 camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published