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]
- Internal RAM / system RAM
- 2.5 KB SRAM [a]
- Program Flash / storage
- 32 KB Flash [a]
- EEPROM / persistent data
- 1 KB EEPROM [a]
- Pin sources checked
- 2026-11-05
- Technical details reviewed
- 2026-11-14
All pins (38)
| Physical | Pin name | Type | Functions | Notes and warnings | Source |
|---|---|---|---|---|---|
| PWR.1 | NC | System | — | Unconnected Unconnected contact. Do not use as power or GPIO. | [1] |
| PWR.2 | IOREF | Power | — | Board I/O voltage reference; connected to 5 V on this AVR board. | [1] |
| PWR.3 | RESET | System | — | Same electrical signal as ICSP.5 Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit. | [1] |
| PWR.4 | 3V3 | Power | — | — | [1] |
| PWR.5 | 5V | Power | — | — | [1] |
| PWR.6 | GND | Ground | — | — | [1] |
| PWR.7 | GND | Ground | — | — | [1] |
| PWR.8 | VIN | Power | — | Unregulated power input, not GPIO. Check the board datasheet for the input range and regulator thermal limits. | [1] |
| ANALOG.1 | A0Arduino D18 · MCU port PF7 | General-purpose I/O | ADC7 | — | [1] [2] |
| ANALOG.2 | A1Arduino D19 · MCU port PF6 | General-purpose I/O | ADC6 | — | [1] [2] |
| ANALOG.3 | A2Arduino D20 · MCU port PF5 | General-purpose I/O | ADC5 | — | [1] [2] |
| ANALOG.4 | A3Arduino D21 · MCU port PF4 | General-purpose I/O | ADC4 | — | [1] [2] |
| ANALOG.5 | A4Arduino D22 · MCU port PF1 | General-purpose I/O | ADC1 | — | [1] [2] |
| ANALOG.6 | A5Arduino D23 · MCU port PF0 | General-purpose I/O | ADC0 | — | [1] [2] |
| DIGITAL.1 | D0Arduino D0 · MCU port PD2 | General-purpose I/O | Serial1 RXINT2 | The ATmega32U4 hardware UART is Serial1. USB Serial uses the MCU's USB peripheral and is separate from D0/D1. | [1] [2] |
| DIGITAL.2 | D1Arduino D1 · MCU port PD3 | General-purpose I/O | Serial1 TXINT3 | The ATmega32U4 hardware UART is Serial1. USB Serial uses the MCU's USB peripheral and is separate from D0/D1. | [1] [2] |
| DIGITAL.3 | D2Arduino D2 · MCU port PD1 | General-purpose I/O | I2C SDAINT1 | Same electrical signal as DIGITAL.17 | [1] [2] |
| DIGITAL.4 | D3Arduino D3 · MCU port PD0 | General-purpose I/O | I2C SCLPWM OC0BINT0 | Same electrical signal as DIGITAL.18 | [1] [2] |
| DIGITAL.5 | D4Arduino D4 · MCU port PD4 | General-purpose I/O | ADC8 | — | [1] [2] |
| DIGITAL.6 | D5Arduino D5 · MCU port PC6 | General-purpose I/O | PWM OC3A | — | [1] [2] |
| DIGITAL.7 | D6Arduino D6 · MCU port PD7 | General-purpose I/O | PWM OC4DADC10 | — | [1] [2] |
| DIGITAL.8 | D7Arduino D7 · MCU port PE6 | General-purpose I/O | INT6 | — | [1] [2] |
| DIGITAL.9 | D8Arduino D8 · MCU port PB4 | General-purpose I/O | ADC11 | — | [1] [2] |
| DIGITAL.10 | D9Arduino D9 · MCU port PB5 | General-purpose I/O | PWM OC1AADC12 | — | [1] [2] |
| DIGITAL.11 | D10Arduino D10 · MCU port PB6 | General-purpose I/O | PWM OC1BADC13 | — | [1] [2] |
| DIGITAL.12 | D11Arduino D11 · MCU port PB7 | General-purpose I/O | PWM OC0A | — | [1] [2] |
| DIGITAL.13 | D12Arduino D12 · MCU port PD6 | General-purpose I/O | ADC9 | — | [1] [2] |
| DIGITAL.14 | D13Arduino D13 · MCU port PC7 | General-purpose I/O | PWM OC4A | — | [1] [2] |
| DIGITAL.15 | GND | Ground | — | — | [1] |
| DIGITAL.16 | AREF | System | — | Analog reference input. Select the appropriate analogReference() mode before connecting an external reference; this is not a power output. | [1] |
| DIGITAL.17 | SDAArduino D2 · MCU port PD1 | General-purpose I/O | I2C SDAINT1 | Same electrical signal as DIGITAL.3 | [1] [2] |
| DIGITAL.18 | SCLArduino D3 · MCU port PD0 | General-purpose I/O | I2C SCLPWM OC0BINT0 | Same electrical signal as DIGITAL.4 | [1] [2] |
| ICSP.5 | RESET | System | — | Same electrical signal as PWR.3 Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit. | [1] |
| ICSP.3 | SCKArduino D15 · MCU port PB1 | General-purpose I/O | SPI SCK | — | [1] [2] |
| ICSP.1 | CIPOArduino D14 · MCU port PB3 | General-purpose I/O | SPI CIPO / MISO | — | [1] [2] |
| ICSP.6 | GND | Ground | — | — | [1] |
| ICSP.4 | COPIArduino D16 · MCU port PB2 | General-purpose I/O | SPI COPI / MOSI | — | [1] [2] |
| ICSP.2 | 5V | Power | — | — | [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
- Arduino leonardo full pinout · PDF p. 1Main headers · USB at top · recorded connector positions, signal labels and optional SPI/ICSP connector
- 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)
- leonardo hardware manualArduino · Tech specs; downloadable datasheet and schematic
- A000057 circuit schematicArduino · Complete board circuit
- arduino-leonardo announcementArduino · Publication date
- Arduino leonardo full pinoutArduino · Locked pin-source document; see sources/manifest.json for revision and SHA-256
Locked source documents
- Arduino leonardo full pinoutArduino · 2025-11-25 · arduino/docs-content · cb938e96b391e636011690e4db1348dc38db4deb
- Arduino official core · variants/leonardo/pins_arduino.hArduino · 11b9130371e8447920edb65a75706a6c951e51fc