Development boards

Arduino Leonardo pinout

ATmega32U4 · 16 MHz · 5 V I/O

Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe

USB at top. 32 UNO-format header and 6 ICSP contacts; 23 independent GPIOs. I²C uses D2/D3; SPI uses D14–D16 on ICSP. A4/A5 do not carry the UNO I²C signals. The 12 ADC inputs share six analog-header and six digital-header pins. USB Serial is separate from Serial1 on D0/D1.

At a glance

Platform / manufacturer
Arduino
Type
Development boards
MCU
ATmega32U4
Physical contacts
38
GPIO
23
I/O voltage
5 V I/O
Interfaces (pin count)
I²C (4) · SPI (3) · UART (2) · ADC (12) · PWM (8) · IRQ (7)
Documented by this date
2012 [c]
MCU / processor core
8-bit AVR [a]
Clock speed / maximum
16 MHz [a] [b]
Internal RAM / system RAM
2.5 KB SRAM [a]
Program Flash / storage
32 KB Flash [a]
EEPROM / persistent data
1 KB EEPROM [a]
Power and logic level
USB: 5 V; header GPIO: 5 V. See the board manual for VIN limits. [a] [b]
Pin sources checked
2026-11-05
Technical details reviewed
2026-11-14

All pins (38)

Arduino Leonardo: every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
PWR.1NCSystem—

Unconnected

Unconnected contact. Do not use as power or GPIO.

[1]
PWR.2IOREFPower—

Board I/O voltage reference; connected to 5 V on this AVR board.

[1]
PWR.3RESETSystem—

Same electrical signal as ICSP.5

Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit.

[1]
PWR.43V3Power——[1]
PWR.55VPower——[1]
PWR.6GNDGround——[1]
PWR.7GNDGround——[1]
PWR.8VINPower—

Unregulated power input, not GPIO. Check the board datasheet for the input range and regulator thermal limits.

[1]
ANALOG.1A0Arduino D18 · MCU port PF7General-purpose I/OADC7—[1] [2]
ANALOG.2A1Arduino D19 · MCU port PF6General-purpose I/OADC6—[1] [2]
ANALOG.3A2Arduino D20 · MCU port PF5General-purpose I/OADC5—[1] [2]
ANALOG.4A3Arduino D21 · MCU port PF4General-purpose I/OADC4—[1] [2]
ANALOG.5A4Arduino D22 · MCU port PF1General-purpose I/OADC1—[1] [2]
ANALOG.6A5Arduino D23 · MCU port PF0General-purpose I/OADC0—[1] [2]
DIGITAL.1D0Arduino D0 · MCU port PD2General-purpose I/OSerial1 RXINT2

The ATmega32U4 hardware UART is Serial1. USB Serial uses the MCU's USB peripheral and is separate from D0/D1.

[1] [2]
DIGITAL.2D1Arduino D1 · MCU port PD3General-purpose I/OSerial1 TXINT3

The ATmega32U4 hardware UART is Serial1. USB Serial uses the MCU's USB peripheral and is separate from D0/D1.

[1] [2]
DIGITAL.3D2Arduino D2 · MCU port PD1General-purpose I/OI2C SDAINT1

Same electrical signal as DIGITAL.17

[1] [2]
DIGITAL.4D3Arduino D3 · MCU port PD0General-purpose I/OI2C SCLPWM OC0BINT0

Same electrical signal as DIGITAL.18

[1] [2]
DIGITAL.5D4Arduino D4 · MCU port PD4General-purpose I/OADC8—[1] [2]
DIGITAL.6D5Arduino D5 · MCU port PC6General-purpose I/OPWM OC3A—[1] [2]
DIGITAL.7D6Arduino D6 · MCU port PD7General-purpose I/OPWM OC4DADC10—[1] [2]
DIGITAL.8D7Arduino D7 · MCU port PE6General-purpose I/OINT6—[1] [2]
DIGITAL.9D8Arduino D8 · MCU port PB4General-purpose I/OADC11—[1] [2]
DIGITAL.10D9Arduino D9 · MCU port PB5General-purpose I/OPWM OC1AADC12—[1] [2]
DIGITAL.11D10Arduino D10 · MCU port PB6General-purpose I/OPWM OC1BADC13—[1] [2]
DIGITAL.12D11Arduino D11 · MCU port PB7General-purpose I/OPWM OC0A—[1] [2]
DIGITAL.13D12Arduino D12 · MCU port PD6General-purpose I/OADC9—[1] [2]
DIGITAL.14D13Arduino D13 · MCU port PC7General-purpose I/OPWM OC4A—[1] [2]
DIGITAL.15GNDGround——[1]
DIGITAL.16AREFSystem—

Analog reference input. Select the appropriate analogReference() mode before connecting an external reference; this is not a power output.

[1]
DIGITAL.17SDAArduino D2 · MCU port PD1General-purpose I/OI2C SDAINT1

Same electrical signal as DIGITAL.3

[1] [2]
DIGITAL.18SCLArduino D3 · MCU port PD0General-purpose I/OI2C SCLPWM OC0BINT0

Same electrical signal as DIGITAL.4

[1] [2]
ICSP.5RESETSystem—

Same electrical signal as PWR.3

Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit.

[1]
ICSP.3SCKArduino D15 · MCU port PB1General-purpose I/OSPI SCK—[1] [2]
ICSP.1CIPOArduino D14 · MCU port PB3General-purpose I/OSPI CIPO / MISO—[1] [2]
ICSP.6GNDGround——[1]
ICSP.4COPIArduino D16 · MCU port PB2General-purpose I/OSPI COPI / MOSI—[1] [2]
ICSP.25VPower——[1]

General usage notes

ATmega32U4 5 V I/O. Coordinate GPIO and peripheral modes; check the MCU datasheet for pin, port and total current limits. PWM is not a true analog output.

Model-specific features and connection notes

Sources

Pin and warning references

  1. Arduino leonardo full pinout · PDF p. 1Main headers · USB at top · recorded connector positions, signal labels and optional SPI/ICSP connector
  2. Arduino official core · variants/leonardo/pins_arduino.hOfficial core · Arduino pin aliases, MCU port map, analog channels, SPI/Wire and supported PWM outputs

Technical sources (4)

  1. leonardo hardware manualArduino · Tech specs; downloadable datasheet and schematic
  2. A000057 circuit schematicArduino · Complete board circuit
  3. arduino-leonardo announcementArduino · Publication date
  4. Arduino leonardo full pinoutArduino · Locked pin-source document; see sources/manifest.json for revision and SHA-256

Locked source documents

Pin reference · Datasheet