Wokwi — ESP32, Arduino, and STM32 Simulator Directly in the Browser and VS Code (2025)

To start tinkering and programming Arduino, ESP32, or Raspberry Pi Pico boards, you don’t need them sitting on your desk. A web browser is all it takes. Czech maker Martin Hubáček first tipped me off about Wokwi — and since then, the simulator has come a long way.

What Wokwi Can Do

Wokwi is an online electronics simulator. In your browser, you can run firmware for Arduino, ESP32, STM32, or Raspberry Pi Pico without having physical hardware on your desk. It’s free and requires no installation.

Supported boards include Arduino Uno, Mega, Nano, ESP32 DevKit v1, TinyPico, XIAO ESP32C3/S3/C6, STM32 Nucleo, Raspberry Pi Pico, and more. Programming languages: Wiring (Arduino IDE), MicroPython, CircuitPython, Rust, Zephyr.

Here’s what you’ll find in the simulator:

  • WiFi simulation — test MQTT, HTTP, and IoT protocols without a physical router
  • Virtual logic analyzer — capture digital signals (UART, I2C, SPI) and analyze them with PulseView right in your browser
  • GDB debugger — step through code, set breakpoints, inspect variables; the GDB server runs on a Linux kernel emulated inside the browser
  • SD card — file system simulation
  • Chips API — create your own virtual components and share them with the community
  • Project sharing — just share a link, and your colleague can open and simulate the same thing

VS Code Integration — Simulation Right in Your Editor

This is the biggest change since 2022. Wokwi has an extension for VS Code that runs simulations directly in the editor — no browser needed, with a full-featured debugger.

It supports PlatformIO, ESP-IDF, Arduino, MicroPython, Rust, and Zephyr. Here’s how:

  1. Install the Wokwi Simulator extension from the VS Code Marketplace
  2. Add wokwi.toml (path to firmware) and diagram.json (connection diagram) files to your project
  3. Hit F1 → “Wokwi: Start Simulator”
  4. For debugging: F1 → “Wokwi: Start Simulator and Wait for Debugger”, then F5

There’s also a plugin for CLion (JetBrains) if VS Code isn’t your thing.

CI/CD — Testing Firmware in the Simulator on GitHub

For advanced makers and developers: Wokwi integrates with GitHub Actions. On every push to GitHub, the firmware compiles and tests in the simulator — no physical hardware required. ESP-IDF projects handle this via pytest-embedded-wokwi, and you see the results right in the CI log.

Practical use: Verify that new code hasn’t broken serial communication or MQTT before you even touch a physical board.

Free vs. Wokwi Club

Basic simulations are free and plenty for 99% of makers.

The paid Wokwi Club unlocks:

  • uploading your own libraries and binary files (like images to an SD card)
  • Private IoT Gateway — a private MQTT/HTTP gateway for simulated projects
  • offline license for the VS Code extension (simulation works without internet)

Find Wokwi at wokwi.com
Documentation: docs.wokwi.com
VS Code extension: Wokwi Simulator on VS Marketplace

Share the article:
Show your
Maker soul!
Buy a T-Shirt
Coffee for Chiptron
Give a boost to the next article

Related Articles

I’m sure that you encountered with the situation when your code or part of your code didn’t work as you wanted – operation with a few pointers, logic operations, conditions, parsing of value from long array etc. If you have…

Finally, I can write you a short tutorial how to play with ESP32 (more powerful than ESP8266). On the internet is a lot of tutorials how to do it, but this is a little bit different. I don’t have LoLin32,…

What can we create with the powerful ESP32-C6? Blink an LED? Measure temperature? How about a pocket-sized oscilloscope? That’s the ESP-Scope project by Matt, and the entire project is freely available on GitHub.

CH32V microcontrollers – you’ve probably heard of them. They are sold at a ridiculously low price but come with a very decent set of features, plus they are available in a solder-friendly package. Among the peripherals, you’ll find not only…

Learning how to use STM32 has never been easier. With the new STM32C0 series, STMicroelectronics also comes with nine videos on how to get started with the STM32C0. But the information is also useful for other STM32 series, as many…

Arduino is very popular platform with support from huge community. You can buy a lot of Arduino (compatible) boards – original Arduino, clone of Arduino with the same microcontroller (ATmega328, SAMD21) or different microcontroller (ESP32, ESP8266). Arduino board with STM32…

Trends