Arduino & ESP32 Simulator Online

sketch.ino
Click a pin to connect
Serial Monitor

About This Arduino Simulator

This free online Arduino simulator lets you write, compile, and run Arduino C++ code directly in your browser. No software installation required. Supports 6 board families: Arduino Uno, Arduino Nano, Raspberry Pi Pico, ESP32, ESP32-C3, ESP32-S3, and Raspberry Pi 3B.

How It Works

Arduino Uno/Nano: Your sketch compiles to AVR machine code using the real arduino-cli toolchain. The compiled hex runs on a cycle-accurate ATmega328p emulator (avr8js) at 16MHz in your browser. All 21 virtual components (LEDs, buttons, potentiometers, servos, LCD, OLED, sensors) are interactive.

Raspberry Pi Pico: Compiled UF2 firmware runs on an RP2040 emulator (rp2040js) at 125MHz in your browser. Supports GPIO, ADC, PWM, and UART.

ESP32 / ESP32-C3 / ESP32-S3: Sketches compile with DIO flash mode and run on Espressif's QEMU on our server. Serial output and GPIO pin changes stream to your browser in real-time via SSE. A compile-time GPIO bridge visualizes digitalWrite() calls as LED state changes.

Supported Components

21 virtual components with live SVG rendering: LED (red/green/yellow/RGB), push button, potentiometer, slide potentiometer, slide switch, servo motor, buzzer (Web Audio), relay, NeoPixel, 7-segment display, rotary encoder, membrane keypad, LCD 16x2, OLED SSD1306, DHT22 temperature sensor, HC-SR04 ultrasonic sensor, NTC temperature sensor, and photoresistor (LDR). Components are powered by wokwi-elements (MIT licensed).

Features

Frequently Asked Questions

Is this simulator free?

Yes, completely free with no signup required. Arduino and Pico simulations run in your browser. ESP32 simulations use shared server resources with automatic 10-minute timeout.

Can I use my own Arduino libraries?

The compile server includes popular libraries (Servo, Wire, SPI, Adafruit NeoPixel, DHT, LiquidCrystal, U8g2, FastLED, and more). You can also use multi-file projects with custom header files.

How is this different from Wokwi?

This simulator supports ESP32 via real QEMU emulation (not just browser-side), Raspberry Pi Pico, and Raspberry Pi 3B. It uses the same wokwi-elements for component visuals and supports Wokwi's diagram.json format for circuit interchange.

Why does my ESP32 sketch crash after 14 seconds?

ESP32-C3 QEMU has a watchdog timer limitation. ESP32 (Xtensa) runs indefinitely. The crash dump is filtered from the serial monitor.