Opens in a new tab

Arduino Uno Pinout

Arduino Uno R3 is the board a whole generation of makers learned on. An ATmega328P microcontroller at 16 MHz, 5 V logic and a pin layout that hundreds of shields were built for.

Clones with a CH340 converter cost a fraction of the original and have the same pinout.

Specifications

  • ATmega328P: 8-bit AVR, 16 MHz
  • 32 kB flash (0.5 kB used by the bootloader), 2 kB SRAM, 1 kB EEPROM
  • 14 digital pins (6× PWM), 6 analog inputs (10-bit ADC)
  • UART, I2C (A4/A5 and separate SDA/SCL pins) and SPI (D10–D13 and the ICSP header)
  • 5 V logic, 7–12 V power input (VIN or barrel jack) or USB power
  • USB-B with an ATmega16U2 converter (CH340 on clones)
  • 68.6 × 53.4 mm

The newer Uno R4 (Minima and WiFi) has the same pin layout but a completely different 32-bit chip (Renesas RA4M1) – the pinout above applies to the classic R3 and its clones.

Pinout and pin table

Hover over a pin in the diagram or a table row; use the filter to highlight a bus. You can download the pinout as PNG or SVG.

Pin names:
Arduino Uno R3 – pinoutArduino Uno R3 – pinoutchiptron.eu · CC BY 4.0ATmega328PUSB-BRESETLTXRXONICSPPOWERANALOG INDIGITAL (PWM ~) NC Nezapojeno (rezerva) IOREF ← Logic level for shields (5 V) RESET → Reset – connect to GND 3V3 ← 3.3 V output, max. 50 mA 5V ↔ 5 V from the regulator or from USB GND GND VIN → Power input 7–12 V A0 PC0 ADC0 A1 PC1 ADC1 A2 PC2 ADC2 A3 PC3 ADC3 A4 PC4 SDA ADC4 A5 PC5 SCL ADC5 SCL PC5 SDA PC4 AREF ← ADC reference (default 5 V) GND D13 PB5 SCK LED (L) D12 PB4 MISO D11 PB3 MOSI PWM D10 PB2 SS PWM D9 PB1 PWM D8 PB0 D7 PD7 D6 PD6 PWM D5 PD5 PWM D4 PD4 D3 PD3 PWM INT1 D2 PD2 INT0 D1 PD1 TX D0 PD0 RX GPIO Chip port UART I2C SPI ADC (analog) PWM Power Ground (GND) Control / reset Not connected
Download:PNGSVG
Pin table – Arduino Uno R3
NameChip portDirectionUARTI2CSPIPWMADCNote
NC–Nezapojeno (rezerva)
IOREFoutputBoard logic level (5 V) – shields that support both 3.3 V and 5 V are configured according to it.
RESETinputReset – connecting to GND restarts the chip (same as the RESET button).
3V3output3.3 V output, max. 50 mA
5Vinput/output5 V from the regulator (when powered from the jack or VIN) or from USB; it can also power the board, but this bypasses the protection.
GND–
GND–
VINinputPower input 7–12 V. It sits after the power jack's protection diode – when powered from the jack it is 0.7–1 V lower; when powered via VIN, reverse-polarity protection does not work.
A0PC0input/outputADC0
A1PC1input/outputADC1
A2PC2input/outputADC2
A3PC3input/outputADC3
A4PC4input/outputSDAADC4I2C SDA (Wire) – same as the SDA pin
A5PC5input/outputSCLADC5I2C SCL (Wire) – same as the SCL pin
D0PD0input/outputRXUART RX – shared with the USB-serial converter (program upload)
D1PD1input/outputTXUART TX – shared with the USB-serial converter
D2PD2input/outputExternal interrupt INT0
D3PD3input/outputPWMExternal interrupt INT1; PWM from Timer 2 (OC2B)
D4PD4input/output
D5PD5input/outputPWMPWM from timer 0 (OC0B)
D6PD6input/outputPWMPWM from timer 0 (OC0A)
D7PD7input/output
D8PB0input/output
D9PB1input/outputPWMPWM from timer 1 (OC1A)
D10PB2input/outputSSPWMPWM from timer 1 (OC1B); SPI SS
D11PB3input/outputMOSIPWMPWM from timer 2 (OC2A); SPI MOSI (also on the ICSP header)
D12PB4input/outputMISOSPI MISO (also on the ICSP header)
D13PB5input/outputSCKSPI SCK (also on the ICSP header); onboard LED "L"
GND–
AREFinputADC reference (default 5 V)
SDAPC4input/outputSDAI2C SDA – propojeno s A4
SCLPC5input/outputSCLI2C SCL – propojeno s A5

What to watch out for

  • D0 and D1 (UART) share the USB-serial converter – if anything is connected to them, uploading fails.
  • Draw at most 20 mA per pin (absolute maximum 40 mA) and no more than 200 mA from the whole chip.
  • The 3V3 pin supplies only 50 mA. USB is protected by a 500 mA resettable fuse.
  • SDA and SCL next to AREF are the same signals as A4 and A5 – don’t use them as analog inputs at the same time.
  • The Uno has no A6 and A7 analog inputs; those are on the Nano and Pro Mini.

Arduino Uno projects on chiptron.eu/

Projects and guides on chiptron.eu/:

More pinouts

See all pinouts on the Pinouts page.

Related Articles