Skip to main content
Nicolas_peluchon
Associate
March 20, 2024
Solved

Need help choosing an STM32 board and compatible camera for image recognition and servo motor ctrl

  • March 20, 2024
  • 3 replies
  • 5409 views

Hello everyone,

I am currently working on a DIY toy project and I need some advice on selecting the appropriate components. My project involves setting up real-time image recognition artificial intelligence, a compatible camera, and controlling servo motors to aim a cannon based on the position of a detected target.

After conducting some research, I have decided to use an STM32 board to host the AI and control the servo motors. However, I am a bit overwhelmed by the various options of STM32 boards available in the market, and I am not sure which one to choose for my specific project.

Additionally, I am also looking for a camera that is compatible with the chosen STM32 board, capable of providing high-quality images for real-time image recognition.

I would therefore like to seek your expertise in guiding me through the selection of the appropriate STM32 board and camera for my needs. If you have any recommendations or advice on specific models to use for this project, I would be extremely grateful.

To summarize, here is what I am looking for:

  • An STM32 board suitable for hosting image recognition AI and controlling servo motors.
  • A camera compatible with the chosen STM32 board, capable of providing high-quality images for real-time image recognition.

Thank you in advance for your invaluable assistance.

Best regards,

3 replies

mƎALLEm
Technical Moderator
March 20, 2024

Hello,

Have a look at this video on Youtube.

Hope it can give you a visibility for what you're looking for

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
mƎALLEm
Technical Moderator
March 20, 2024

For servo motor control, I think you need a timer (PWM output) available almost on all STM32 MCUs. You need just to check the availability of this output on the board.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Nicolas_peluchon
Associate
March 20, 2024
 
What factors should I consider to check the compatibility of the multiple cameras I have with the card?
mƎALLEm
Technical Moderator
March 20, 2024

 

What factors should I consider to check the compatibility of the multiple cameras I have with the card?

Not sure I understood the question. The STM32 has only one camera interface instance called DCMI.

For more information about this interface you can refer to this AN5020 "Introduction to digital camera interface (DCMI) for STM32 MCUs"

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
mƎALLEm
Technical Moderator
March 20, 2024

As stated in the thread https://community.st.com/t5/stm32-mcus-embedded-software/what-camera-module-should-i-use-with-stm32f746g-discovery-board/td-p/84585

this Camera module is pin to pin compatible with the STM32F4DIS-CAM already used in the Youtube I've already shared.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."