STM32 project ideas
7 Mokxi projects run on an STM32 board, all beginner. Here are all of them, from “Nucleo button” to “Nucleo fade”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “Nucleo analog read”, a beginner project that needs a potentiometer.
- Every project here is a beginner project, so any one of them makes a fair first build.
- The parts used most here are the LED (5 projects), the potentiometer (1) and the push button (1). With those on hand, most of this list is open to you.
- STM32 pins are named by port and number (PA5, PC13), so read the pin labels in the circuit rather than an Arduino pin map.
7 projects ready to run

Nucleo button
A pushbutton from PC13 to GND is the Nucleo’s USER button: pressing it lights the green LED on D13.
- Board
- STM32 Nucleo-F411RE
- Parts
- Push button
- Level
- Beginner

STM32 tilt lamp
A tilt switch on PB0 of a Black Pill lights a lamp on PC13 while it stands upright. Tip it and the lamp goes dark.
- Board
- STM32F411 Black Pill
- Parts
- Resistor, LED, tilt switch
- Level
- Beginner

Blue Pill lamp
A lamp on a Blue Pill that blinks in step with the board’s own LED, because both hang off 3.3 V and PC13 sinks them.
- Board
- STM32 Blue Pill (F103)
- Parts
- Resistor, LED
- Level
- Beginner

Nucleo blink
The STM32 Nucleo-F411RE’s green LED on D13 and an LED beside the board, which light when the pin is HIGH, as on an Uno.
- Board
- STM32 Nucleo-F411RE
- Parts
- Resistor, LED
- Level
- Beginner

STM32 chaser
A six-LED sweep that runs back and forth on the Black Pill, wired to PA1 through PA6.
- Board
- STM32F411 Black Pill
- Parts
- Resistor, LED
- Level
- Beginner

Nucleo analog read
A potentiometer on A0 of an STM32 Nucleo-F411RE, read in ten bits and printed with its voltage.
- Board
- STM32 Nucleo-F411RE
- Parts
- Potentiometer
- Level
- Beginner

Nucleo fade
analogWrite breathes an LED on D9 of an STM32 Nucleo-F411RE, at STM32duino’s 1 kHz PWM.
- Board
- STM32 Nucleo-F411RE
- Parts
- Resistor, LED
- Level
- Beginner