Getting Started with MicroPython on STM32

Опубликовано: 23 Июль 2026
на канале: MP Coding
3,271
44

In this tutorial, I’ll walk you step-by-step through setting up MicroPython on the STM32F4 Discovery (STM32F429I-DISCO) board. Whether you're a beginner or just getting started with embedded Python, this guide covers everything from flashing firmware to writing your first LED blink and handling interrupts!

🔧 What you'll learn:
⇒ How to flash MicroPython firmware using STM32CubeProgrammer
⇒ Connecting via serial console using Tera Term
⇒ Running and saving MicroPython code (REPL + main.py)
⇒ Controlling onboard LEDs with Python
⇒ Setting up external interrupts with a push button

📥 Resources used in the video:
⊛ MicroPython Firmware: https://micropython.org/download
⊛ STM32CubeProgrammer: https://www.st.com/en/development-too...
⊛ Tera Term: https://osdn.net/projects/ttssh2
⊛ Docs: https://docs.micropython.org/en/lates...

📌 Board used: STM32F429I-DISCO

#MicroPython #STM32 #STM32F4 #STM32Discovery #EmbeddedPython #Microcontroller #Firmware #PythonIoT