IoTSimulator

Free online Arduino simulator

Build virtual circuits, write real Arduino C++ code, and simulate Arduino Uno, Nano, and Mega in your browser.

The full Arduino simulator in action

Real C++ editor on the left, interactive circuit canvas on the right, and AI copilot ready to help.

IoTSimulator Studio
IoTSimulator Arduino workbench screenshot showing Arduino Uno and code editor

How to simulate Arduino in 3 simple steps

Zero installation. No drivers to configure. Start building virtual electronics immediately.

1
Pick your board and parts
Pick Arduino Uno, Nano, or Mega. Add LEDs, resistors, ultrasonic sensors, and LCDs with snap-to-grid placement.
2
Wire on the virtual breadboard
Route neat orthogonal jumper wires between board pins and components with color coding and short-circuit warnings.
3
Write code and run simulation
Type Arduino C++ in the Monaco editor. Click run to compile and simulate in real time with the live serial monitor.

Everything you need to build and test

From beginner breadboard experiments to complex multi-sensor Arduino projects.

Clean orthogonal wiring on virtual breadboard

Connect Arduino Uno, Nano, or Mega pins to LEDs, potentiometers, and resistors without tangled mess. Color-code jumper wires with real snapping physics.

  • Snap-to-pin alignment with automatic 90-degree orthogonal routing
  • Realistic resistor color-band calculator and interactive potentiometers
  • Zero risk of board short-circuits or fried electronics components
IoTSimulator
Arduino Uno breadboard wiring workbench simulation

Supported Arduino boards

Cycle-accurate AVR microcontrollers simulated directly inside WebAssembly.

Arduino Uno R3

Arduino Uno R3

The standard board for learning electronics. Practice GPIO, digital logic, and basic analog sensors.

MCU:ATmega328P (16 MHz)
I/O:14 Digital I/O (6 PWM), 6 Analog IN
Flash:32 KB Flash, 2 KB SRAM
Simulate Arduino Uno R3
Arduino Nano

Arduino Nano

Compact form factor designed for virtual breadboards, small robots, and wearable electronics prototypes.

MCU:ATmega328P (16 MHz)
I/O:14 Digital I/O (6 PWM), 8 Analog IN
Flash:32 KB Flash, 2 KB SRAM
Simulate Arduino Nano
Arduino Mega 2560

Arduino Mega 2560

Powerful board with 54 I/O pins and 4 hardware UART serial ports for 3D printers and multi-sensor setups.

MCU:ATmega2560 (16 MHz)
I/O:54 Digital I/O (15 PWM), 16 Analog IN
Flash:256 KB Flash, 8 KB SRAM
Simulate Arduino Mega 2560

Support a vast library of IoT components

Every sensor, actuator, and display you need to build realistic virtual IoT prototypes.

Sensors & Inputs

15+ Parts
DHT22 / DHT11
DHT22 / DHT11
Temp & Humidity
HC-SR04
HC-SR04
Ultrasonic Sonar
PIR Sensor
PIR Sensor
Motion Detector
MPU6050
MPU6050
6-Axis Gyro & Accel
Photoresistor
Photoresistor
LDR Light Sensor
Potentiometer
Potentiometer
Analog Rotary Dial
Gas Sensor
Gas Sensor
MQ-2 Gas & Smoke
Flame Sensor
Flame Sensor
IR Fire Detector
Tilt Switch
Tilt Switch
Ball Tilt Angle
Sound Sensor
Sound Sensor
Acoustic Trigger

Actuators & Outputs

14+ Parts
SG90 Servo
SG90 Servo
180° Angle Actuator
5V Relay Module
5V Relay Module
High Voltage Switch
Buzzer
Buzzer
Piezo Tone Generator
Stepper Motor
Stepper Motor
Precision Rotation
RGB LED
RGB LED
Multi-Color Diode
Pushbutton
Pushbutton
Tactile Momentary
Slide Potentiometer
Slide Potentiometer
Linear Fader Dial
DIP Switch 8
DIP Switch 8
8-Way Bus Switch
Rotary Encoder
Rotary Encoder
Incremental Dial
Slide Switch
Slide Switch
SPDT Toggle Switch

Displays & Modules

10+ Parts
SSD1306 OLED
SSD1306 OLED
128x64 I2C Graphic
16x2 / 20x4 LCD
16x2 / 20x4 LCD
Alphanumeric Display
7-Segment Display
7-Segment Display
Multiplexed Digits
Neopixel Matrix
Neopixel Matrix
Addressable RGB Grid
DS1307 RTC
DS1307 RTC
Real-Time Clock
MicroSD Card
MicroSD Card
SPI Data Logger
Membrane Keypad
Membrane Keypad
4x4 Matrix Input
LED Bar Graph
LED Bar Graph
10-Segment Level
LED Ring
LED Ring
Circular Neopixels
Breadboard
Breadboard
Full Breadboard Rails

Frequently asked questions

Clear answers to common questions about simulation accuracy, supported C++ libraries, and real hardware compatibility.

Yes! IoTSimulator is completely free for students, hobbyists, and educators. You can build circuits, write Arduino C++ code, and simulate projects without any subscription or payment.
Yes! The simulator supports standard and popular Arduino libraries including Servo.h, Wire.h, SPI.h, Adafruit SSD1306, LiquidCrystal, and DHT sensor libraries.
No installation is needed. IoTSimulator runs directly inside your web browser using WebAssembly. You do not need CH340 drivers or local software.
Yes! You can copy your sketch directly into the official Arduino IDE and upload it to a physical board with zero code changes.
The built-in AI Copilot can generate entire circuits from a simple sentence and explain or fix compiler errors automatically in seconds.
IoTSimulator combines clean orthogonal wiring with fast cloud emulation and a built-in AI Copilot that can generate circuits and fix syntax mistakes in seconds.