ATmega328P · 24 Pins

Arduino Uno R3 Pinout Reference

Filter every digital, analog, PWM, I2C, SPI, UART, interrupt, and power pin on the Arduino Uno R3 (ATmega328P) with practical breadboard wiring cautions.

24 / 24
Board PinMCU / SignalCapabilitiesUsage & Safety Notes
D0 (RX)PD0
DigitalUART

Hardware Serial Receive (UART RX)

Keep disconnected during USB sketch upload.
D1 (TX)PD1
DigitalUART

Hardware Serial Transmit (UART TX)

Shared with USB Serial Monitor.
D2PD2
DigitalInterrupt

External Hardware Interrupt INT0 (attachInterrupt)

D3 (~)PD3
DigitalPWMInterrupt

PWM Output (490 Hz) + External Interrupt INT1

D4PD4
Digital

General-purpose Digital I/O (5V logic, max 20 mA safe)

D5 (~)PD5
DigitalPWM

PWM Output (980 Hz, Timer0)

D6 (~)PD6
DigitalPWM

PWM Output (980 Hz, Timer0)

D7PD7
Digital

General-purpose Digital I/O (5V logic)

D8PB0
Digital

General-purpose Digital I/O + Timer1 ICP1

D9 (~)PB1
DigitalPWM

PWM Output (490 Hz, Timer1 - ideal for Servo)

D10 (~)PB2
DigitalPWMSPI

PWM Output (490 Hz) + SPI Chip Select (SS)

D11 (~)PB3
DigitalPWMSPI

PWM Output (490 Hz) + SPI MOSI

D12PB4
DigitalSPI

SPI MISO + General Digital I/O (great for external LEDs)

D13PB5
DigitalSPI

Built-in LED (LED_BUILTIN) + SPI SCK

Toggles briefly during bootloader reset.
A0PC0
AnalogDigital

10-bit ADC Input (0-1023 for 0-5V) or Digital D14

A1PC1
AnalogDigital

10-bit ADC Input or Digital D15

A2PC2
AnalogDigital

10-bit ADC Input or Digital D16

A3PC3
AnalogDigital

10-bit ADC Input or Digital D17

A4 (SDA)PC4
AnalogI2CDigital

I2C Data Line (SDA) + 10-bit ADC (OLED, BME280, RTC)

A5 (SCL)PC5
AnalogI2CDigital

I2C Clock Line (SCL) + 10-bit ADC

5VPower
Power

Regulated 5V Rail (~400 mA USB / ~800 mA DC jack)

Never wire an LED straight from 5V to GND without a 220 Ohm resistor.
3.3VPower
Power

Regulated 3.3V Output (max 50 mA on Uno R3)

Do not power ESP8266 or motors from this pin.
GNDGround
Power

Common Ground Reference (0V) - tie all sensor GNDs together

VINPower
Power

Unregulated External Power Input (7-12V DC recommended)

Frequently Asked Questions

Which Arduino Uno pins support PWM analogWrite()?

Six digital pins marked with a tilde (~) support hardware PWM: D3, D5, D6, D9, D10, and D11.

Which pins are I2C (SDA/SCL) on Arduino Uno R3?

A4 is SDA (data) and A5 is SCL (clock), also mirrored on the dedicated SDA/SCL pins beside AREF.

Why should I avoid wiring sensors to pins D0 and D1?

D0 (RX) and D1 (TX) share the USB-to-Serial converter used for uploading sketches and Serial Monitor output.

Explore all hardware & embedded dev tools

Compare IDEs

Lesson #1: Arduino Uno Setup & Blink Pin 13 in Chrome

Watch the Matching Video Lesson

Watch on YouTube

Chrome USB WebSerial + 300 Free Credits

Test Your Circuit & Flash Real Hardware Free in Chrome

Open Gokino in Chrome, let AI generate interactive /wiring circuit diagrams, fix C++ bugs in 1 click, and upload directly to Arduino, ESP32, or STM32 with zero installation.

Launch Gokino IDE Free