Wokwi for VS Code running an ESP-IDF project
Installation
Install the Extension
Install the Wokwi for VS Code extension from the Visual Studio Code Marketplace.
Request a License
Press
F1 and select “Wokwi: Request a new License”. VS Code will ask you to confirm opening the Wokwi website in your browser. Confirm by clicking “Open”.Get Your License
Click on the button that says “GET YOUR LICENSE”. You may be asked to sign in to your Wokwi account. If you don’t have an account, you can create one for free.
Example Projects
To configure Wokwi for your own project, see the Project Configuration page. If you just want to get started quickly and play around with Wokwi for VS Code, here are some example projects, preconfigured with diagram.json and wokwi.toml files.Before simulating any of the following projects, you need to compile the code and generate the firmware / ELF file. Consult the project’s README file for instructions on how to compile the code.
PlatformIO Examples
Arduino Simon Game
Memory game with 4 LEDs, 4 buttons, a buzzer, and a 7-segment display
ESP32 Network Clock
Syncs time from the internet (NTP) and displays it on an LCD display
ESP32 Web Server
HTTP server that controls 2 LEDs
ESP32 Async Web Server
HTTP server that controls 2 LEDs, using the ESPAsyncWebServer library
ESP-IDF Examples
WiFi + FreeRTOS Tasks
Example project demonstrating WiFi connectivity with FreeRTOS
SSD1306 OLED with LVGL Graphics
Graphics demo using SSD1306 OLED display and LVGL library
STM32 Examples
STM32 Nucleo64 C031C6
STM32 Nucleo64 C031C6 with STM32 HAL
CMSIS on STM32C031C6
CMSIS example for STM32C031C6
FreeRTOS on STM32C0
FreeRTOS running on STM32C0 microcontroller
ESP32 + Rust
Hello Display
Using ESP32-C3 and ILI9341 Display
esp-gallery
Interactive art gallery (ESP32-C3)
ESP32-S2 Keypad Example
Keypad input example for ESP32-S2
Scrolling Text
Using LED Dot Matrix Display
Etch-A-Sketch
Draw on an LED Dot Matrix using an analog joystick
MicroPython
Check out the MicroPython on Wokwi for VS Code repo for examples and instructions. See also the MicroPython in VS Code page for more details.Other Examples
Arduino LCD-1602 Hello World
Using Arduino Extension
Custom Chips Example
A custom chip that inverts the input signal
Raspberry Pi Pico SDK
Blinky for Raspberry Pi Pico
Sming Framework
Using Wokwi with the Sming Framework