Introduction: Getting Started With STM32 and CircuitPython

About: DIY Gatget device form 3D printed,acrylic Robots and RoboticArms SpotRobot Humanoid Robot IOT,MQTT,Scada,Circuit board,microcontroller

Discover how CircuitPython features bring ease and flexibility to STM32 programming.This guide will show you how to leverage CircuitPython

Description

Ten years ago, the idea of writing Python directly on a microcontroller seemed like a distant dream. Today, that dream has come true with CircuitPython on STM32! This guide takes you through the exciting journey of using CircuitPython to bring your embedded projects to life, offering an easy and powerful way to program STM32 microcontrollers without the complexity of traditional embedded development.


STM32F412 Discovery Kit Overview Specifications and Features:

  1. STM32F412ZGT6 microcontroller with 1 Mbyte of Flash memory and 256 Kbytes of RAM, in an LQFP144 package
  2. 1.54-inch 240×240 pixel TFT color LCD with parallel interface and capacitive touch panel
  3. USB OTG FS
  4. I2S audio codec
  5. Stereo digital ST-MEMS microphones
  6. 128-Mbit Quad-SPI NOR Flash memory
  7. Reset push-button and joystick


Supplies

PART:

STM32F412-Discovery Kit x1

Step 1: Preparing Your STM32F412 for CircuitPython


Installing CircuitPython:

- Download the CircuitPython firmware for STM32F412 from https://circuitpython.org/board/stm32f412zg_discovery/

- Download the STM32 ST-LINK Utility from https://www.st.com/en/development-tools/stsw-link004.html

- Use the STM32 ST-LINK Utility to flash the CircuitPython firmware onto the STM32F412 board.

Verifying the Connection:

After flashing the firmware, the connection will be verified, and you will find the "CIRCUITPY" drive (G:), indicating the process is complete.

Step 2: Getting Started With CircuitPython on STM32F412

Step 3: Code

Step 4:

You can contact

E-mail: mhooyang@gmail.com

Please follow my YouTube channel. Still a newbie to make a YouTube channel.

Just press Subscribe my youtube channel. Thankyou

https://www.youtube.com/@Yakroo108 < ===== ( -/|\-)