All pinouts

Arduino AVR

Arduino Uno R3 Pinout

The Arduino Uno R3 is the canonical Arduino board: an ATmega328P running at 16 MHz with 14 digital I/O, 6 analog inputs, and a fixed pin layout that defines the shield ecosystem. Below is every pin with its alternate functions.

Specifications

MCU
ATmega328P, 16 MHz
Flash
32 KB (0.5 KB used by bootloader)
SRAM
2 KB
Digital I/O
14 (6 PWM-capable)
Analog inputs
6 (10-bit ADC)
Operating voltage
5V (7–12V on VIN)

Pin reference

PinNameType / functionsNotes
D0RXDigital I/O, UART RXUsed by USB serial — avoid for I/O.
D1TXDigital I/O, UART TXUsed by USB serial.
D2INT0Digital I/O, external interrupt
D3INT1 / PWMDigital I/O, PWM, external interrupt
D4D4Digital I/O
D5PWMDigital I/O, PWM
D6PWMDigital I/O, PWM
D7D7Digital I/O
D8D8Digital I/O
D9PWMDigital I/O, PWM
D10SS / PWMDigital I/O, SPI SS, PWM
D11MOSI / PWMDigital I/O, SPI MOSI, PWM
D12MISODigital I/O, SPI MISO
D13SCK / LEDDigital I/O, SPI SCK, onboard LED
A0Analog 0Analog input / Digital I/O
A1Analog 1Analog input / Digital I/O
A2Analog 2Analog input / Digital I/O
A3Analog 3Analog input / Digital I/O
A4SDAAnalog input / I2C SDA
A5SCLAnalog input / I2C SCL
AREFAnalog referenceReference voltage for ADC
VINVINPower input, 7–12V
5V5V outputRegulated 5V, ~500 mA
3V33.3V outputRegulated 3.3V, ~50 mA
GNDGroundPower
RESETResetPull LOW to reset

Gotchas

  • 01Each I/O pin can sink/source 20 mA max. Total across all pins should stay under 200 mA.
  • 02D0 (RX) and D1 (TX) are shared with the USB-serial chip — using them for I/O will interfere with Serial.print and uploads.
  • 03The 3.3V rail can only supply ~50 mA. Power-hungry 3.3V modules need an external regulator.
  • 04Only D2 and D3 support hardware interrupts (attachInterrupt).

Explain code for this board

Paste a sketch and get a plain-English breakdown.

Open code explainer

Generate a wiring diagram

Describe your circuit and get a Mermaid diagram you can share.

Open diagram generator

Other boards