Arduino reference

Arduino UNO R3 Pinout Reference

A practical Arduino UNO R3 reference covering digital pins, analog inputs, power rails, serial buses, MCU port names, and datasheet-level alternate functions.

38Pins
5VLogic
ATmega328PMain MCU

Arduino UNO R3 pinout

Click any pin label to view functions, aliases and electrical notes.

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Loading pinout…
Show datasheet advanced pin functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

38 visible
PinMCU pinTypesNotes
AREFAnalogAnalog reference input used by the ADC when an external reference is selected.
NCGPIOReserved / not-connected position on the Arduino UNO R3 power header.
IOREFPowerI/O voltage reference pin used by shields to detect the board logic voltage.
PC6InternalReset line. Pull low momentarily to restart the ATmega328P.
3V3PowerRegulated 3.3V rail for low-current peripherals and sensors.
PowerMain regulated 5V rail used by the board logic and many 5V modules.
GNDGNDCommon electrical ground reference for the board and connected devices.
GNDGNDCommon electrical ground reference for the board and connected devices.
VINPowerVoltage input pin used to feed the onboard regulator from an external supply.
PC0AnalogGPIOAnalog input A0 with 10-bit ADC support. It can also be used as digital GPIO D14.
PC1AnalogGPIOAnalog input A1 with 10-bit ADC support. It can also be used as digital GPIO D15.
PC2AnalogGPIOAnalog input A2 with 10-bit ADC support. It can also be used as digital GPIO D16.
PC3AnalogGPIOAnalog input A3 with 10-bit ADC support. It can also be used as digital GPIO D17.
PC4AnalogI2CGPIOAnalog input A4 and I2C data line when using the Wire library.
PC5AnalogI2CGPIOAnalog input A5 and I2C clock line when using the Wire library.
GNDGNDCommon electrical ground reference for the board and connected devices.
PB5GPIOSPILEDDigital pin 13. SPI SCK and connected to the built-in LED on Arduino UNO R3.
PB4GPIOSPIDigital pin 12 and SPI MISO line used to receive data from SPI peripherals.
PB3GPIOSPIPWMDigital pin 11, SPI MOSI line and PWM-capable output.
PB2GPIOSPIPWMDigital pin 10, SPI slave-select line and PWM-capable output.
PB1GPIOPWMDigital pin 9 with PWM output support.
PB0GPIODigital pin 8 general-purpose I/O.
PD7GPIODigital pin 7 general-purpose I/O.
PD6GPIOPWMDigital pin 6 with PWM output support.
PD5GPIOPWMDigital pin 5 with PWM output support.
PD4GPIODigital pin 4 general-purpose I/O.
PD3GPIOPWMDigital pin 3 with PWM output and external interrupt support.
PD2GPIODigital pin 2 with external interrupt support.
PD1GPIOUARTDigital pin 1 and hardware UART transmit line connected to the USB serial interface.
PD0GPIOUARTDigital pin 0 and hardware UART receive line connected to the USB serial interface.
PC4I2CAnalogGPIODedicated Arduino UNO R3 I2C data header pin, electrically shared with A4 / PC4.
PC5I2CAnalogGPIODedicated Arduino UNO R3 I2C clock header pin, electrically shared with A5 / PC5.
PC6InternalICSPICSP reset signal used by an external programmer to place the ATmega328P into programming mode.
GNDGNDICSPGround reference for the ICSP header and external programmer.
PB5GPIOSPIICSPICSP SPI serial clock line used during in-system programming, electrically shared with D13 / PB5.
PB3GPIOSPIICSPICSP SPI MOSI line used by an external programmer, electrically shared with D11 / PB3.
PB4GPIOSPIICSPICSP SPI MISO line used by an external programmer, electrically shared with D12 / PB4.
5VPowerICSP5V supply/reference pin on the ICSP header for compatible programmers and target-voltage detection.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
ATmega328PMicrocontrollerMicrochipMain AVR microcontroller used for Arduino UNO R3 GPIO, analog inputs, timers, and serial buses.Datasheet
ATmega16U2USB serial interfaceMicrochipUSB interface controller used for programming and serial monitor communication.Datasheet
Arduino UNO Rev3Board referenceArduinoOfficial board documentation, technical specifications, power notes, and hardware files.Datasheet

Related

Power rails

Check 5V, 3.3V, VIN, IOREF, and GND before connecting shields or external modules.

Related

Serial buses

SPI, I2C, and UART are exposed on standard Arduino UNO R3 headers and share pins with GPIO.

Related

Shield compatibility

UNO R3 headers expose IOREF, SDA, and SCL positions used by many Arduino shields.