Skip to main content

Arduino Uno Pinout

Arduino Uno R3 · ATmega328P, Uno R3 form factor

Fourteen digital pins, six analog, and a handful with second jobs — PWM, interrupts, SPI and I²C — which is what the pinout is usually consulted for.

Checked against the KiCad library and datasheet on

Arduino Uno R3 pinout: KiCad footprint Module:Arduino_UNO_R3 seen from the top, beside the KiCad library symbol MCU_Module:Arduino_UNO_R3 with every pin number and name
The Uno R3 shield footprint (left) and KiCad's symbol (right). KiCad numbers the header pins 1 to 32 round the board; the names beside them are the Arduino labels in the table. Exported from the KiCad 9 libraries (MCU_Module:Arduino_UNO_R3, Module:Arduino_UNO_R3). Open full size

Pin by pin

PinNameFunction
0RXUART receive — shared with USB
1TXUART transmit — shared with USB
2D2External interrupt 0
3D3 ~PWM, external interrupt 1
4D4Digital I/O
5D5 ~PWM
6D6 ~PWM
7D7Digital I/O
8D8Digital I/O
9D9 ~PWM
10D10 ~PWM, SPI SS
11D11 ~PWM, SPI MOSI
12D12SPI MISO
13D13SPI SCK, on-board LED
A0–A3A0–A3Analog in; also digital I/O 14 to 17
A4A4Analog in, I²C SDA
A5A5Analog in, I²C SCL
VINVINInput to the on-board regulator, 7–12 V recommended
5V5VRegulated 5 V
3V33.3V3.3 V output, 50 mA maximum
AREFAREFAnalog reference input
IOREFIOREFTells shields the board's I/O voltage (5 V on the Uno)

Things that catch people out

  • Pins 0 and 1 are wired to the USB-serial bridge — using them breaks uploads.
  • 40 mA per pin is the ATmega328P's absolute maximum (200 mA through its VCC and GND pins); Arduino recommends staying at 20 mA per pin.
  • The SDA and SCL pins beside AREF are the same signals as A4 and A5, not a second I²C bus.

Putting the Arduino Uno R3 on a PCB

  • A shield follows the Uno's outline and header positions; KiCad's Module:Arduino_UNO_R3 footprint has them, including the offset that stops a shield going on the wrong way.
  • Moving off the Uno onto your own board means adding what it gave you: a 5 V regulator, the 16 MHz crystal with its two capacitors, the reset pull-up and decoupling on every VCC pin.

Designing a board around it? Read From an Arduino prototype to a custom PCB.

Common questions

Which Arduino Uno pins are PWM?
Six: 3, 5, 6, 9, 10 and 11, marked with ~ on the board.
Which pins are I²C on the Arduino Uno?
A4 is SDA and A5 is SCL. The two pins labelled SDA and SCL near AREF on the R3 are connected to the same signals.
Can the Uno's 3.3 V pin power a module?
Only a small one: it supplies 50 mA at most, which is not enough for a Wi-Fi module's transmit bursts.

Moving a project off the Uno? Describe it and PCBEditor designs a standalone board, including the regulator and clock the Uno was providing.

Turn a project into a board →

Sources

Other pinouts