Skip to main content
MMOHA.1
Associate
March 26, 2022
Question

Interfacing an STM32F407 Discovery board with an OV7670 camera module and SD Card.

  • March 26, 2022
  • 2 replies
  • 2181 views

Hello,

I am working on a project that needs to interface an STM32F407 Discovery board with an OV7670 camera module(without FIFO) to capture an image and save it to an SD Card just it.

But I did not know how to start it and I am wondering if these devices will work together or not can you help with this issue, please?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
March 27, 2022

Well the STM32F407 DISCO doesn't inherently have a MicroSD card, but there are break-out boards that provide them and camera connectivity. Not sure about your specific camera.

https://www.st.com/en/evaluation-tools/stm32f4dis-ext.html

https://www.mouser.com/ProductDetail/STMicroelectronics/STM32F4DIS-BB?qs=tp9Gh8MiPay9fbHGaE7oZQ%3D%3D

Code examples for the SD Card, FatFs have been posted in the past. You might try a Google search, or one of GitHub

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MMOHA.1
MMOHA.1Author
Associate
March 27, 2022

Thanks for your reply.

But I want to interface with the camera and make my PCB which will include only the STM32f407 chip, camera pin headers, SD card socket.

I wish I have explained it clearly.

Tesla DeLorean
Guru
March 27, 2022

That wasn't the question you originally asked.

Perhaps then review schematics for some of the STM32F4 EVAL boards which have both MicroSD cards sockets,and camera interface pins.

STM3240G-EVAL

https://www.st.com/en/evaluation-tools/stm3240g-eval.html

https://www.st.com/resource/en/schematic_pack/stm324xg-eval_sch.zip

Code examples in CubeF4

STM32Cube_FW_F4_V1.23.0\Projects\STM324xG_EVAL\Applications\Camera\Camera_To_USBDisk

STM32Cube_FW_F4_V1.23.0\Projects\STM324xG_EVAL\Applications\FatFs\FatFs_uSD

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..