Arduino Uno, Nano & Mega
The classic 5 V Arduino boards, based on Microchip AVR microcontrollers running at 16 MHz. They are simulated with avr8js and compiled with the official Arduino AVR Boards core.
Common features
| Feature | Details |
|---|---|
| Logic level | 5 V |
analogRead() | 10-bit, 0–1023 |
analogWrite() | PWM on the pins marked with ~ |
tone() | Any digital pin |
| Serial Monitor | Serial, on pins 0 (RX) and 1 (TX) |
| Built-in LED | Pin 13, marked L on the board |
| Power LED | Lights up while the simulation runs |
Boards
The most popular board for learning Arduino.
Like the Uno, but small enough to fit on a breadboard.
The Nano has the same ATmega328P as the Uno, plus two extra analog inputs, A6 and A7, which can only be used with analogRead().
Lots of pins for big projects.
The Mega has 54 digital pins and 16 analog inputs. Note that its I²C pins are 20 (SDA) and 21 (SCL), and its SPI pins are 50–53.
Default pins used by blocks
Blocks for components that need several pins use these pins. They are the same on all three boards. Check the generated sketch.ino for the exact wiring:
Tips
- Use the
A0–A5names for analog inputs:analogRead(A0). Serial.begin(9600)orSerial.begin(115200)both work; the baud rate does not affect the simulator.- I²C modules (LCD I2C, OLED, RTC, sensors) connect to A4 (SDA) and A5 (SCL) on the Uno and Nano, and to 20/21 on the Mega.
Ready to try it?
Sign in with Google, pick a board and run your first simulation in two minutes. Free during the launch period.
Start simulating free