Skip to main content
MMOHA.1
Associate
Mar 26, 2022 8:17 PM UTC
Question

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

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.

3 replies

Tesla DeLorean
Guru
Mar 27, 2022 12:08 AM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MMOHA.1
MMOHA.1Author
Associate
Mar 27, 2022 12:13 AM UTC

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
Mar 27, 2022 1:00 AM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..