Development boards
Arduino Nano (classic) pinout
ATmega328P · 20 GPIO · 8 analog inputs
Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe
USB at top. 30 side-header and 6 ICSP contacts; 20 independent GPIOs and 8 analog inputs. A6/A7 are analog inputs only. ICSP shares D11–D13; the diagram uses top-view contact order. This map covers the classic ATmega328P Nano.
At a glance
- Platform / manufacturer
- Arduino
- Type
- Development boards
- MCU
- ATmega328P
- Physical contacts
- 36
- GPIO
- 20
- I/O voltage
- 5 V I/O
- Interfaces (pin count)
- I²C (2) · SPI (7) · UART (2) · ADC (8) · PWM (7) · IRQ (2)
- MCU / processor core
- 8-bit AVR [a]
- Internal RAM / system RAM
- 2 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 (36)
| Physical | Pin name | Type | Functions | Notes and warnings | Source |
|---|---|---|---|---|---|
| L.1 | D13Arduino D13 · MCU port PB5 · MCU pin 17 | General-purpose I/O | SPI SCK | Same electrical signal as ICSP.3 D13 is shared with the built-in LED. It also carries SPI clock on UNO/Nano; Mega uses D52 for SPI clock. | [1] [2] [3] [4] |
| L.2 | 3V3 | Power | — | — | [1] |
| L.3 | AREFMCU pin 20 | System | — | Analog reference input. Select the appropriate analogReference() mode before connecting an external reference; this is not a power output. | [1] [3] [4] |
| L.4 | A0Arduino D14 · MCU port PC0 · MCU pin 23 | General-purpose I/O | ADC0 | — | [1] [2] [3] [4] |
| L.5 | A1Arduino D15 · MCU port PC1 · MCU pin 24 | General-purpose I/O | ADC1 | — | [1] [2] [3] [4] |
| L.6 | A2Arduino D16 · MCU port PC2 · MCU pin 25 | General-purpose I/O | ADC2 | — | [1] [2] [3] [4] |
| L.7 | A3Arduino D17 · MCU port PC3 · MCU pin 26 | General-purpose I/O | ADC3 | — | [1] [2] [3] [4] |
| L.8 | A4Arduino D18 · MCU port PC4 · MCU pin 27 | General-purpose I/O | I2C SDAADC4 | — | [1] [2] [3] [4] |
| L.9 | A5Arduino D19 · MCU port PC5 · MCU pin 28 | General-purpose I/O | I2C SCLADC5 | — | [1] [2] [3] [4] |
| L.10 | A6MCU pin 19 | Analog | ADC6 | ADC input only. Classic Nano A6/A7 have no digital GPIO, internal pull-up or PWM. Keep the input within the supply rails. | [1] [5] [3] [4] |
| L.11 | A7MCU pin 22 | Analog | ADC7 | ADC input only. Classic Nano A6/A7 have no digital GPIO, internal pull-up or PWM. Keep the input within the supply rails. | [1] [5] [3] [4] |
| L.12 | 5V | Power | — | — | [1] |
| L.13 | RESETMCU pin 29 | System | — | Same electrical signal as R.13, ICSP.5 Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit. | [1] [3] [4] |
| L.14 | GND | Ground | — | — | [1] |
| L.15 | VIN | Power | — | Unregulated power input, not GPIO. Check the board datasheet for the input range and regulator thermal limits. | [1] |
| R.1 | D12Arduino D12 · MCU port PB4 · MCU pin 16 | General-purpose I/O | SPI CIPO / MISO | Same electrical signal as ICSP.1 | [1] [2] [3] [4] |
| R.2 | D11Arduino D11 · MCU port PB3 · MCU pin 15 | General-purpose I/O | SPI COPI / MOSIPWM OC2A | Same electrical signal as ICSP.4 | [1] [2] [3] [4] |
| R.3 | D10Arduino D10 · MCU port PB2 · MCU pin 14 | General-purpose I/O | SPI SSPWM OC1B | — | [1] [2] [3] [4] |
| R.4 | D9Arduino D9 · MCU port PB1 · MCU pin 13 | General-purpose I/O | PWM OC1A | — | [1] [2] [3] [4] |
| R.5 | D8Arduino D8 · MCU port PB0 · MCU pin 12 | General-purpose I/O | — | — | [1] [2] [3] [4] |
| R.6 | D7Arduino D7 · MCU port PD7 · MCU pin 11 | General-purpose I/O | — | — | [1] [2] [3] [4] |
| R.7 | D6Arduino D6 · MCU port PD6 · MCU pin 10 | General-purpose I/O | PWM OC0A | — | [1] [2] [3] [4] |
| R.8 | D5Arduino D5 · MCU port PD5 · MCU pin 9 | General-purpose I/O | PWM OC0B | — | [1] [2] [3] [4] |
| R.9 | D4Arduino D4 · MCU port PD4 · MCU pin 2 | General-purpose I/O | — | — | [1] [2] [3] [4] |
| R.10 | D3Arduino D3 · MCU port PD3 · MCU pin 1 | General-purpose I/O | PWM OC2BINT1 | — | [1] [2] [3] [4] |
| R.11 | D2Arduino D2 · MCU port PD2 · MCU pin 32 | General-purpose I/O | INT0 | — | [1] [2] [3] [4] |
| R.12 | GND | Ground | — | — | [1] |
| R.13 | RESETMCU pin 29 | System | — | Same electrical signal as L.13, ICSP.5 Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit. | [1] [3] [4] |
| R.14 | D0Arduino D0 · MCU port PD0 · MCU pin 30 | General-purpose I/O | UART0 RX | UART0 also connects to the USB-to-serial bridge. External devices can affect uploads and the serial monitor; avoid multiple drivers on the signal. | [1] [2] [3] [4] |
| R.15 | D1Arduino D1 · MCU port PD1 · MCU pin 31 | General-purpose I/O | UART0 TX | UART0 also connects to the USB-to-serial bridge. External devices can affect uploads and the serial monitor; avoid multiple drivers on the signal. | [1] [2] [3] [4] |
| ICSP.2 | 5V | Power | — | — | [6] |
| ICSP.4 | COPIArduino D11 · MCU port PB3 · MCU pin 15 | General-purpose I/O | SPI COPI / MOSIPWM OC2A | Same electrical signal as R.2 | [6] [2] [3] [4] |
| ICSP.6 | GND | Ground | — | — | [6] |
| ICSP.1 | CIPOArduino D12 · MCU port PB4 · MCU pin 16 | General-purpose I/O | SPI CIPO / MISO | Same electrical signal as R.1 | [6] [2] [3] [4] |
| ICSP.3 | SCKArduino D13 · MCU port PB5 · MCU pin 17 | General-purpose I/O | SPI SCK | Same electrical signal as L.1 D13 is shared with the built-in LED. It also carries SPI clock on UNO/Nano; Mega uses D52 for SPI clock. | [6] [2] [3] [4] |
| ICSP.5 | RESETMCU pin 29 | System | — | Same electrical signal as L.13, R.13 Active-low MCU reset. Shared with the reset button, ICSP and auto-reset circuit. | [6] [3] [4] |
General usage notes
5 V logic. Arduino's board guidance specifies 20 mA per I/O; port and total MCU current limits also apply. PWM is not a true analog voltage output. Coordinate timer and peripheral use in firmware.
Model-specific features and connection notes
- 20 MHz requires 4.5–5.5 V; use the datasheet speed grade at lower voltages. [a]
- Flash capacity is the total; the bootloader occupies part of it. USB serial and the header UART are separate interfaces. [b]
- A6/A7 are analog inputs only. Nano family launched in 2008 with ATmega168; this profile is the ATmega328P version. [d]
Sources
Pin and warning references
- Arduino Nano (classic) full pinout · PDF p. 1Main headers · USB at top · connector order visually checked
- Arduino AVR core — standard pin definitionspins_arduino.h · digital port/bit arrays, analog aliases, PWM timer array and SPI/Wire pin constants
- Arduino Nano V3.3 schematic · PDF p. 1ATmega328P-MUR · QFN/MLF-32 · main MCU and connector nets
- Atmel ATmega328/P complete datasheet (Arduino mirror) · PDF p. 17§5 · package pin diagram · top view; package-specific numbering and exposed-pad qualification
- Arduino AVR core — eightanaloginputs pin definitionseightanaloginputs inherits the 20-entry standard digital map and exposes eight ADC channels; A6/A7 have no digital port entries
- Arduino Nano (classic) full pinout · PDF p. 3Main MCU ICSP · six numbered contacts, top-view orientation; USB bridge programming header excluded
Technical sources (5)
- Atmel ATmega328/P complete datasheet (Arduino mirror)Microchip / Atmel · Locked pin-source document; see sources/manifest.json for revision and SHA-256
- nano hardware manualArduino · Tech specs; downloadable datasheet and schematic
- A000005 circuit schematicArduino · Complete board circuit
- Original Nano announcementArduino · ATmega168 family launch; not a 328P revision date
- Arduino Nano V3.3 schematicArduino · Locked pin-source document; see sources/manifest.json for revision and SHA-256
Locked source documents
- Arduino Nano (classic) full pinoutArduino · 2021-06-30 · arduino/docs-content · cb938e96b391e636011690e4db1348dc38db4deb
- Arduino AVR core — standard pin definitionsArduino · 11b9130371e8447920edb65a75706a6c951e51fc
- Arduino AVR core — eightanaloginputs pin definitionsArduino · 11b9130371e8447920edb65a75706a6c951e51fc
- Atmel ATmega328/P complete datasheet (Arduino mirror)Microchip / Atmel · Atmel-42735B · November 2016
- Arduino Nano V3.3 schematicArduino · Manufacturer schematic · arduino/docs-content · cb938e96b391e636011690e4db1348dc38db4deb