STM32 Nucleo-F446RE simulator
Simulate the STM32 Nucleo-F446RE (STM32F446RE, 180 MHz) online: Arduino IDE, STM32CubeIDE projects with parts on a bench, free in your browser. It runs on the Lab's virtual board (labelled Lab virtual).

- Chip
- STM32F446RE
- Clock
- 180 MHz
- Family
- STM32
- Write it in
- Arduino IDE, STM32CubeIDE
- Runs on
- the Lab's virtual board (labelled Lab virtual)
Examples for STM32 boards
They run on this board too: open one and change the board.

Blue Pill: button interrupt
A button on PB12 toggles the PC13 LED through an interrupt; the LED lights on LOW.

Nucleo-F401RE: knob on an LCD
An I2C LCD on D14/D15 shows the knob on A0 in volts; LD2 blinks by its STM32 name, PA5.

STM32 HAL: blink and printf, CubeIDE layout
A CubeIDE project for the Blue Pill: 72 MHz from the crystal, PC13 blinking, printf out of USART1.

STM32 HAL: button interrupt (EXTI)
On the Nucleo-F401RE, a falling edge on D2 runs HAL_GPIO_EXTI_Callback(), which toggles LD2.

STM32 HAL: pot to PWM (ADC and TIM2)
On the Nucleo-L476RG, ADC1 reads a pot on A0 and TIM2’s PWM sets LD2’s brightness to match.

STM32 HAL: I2C LCD, its own driver
On the Black Pill, HAL_I2C_Master_Transmit() drives a 16x2 LCD through a driver in lcd.c and lcd.h.
