Arduino Leonardo with headers, ATmega32U4 and native USB. The official photo shows the 32 side contacts and all six ICSP contacts. The lower detail rotates ICSP 90° counterclockwise, placing pin 1 at the upper left.
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show Alternative Functions
Pin index
Pin index
Quickly scan every header pin, port name, supported function and usage note.
38 visible
Pin
MCU pin
Types
Notes
GPIOUART
Digital pin D0 on ATmega32U4 port PD2.
GPIOUART
Digital pin D1 on ATmega32U4 port PD3.
GPIOI2C
Digital pin D2 on ATmega32U4 port PD1.
GPIOPWMI2C
Digital pin D3 on ATmega32U4 port PD0.
GPIOAnalog
Digital pin D4 on ATmega32U4 port PD4.
GPIOPWM
Digital pin D5 on ATmega32U4 port PC6.
GPIOPWMAnalog
Digital pin D6 on ATmega32U4 port PD7.
GPIO
Digital pin D7 on ATmega32U4 port PE6.
AnalogGPIO
Analog input A0. It also works as I/O digital 18.
AnalogGPIO
Analog input A1. It also works as I/O digital 19.
AnalogGPIO
Analog input A2. It also works as I/O digital 20.
AnalogGPIO
Analog input A3. It also works as I/O digital 21.
AnalogGPIO
Analog input A4. It also works as I/O digital 22.
AnalogGPIO
Analog input A5. It also works as I/O digital 23.
Reserved
Reserved position of the power head, without electrical connection.
Power
Voltage reference for shields. In Leonardo shares the rail of 5 V.
CIPO/MISO is D14 (PB3), SCK is D15 (PB1) and COPI/MOSI is D16 (PB2). SS of AVR is PB0/D17 and controls LED RX. ICSP displays data, clock, 5 V, RESET and GND. A free GPIO can be used to select a SPI peripheral.
Analogue entries
A0–A5 are D18–D23 in the core AVR. A6–A11 share, respectively, D4, D6, D8, D9, D10 and D12.
USB and communications
Serial uses USB native ATmega32U4. Serial1 uses RX in D0 and TX in D1. Wire shares SDA with D2 and SCL with D3.
Indicators and power
ON indicates power. PC7 controls LED L, PD5 LED TX and PB0 LED RX. IC1 regulates 5 V from VIN and U3 generates 3.3 V.