Arduino Simulator Online
Write a sketch, press Run and watch the circuit work. A simulated Uno in your browser, nothing to install.
Run Arduino code without a board
Pick a circuit, write the sketch and press Run. The LED blinks, the servo turns when you drag the knob, the LCD prints your text and the serial monitor shows every Serial.println. Nothing to install and no account needed.
Your sketch is compiled with Arduino's own toolchain for an Uno and runs on a simulated ATmega328P, the chip on the board, instruction by instruction. So delay(), millis(), analogWrite() and the timers behave the way they do on real hardware, and a sketch that works here is ordinary Arduino code you can upload to a board.
What makes this Arduino simulator useful
- Eleven ready circuits: LEDs, an RGB LED, a pushbutton, a potentiometer, a light sensor, a buzzer, a servo, a 7-segment display, a 16x2 LCD, a NeoPixel ring, an ultrasonic distance sensor and a thermistor, already wired to the Uno.
- Use the parts while the sketch runs: press the button, turn the knob, move the light or the distance slider, and watch your code answer.
- A serial monitor that reads and sends, and a Signals view that draws every wired pin over time, so you can see a PWM wave or a button bounce.
- The libraries beginners reach for:
Servo,LiquidCrystal,LiquidCrystal_I2C,Adafruit_NeoPixel,Wire,SPI,EEPROMandSoftwareSerial. Compiler errors read the way the Arduino IDE prints them.
What you can try in the Arduino simulator
- Blink: change the two
delay()values and see the LED follow. Then blink it withoutdelay(), usingmillis(). - Servo and knob: map the potentiometer's
analogRead()to an angle withmap()and drive the servo with it. - Distance sensor: time the echo of an HC-SR04 with
pulseIn(), turn it into centimeters and print it on the serial monitor.