⚡
usefultools.dev
D13

Arduino Pinout Reference (Uno, Nano, Mega…)

NEW

Arduino pinout reference for Uno, Nano, Mega, Leonardo, Micro, Pro Mini, Nano Every and Due: PWM, analog, interrupt, SPI, I2C and UART pins.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Arduino Uno R3 — ATmega328P @ 16 MHz, 5 V logic

Digital I/O:
14 (6 PWM: 3, 5, 6, 9, 10, 11)
Analog inputs:
6 (A0–A5), 10-bit
Interrupt pins:
D2 (int 0), D3 (int 1); pin-change interrupts on all pins
Memory:
32 KB flash (0.5 KB bootloader), 2 KB SRAM, 1 KB EEPROM
Current per I/O pin:
20 mA recommended, 40 mA absolute max
Total I/O current:
200 mA through the chip VCC/GND pins (datasheet)
3.3 V pin:
50 mA max
VIN:
7–12 V recommended

Pins and limits to watch

  • Never drive a motor, relay coil or long LED strip straight from an I/O pin — use a transistor or driver.
  • D0/D1 carry Serial: anything wired there can block sketch uploads.
  • A4/A5 and the SDA/SCL pins are the same I2C signals — using I2C takes both away from analog use.

Header diagram (physical order — tap a pin to look it up)

Digital header (left part)

Digital header (right part)

Power header

Analog header

  • Power / control
  • Analog in (ADC)
  • PWM
  • I2C
  • SPI
  • UART / Serial

29 of 29 pins

PinIn codeFunctionsNotes
D00
Digital I/OUART / Serial
Serial RX⚠ Shared with the USB-serial chip — avoid while using Serial or uploading
D11
Digital I/OUART / Serial
Serial TX⚠ Shared with the USB-serial chip — avoid while using Serial or uploading
D22
Digital I/OInterrupt
External interrupt INT0 → attachInterrupt(digitalPinToInterrupt(2), …) = interrupt 0
D33
Digital I/OPWMInterrupt
PWM ~490 Hz (Timer2); external interrupt INT1 = interrupt 1
D44
Digital I/O
General-purpose I/O
D55
Digital I/OPWM
PWM ~980 Hz (Timer0, which also drives millis())
D66
Digital I/OPWM
PWM ~980 Hz (Timer0)
D77
Digital I/O
General-purpose I/O
D88
Digital I/O
General-purpose I/O
D99
Digital I/OPWM
PWM ~490 Hz (Timer1)⚠ The Servo library disables PWM on D9 and D10
D1010
Digital I/OPWMSPI
PWM ~490 Hz (Timer1); SPI SS — keep it an OUTPUT while the board is SPI master
D1111
Digital I/OPWMSPI
PWM ~490 Hz (Timer2); SPI MOSI (also on the ICSP header)⚠ tone() uses Timer2 and interferes with PWM on D3 and D11
D1212
Digital I/OSPI
SPI MISO (also on the ICSP header)
D1313
Digital I/OSPIOn-board LED
SPI SCK; LED_BUILTIN (on-board "L" LED)⚠ The LED load makes D13 a poor input — prefer another pin for buttons
A0A0
Analog in (ADC)Digital I/O
10-bit ADC input; also digital pin 14
A1A1
Analog in (ADC)Digital I/O
10-bit ADC input; also digital pin 15
A2A2
Analog in (ADC)Digital I/O
10-bit ADC input; also digital pin 16
A3A3
Analog in (ADC)Digital I/O
10-bit ADC input; also digital pin 17
A4A4
Analog in (ADC)Digital I/OI2C
I2C SDA (Wire); 10-bit ADC; digital pin 18
A5A5
Analog in (ADC)Digital I/OI2C
I2C SCL (Wire); 10-bit ADC; digital pin 19
SDA—
I2C
Same signal as A4, on the R3 header next to AREF
SCL—
I2C
Same signal as A5, on the R3 header next to AREF
IOREF—
Power / control
Tells shields the I/O voltage (5 V on the Uno)
VIN—
Power / control
Input to the on-board regulator: 7–12 V recommended
5V—
Power / control
Regulated 5 V output (from USB or the regulator)⚠ Feeding 5 V in here bypasses the regulator and its protection
3V3—
Power / control
3.3 V output, 50 mA max
AREF—
Power / control
Analog reference input for analogReference(EXTERNAL)⚠ Never above the board supply; do not connect a voltage while analogReference(DEFAULT/INTERNAL) is active
RESET—
Power / control
Pull LOW to reset the microcontroller
GND—
Power / control
Ground

Source: docs.arduino.cc Uno Rev3 page and the ATmega328P datasheet. Board revisions and clones differ — verify against the datasheet and schematic for your exact board before wiring.

⚡

Quick Examples

Typical inputs and the results this tool produces.

Filter
Uno · PWM
D3 D5 D6 D9 D10 D11
Filter
Uno · Interrupt
D2 (int 0), D3 (int 1)
Search
Uno · search "sda"
A4 and SDA header pin
Filter
Mega 2560 · Interrupt
D2 D3 D18 D19 D20 D21
Board
Leonardo · SPI
ICSP header only (14–16)
📖

Overview

This Arduino pinout reference collects the pin facts you normally hunt for across several datasheets: which pins do PWM, which ones read analog voltages, which pin numbers attachInterrupt accepts, where SPI, I2C and the serial ports live, which pin drives LED_BUILTIN, and how much current each pin and the whole chip can supply.

Pick an Arduino Uno R3, Nano, Mega 2560, Leonardo, Micro, Pro Mini, Nano Every or Due, then search by pin (13, A4) or by function (SDA, interrupt), or filter the table to PWM, analog or SPI pins. A simple header diagram highlights the matching pins, and board-specific warnings point out the classic traps such as the Due’s 3.3 V-only I/O or SPI moving to 50–53 on the Mega.

The data comes from the official Arduino board pages and the Microchip/Atmel datasheets. Revisions and clones vary, so always confirm against the documentation for your exact board.

Why use this tool?

  • All common Arduino boards in one searchable table
  • Interrupt numbers and PWM timers at a glance
  • Spot shield incompatibilities before you wire
  • Current limits and voltage levels per board
  • Copy the filtered table as Markdown
⭐

Features

🔎

Search and filter

Find a pin by number, label or function, or list only PWM, analog, interrupt, SPI, I2C or UART pins.

📌

Header diagram

Color-coded header rows (physical order for Uno, Nano, Leonardo, Nano Every); tap a pin to look it up.

⚡

Electrical limits

Logic voltage, per-pin and total current, VIN range and 3.3 V pin current where documented.

⏱️

Timer notes

PWM frequency per pin and conflicts such as Servo on D9/D10 and tone() on D3/D11.

⚠️

Board warnings

Analog-only A6/A7, ICSP-only SPI on the Leonardo, 3.3 V I/O on the Due and more.

📋

Markdown export

Copy the pins you filtered as a Markdown table for notes or a README.

🛠️

How to Use

1

Choose the board

Select your Arduino in the Board list.

2

Search or filter

Type a pin or function in Search, or pick a Function such as PWM.

3

Read the notes

Check the Notes column and the warnings box before wiring.

4

Copy if needed

Use Copy as Markdown to keep the table with your project.

🤔

Frequently Asked Questions