XIAO ESP32C3 Simulator
the tiny RISC-V ESP32, free in your browser
Simulate Seeed Studio's XIAO ESP32C3 online: Arduino C++, MicroPython and ESP-IDF on an in-browser RISC-V engine, a live circuit canvas, a Serial Monitor and SPICE analog parts.
Free plan · No install, no account · Runs in your browser
XIAO ESP32C3 at a glance
The XIAO ESP32C3 is the same single-core RISC-V chip as the ESP32-C3 DevKit in the XIAO footprint with a much smaller pin set. Sketches port straight across as long as the GPIO numbers they use exist here; the canvas draws Seeed's pin labels so the wiring matches the board on your desk.
- Processor
- ESP32-C3, single-core RISC-V at 160 MHz
- Memory
- 400 KB SRAM · 4 MB flash
- Emulation
- esp32c3js (in-browser)
- Languages
- Arduino C++ · MicroPython · ESP-IDF
- Plan
- Free
What you can do with the XIAO ESP32C3 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.
MicroPython
Switch the board to MicroPython from the toolbar and run main.py against the same circuit. Drivers are plain .py files in the workspace, copied onto the board's filesystem before your script starts.
ESP-IDF projects
Build a full ESP-IDF project (v5.5.4) with FreeRTOS tasks, sdkconfig and components, and run it on the emulated chip without a devkit on your desk.
WiFi against a virtual access point
The emulator advertises the Velxio-GUEST network: HTTP servers, MQTT clients and NTP sync in your sketch connect and answer, without leaving the browser.
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.
XIAO footprint
The thumbnail-sized XIAO pinout: D0 to D10 with the I2C, SPI and UART pads where every XIAO has them, so projects move between XIAO boards with a pin map check.
SPICE analog parts
Op-amps, transistors, regulators and passives simulate in real time with ngspice in the browser; the board's pins drive them and read the solved voltages back.
XIAO ESP32C3 examples
This board has no examples of its own yet. These are written for the ESP32-C3 DevKit devkit, which uses the same chip: they run on the XIAO ESP32C3 after a pin map check.
ESP32-C3: Blink LEDBlink an LED on GPIO 8 of the ESP32-C3. Runs through the QEMU lcgamboa backend (libqemu-riscv32) at 160 MHz.
ESP32-C3: Serial HelloPrint Hello World and a heartbeat every second from ESP32-C3 via Serial. Runs in the browser.
ESP32-C3: RGB LEDCycle through red, green, and blue on an RGB LED using GPIO 6, 7, 8 on the ESP32-C3.
ESP32-C3: Button + LEDPress a button on GPIO 9 to toggle an LED on GPIO 8. Tests GPIO input on the browser ESP32-C3 emulator.
ESP32-C3: Serial EchoType in Serial Monitor and see it echoed back by the ESP32-C3 browser emulator.
ESP32-C3: DHT22 Temperature & HumidityRead temperature and humidity with a DHT22 sensor on GPIO3 of the ESP32-C3 RISC-V board.
ESP32-C3: HC-SR04 Ultrasonic DistanceMeasure distance with an HC-SR04 sensor on the ESP32-C3. TRIG on GPIO5, ECHO on GPIO6.
ESP32-C3: PIR Motion DetectorDetect motion with a PIR sensor on GPIO7 of the ESP32-C3. Prints detection events and count to Serial.
Related simulators
Frequently asked questions
- Which ESP32-C3 examples run on the XIAO ESP32C3?
- The ESP32-C3 DevKit examples in the gallery use the same chip and core. Move any pin the XIAO does not bring out and they run unchanged.
- Does WiFi work on the XIAO ESP32C3 simulator?
- Yes. Sketches connect to the emulator's Velxio-GUEST access point; HTTP, MQTT and NTP code runs without leaving the browser.
- Is the XIAO ESP32C3 free to simulate?
- Yes. It runs on the free plan, with no install and no account required.
- Is the XIAO ESP32C3 simulator free?
- Yes. The XIAO ESP32C3 runs on the free plan: open the editor, place the board and press Run. No install and no account are needed, and Velxio's editor and simulator core are open source under the GNU AGPLv3.
- Which languages can I use on the XIAO ESP32C3?
- Arduino C++, MicroPython, ESP-IDF. The language is switched from the toolbar; the circuit on the canvas stays the same.
Ready to simulate the XIAO ESP32C3?
Open the editor, place the XIAO ESP32C3 from the picker, wire what you need and press Run.
Launch the XIAO ESP32C3 simulator →