esp32sim - Run real ESP32 firmware in your browser

Show HN: Esp32sim – Run ESP32 firmware in the browser

esp32sim is an open-source ESP32 emulator written in Rust that runs unmodified firmware for four chips — the classic ESP32, ESP32-S3, ESP32-C3, and ESP32-C6 — across both Xtensa and RISC-V architectures. Each chip boots the real mask ROM, the real bootloader, and your untouched application image, with enough of the SoC modeled to run actual projects end to end: GPIO, UART, timers, displays, cameras, audio, and even a virtual WiFi access point with NAT to the real network. No hardware, no cloud, no accounts, and it's MIT licensed. Try it instantly in your browser via WebAssembly, or run it locally with the command line.

Run real firmware locally or in your browser — no hardware, no cloud, no subscription.
  1. mrtksn

    Very cool, that was something I was looking into very recently.

    I vibe coded a drone simulator that flys drones by simulating ESP32 in the browser where the actual flight controller C code that runs on real ESP32 is running as WebAssembly: https://mrtksn.github.io/liftlab/

    So the drones are flying with the actual ESP32 flight controller and you can flash the real ESP32 board directly.

  2. raminf

    Outstanding! Very cool.

    On a lot of IoT projects, it's easier to create a "functional" software simulator for the hardware part so the mobile and cloud people can get going without having to wait for test hardware. Those simulators work at the level of emulating BLE or WiFi/API commands. Once you have hardware, the simulators are only used in CI/CD testing.

    Where I can see this coming handy is instead of a "functional simulator" to actually have real firmware running for each mobile or back-end dev and CI/CD runner.

  3. snakeman

    Very nice! Are you planning P4 support?

    Have lots of S3 units and some C6, but P4 are the ones getting the most attentation at the moment.

  4. Klovy

    This emulator is actually pretty cool — especially since it’s based on an ESP32; you can do all sorts of neat things with it, even simple ones:)

  5. djmips

    Is there one for RP2350?

More from this day

2026-10-17