Skip to main content
Arduino Uno is the most popular board in the Arduino family. It is powered by the ATmega328p chip, which has 32K bytes of Flash program memory, 2k bytes of SRAM and 1K bytes of EEPROM.

Pin names

Pins 0 to 13 are digital GPIO pins. Pins A0 to A5 double as analog input pins, in addition to being digital GPIO pins. There are three ground pins: GND.1, which is on top of the board, next to pin 13, and GND.2/GND.3, which are on the bottom. Pins VIN / 5V are connected to the positive power supply. Pins 3.3V / IOREF / AREF / RESET are not available in the simulation. Digital pins 3, 5, 6, 9, 10, and 11 have hardware PWM support. Some of the digital pins also have additional functions:
Serial (USART)
RX - Serial receive
Serial (USART)
TX - Serial transmit
External interrupt
INT0
External interrupt
INT1
SPI
SS (Chip select)
SPI
MOSI
SPI
MISO
SPI
SCLK (Clock)
I2C
SDA (Data)
I2C
SCL (Clock)

On board LEDs

The board includes four LEDs: In general, only the “L” LED can be controlled by the user’s code. You can use the LED_BUILTIN constant to reference it from your code:
See Blink for a complete code example.

Attributes

* Many Arduino libraries assume 16 MHz clock frequency. Changing the clock frequency will void your warranty!

Simulation features

The Arduino Uno is simulated using the AVR8js Library. The table below summarizes the status of features: Legend:
✔️ Simulated
🟡 Simulated, but see notes
❌ Not implemented
If you need any of the missing features, please open an issue on the AVR8js repo or reach out on Discord.

Serial Monitor

You can use the Serial Monitor to receive information from your Arduino code, such as debug print. You can also use it to send information to your code, such as textual commands. For more information and code samples, check out the Serial Monitor guide. It also explains how to configure the Serial monitor, e.g. set the line ending characters.

Libraries

The simulator supports many popular Arduino libraries. For a complete list, see the Libraries guides.

Simulator examples