Velxio
Offline Arduino, RP2040 & ESP32 simulator
Starting local backend…
Velxio
HomeDocumentationExamplesEditorAboutPricingFor schoolsDownloadBlogGitHubDiscord
Velxio/Board simulators/STM32F4 Discovery
STM32F4 Discovery as drawn on the Velxio canvas

STM32F4 Discovery Simulator
ST's own F407 board, four LEDs and the widest STM32 pin map

Simulate ST's STM32F4 Discovery (STM32F407VG, Cortex-M4 at 168 MHz) in your browser: the four on-board LEDs, the widest STM32 pin map in the catalog, Arduino C++ through the STM32duino core on QEMU.

Run a STM32F4 Discovery example →Pin map and docs

Three free 15-minute trial sessions · Then Maker and Pro plans · Runs in your browser

STM32F4 Discovery at a glance

The STM32F4 Discovery is ST's own STM32F407VG evaluation board: a Cortex-M4 with FPU at 168 MHz, 1 MB of flash, and a far wider pin map than the pill boards. That is the reason to choose it: the F407 brings out peripherals the 48-pin boards never expose, and it is the largest STM32 in the catalog by pin count, so it is the board to place when a project has simply run out of pins elsewhere.

Processor
STM32F407VG, Arm Cortex-M4F at 168 MHz
Memory
192 KB SRAM · 1 MB flash
Emulation
QEMU (libqemu-arm) on Velxio's servers
Languages
Arduino C++ (STM32duino core)
Made by
STMicroelectronics · Product page
Plan
Trial, then Maker or Pro

What you can do with the STM32F4 Discovery simulator

The board on the canvas is the real thing as far as your code is concerned: the same pins, the same buses, the same peripherals, wired to the same 100+ sensors, displays and actuators every other Velxio board talks to.

Arduino C++ sketches

Write a sketch in the Monaco editor with library completion, compile it against the board's own Arduino core and run the real firmware binary. The Serial Monitor is the USB port.

GPIO, PWM and ADC

Drive LEDs, relays and servos, read buttons and potentiometers, dim with PWM. Every pin follows the board's real pin map, so what works here works on the hardware.

I2C, SPI and UART

Talk to OLEDs, IMUs, ADCs, RTCs and SD cards over the buses the board really has. Bus traffic runs through emulated peripherals, not through a shortcut.

Serial Monitor

USB CDC serial reaches the Serial Monitor at the sketch's baud rate, with input, timestamps and a plotter.

Multi-board canvas

Mix this board with an Arduino, an ESP32 or a Pico on the same canvas and let them talk over serial or I2C, each running its own firmware.

Try it before you subscribe

A free account gets three 15-minute trial sessions on this board family; every run inside a session is free. Unlimited runs are part of the Maker and Pro plans and of Velxio Desktop.

STM32F4 Discovery examples

Ready-to-run projects for this board from the gallery. Open one, read the sketch, press Run.

  • STM32F4 Discovery LED BlinkBlink the onboard PD12 green LED and print to Serial on an STM32F4 Discovery (STM32F407VG, Cortex-M4) under QEMU.Beginner · basics

All 1 examples in the gallery →

Related simulators

  • Olimex STM32-H405
  • STM32 Black Pill
  • STM32 Blue Pill
  • STM32 Blue Pill (F103CB)
  • STM32 Black Pill (F401)
  • Netduino Plus 2
  • Netduino 2

Frequently asked questions

Are the four LEDs on the Discovery board simulated?
Yes. The green, orange, red and blue LEDs on PD12 to PD15 light on the canvas, and the LED blink example drives all four.
Can I use the Discovery's extra peripherals?
GPIO, timers, UART, I2C and SPI on the full F407 pin map work through the STM32duino core. The audio codec, the accelerometer and USB OTG on the real board are not modelled.
What does the STM32 simulator cost?
The editor is free, and any account can place the board and wire a circuit. Running it boots a QEMU guest on Velxio's servers: a free account gets three 15-minute trial sessions on the STM32 family, and unlimited runs are part of the Maker and Pro plans.
Is the STM32F4 Discovery simulator free?
Partly. You can build and save a STM32F4 Discovery circuit with any account, and a free account gets three 15-minute trial sessions to run it; every run inside a session is free. Unlimited runs boot a Linux guest on our servers, so they are part of the Maker and Pro plans, or of Velxio Desktop with a paid licence.
Which languages can I use on the STM32F4 Discovery?
Arduino C++ (STM32duino core). The language is switched from the toolbar; the circuit on the canvas stays the same.

Ready to simulate the STM32F4 Discovery?

Open the editor, place the STM32F4 Discovery from the picker, wire what you need and press Run.

Launch the STM32F4 Discovery simulator →
All board simulatorsExamples galleryBoard docs