Robot Maker Toolkit › Pinouts › Arduino UNO R3

Arduino UNO R3 pinout

Every Arduino UNO R3 pin with its capabilities (digital, PWM, ADC, I2C, SPI, UART) and the wiring gotchas that bite. The classic beginner board. 5 V logic, forgiving, huge library support.

ATmega328P @ 16 MHzLogic: 5 VFree in app

Arduino UNO R3 pinout diagram

Arduino UNO R3 pinout diagramUSBArduino UNO R3NC (not detailed in the catalog yet)NCIOREF: Power out 5V. Watch out: Logic-level reference for shields — output only, never feed power inIOREFPower out 5V⚠RESET: Reset. Watch out: Active LOW — pull to GND to reset; shield reset buttons land hereRESETReset⚠3.3V: Power out 3.3V. Watch out: Max ~150 mA3.3VPower out 3.3V⚠5V: Power out 5V. Watch out: Total board current limited by USB/regulator5VPower out 5V⚠GND: GroundGNDGroundGND: GroundGNDGroundVIN: Power in 7–12VVINPower in 7–12VA0: Analog in · pin 14 in codeA0Analog in · pin 14 in codeA1: Analog in · pin 15 in codeA1Analog in · pin 15 in codeA2: Analog in · pin 16 in codeA2Analog in · pin 16 in codeA3: Analog in · pin 17 in codeA3Analog in · pin 17 in codeA4: Analog in · I2C SDA · pin 18 in code. Watch out: Using it as GPIO takes out I2CA4Analog in · I2C SDA · pin 18 in code⚠A5: Analog in · I2C SCL · pin 19 in code. Watch out: Using it as GPIO takes out I2CA5Analog in · I2C SCL · pin 19 in code⚠SCL = A5: Analog in · I2C SCL · pin 19 in code. Watch out: Using it as GPIO takes out I2CSCLAnalog in · I2C SCL · pin 19 in code⚠SDA = A4: Analog in · I2C SDA · pin 18 in code. Watch out: Using it as GPIO takes out I2CSDAAnalog in · I2C SDA · pin 18 in code⚠AREF: Analog reference. Watch out: Call analogReference(EXTERNAL) before feeding a voltage in, or it shorts against the internal referenceAREFAnalog reference⚠GND: GroundGNDGroundD13: SPI SCK · Built-in LED. Watch out: The L LED loads this pin; also on the ICSP headerD13SPI SCK · Built-in LED⚠D12: SPI MISOD12SPI MISO~D11 = D11: PWM · SPI MOSI~D11PWM · SPI MOSI~D10 = D10: PWM · SPI SS. Watch out: SS is convention, not hardwired — any output pin can be chip select. But keep D10 an OUTPUT whenever SPI is master, or the hardware drops into slave mode~D10PWM · SPI SS⚠~D9 = D9: PWM~D9PWMD8: DigitalD8DigitalD7: DigitalD7Digital~D6 = D6: PWM~D6PWM~D5 = D5: PWM~D5PWMD4: DigitalD4Digital~D3 = D3: PWM · Interrupt~D3PWM · InterruptD2: InterruptD2InterruptTX 1 = D1 (TX): UART TX. Watch out: Shared with USB serialTX 1UART TX⚠RX 0 = D0 (RX): UART RX. Watch out: Shared with USB serialRX 0UART RX⚠PowerGNDI2CSPIUARTAnalogPWMDigitalOther / not in catalog yet⚠has a watch-out in the table below · hover a pin for details

ICSP (2x3, bottom edge): MISO · 5V · SCK · MOSI · RESET · GND. Second 2x3 near the USB port is the 16U2's. Download SVG

PinCapabilitiesWatch out
D0 (RX)DigitalUART RX
Shared with USB serial
D1 (TX)DigitalUART TX
Shared with USB serial
D2DigitalInterrupt
D3DigitalPWMInterrupt
D4Digital
D5DigitalPWM
D6DigitalPWM
D7Digital
D8Digital
D9DigitalPWM
D10DigitalPWMSPI SS
SS is convention, not hardwired — any output pin can be chip select. But keep D10 an OUTPUT whenever SPI is master, or the hardware drops into slave mode
D11DigitalPWMSPI MOSI
D12DigitalSPI MISO
D13DigitalSPI SCKBuilt-in LED
The L LED loads this pin; also on the ICSP header
A0Analog inDigitalpin 14 in code
A1Analog inDigitalpin 15 in code
A2Analog inDigitalpin 16 in code
A3Analog inDigitalpin 17 in code
A4Analog inDigitalI2C SDApin 18 in code
Using it as GPIO takes out I2C
A5Analog inDigitalI2C SCLpin 19 in code
Using it as GPIO takes out I2C
AREFAnalog reference
Call analogReference(EXTERNAL) before feeding a voltage in, or it shorts against the internal reference
IOREFPower out 5V
Logic-level reference for shields — output only, never feed power in
RESETReset
Active LOW — pull to GND to reset; shield reset buttons land here
5VPower out 5V
Total board current limited by USB/regulator
3.3VPower out 3.3V
Max ~150 mA
VINPower in 7–12V
GNDGround

Arduino UNO R3 gotchas & notes

Get this pinout — plus 55+ sensor wiring diagrams, shield maps and maker calculators — offline on your phone.

Get it onGoogle Play

Other board pinouts

ESP32 DevKit (WROOM-32)Raspberry Pi PicoArduino UNO R4 WiFiArduino UNO QArduino NanoArduino Nano ESP32Arduino Mega 2560Arduino LeonardoESP8266 NodeMCU