2023-06-04 11:47 AM
Hello everyone! First post here. I'm a grad student in Computer Science and Engineering and I'm looking to learn Machine Learning on MCUs. My professor suggested I use the STM32 Nucleo development boards for this. I was wondering if anyone had a rough guideline and perhaps links to some resources which you found really useful on how to get started with this topic. I would be really grateful for any help. Thank you!
2023-06-05 12:41 AM
Hello,
Here you can find the solutions provided by ST for AI and ML:
You mainly have 2 solutions, cubeAI and NanoEdgeAi Studio.
CubeAI : briefly, it allows you to convert AI models (tensorflow, pytorch etc) to be used on microcontrollers. So, you need to create a model (they also provide few models).
Cube is free.
find much more information here: STM32Cube.AI – STMicroelectronics – STM32 AI
NanoEdgeAI Studio: it is a software to help embedded engineer add AI to their solution. You don't need a model nor knowledge in AI. The software only require data, then it will look for the best model and give you C library for an easy deployment.
You can use NanoEdge for free with development boards.
More information: NanoEdge AI Studio – STMicroelectronics – STM32 AI
Best Regards,
Julian
2023-06-06 02:50 PM
Hello!
Thank you so much for your reply and suggestion.
Best,
Aziz
2025-01-07 08:49 AM
Hi Julian!
I want to ask whether STM32F103C8T6 (Blue Pill) , STM32F411CEU6 (Black Pill) or any variant of Nucleo Boards supports Machine Learning Tasks?
2025-01-08 01:23 AM
Hello @shahbazahmed ,
The AI tools from ST are compatible with all STM32. So, you can use both STM32F103C8T6 and STM32F411CEU6.
The question is more about the available memory and the inference time of your algorithms.
We have multiple tools available depending on what you want to do:
Depending on what you want to do, eitheir NanoEdge or a combination of ST Model Zoo and the dev cloud are good places to start.
If you already a have a model (neural network), you can use the dev cloud to benchmark the memory footprint and inference time on multiple board to help you choose the right STM32.
ST Model Zoo:GitHub - STMicroelectronics/stm32ai-modelzoo: AI Model Zoo for STM32 devices
NanoEdge Documentation: https://wiki.st.com/stm32mcu/wiki/AI:NanoEdge_AI_Studio
ST Dev Cloud: https://stedgeai-dc.st.com/session
CubeAI/ST Edge AI documentation: https://stedgeai-dc.st.com/assets/embedded-docs/index.html
Have a good day,
Julian