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)
First production / release date
Unverified for this exact model/revision [b] [c]
MCU / processor core
8-bit AVR [a]
Clock speed / maximum
16 MHz [b] [c]
Internal RAM / system RAM
2 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. [b] [c]
Pin sources checked
2026-11-05
Technical details reviewed
2026-11-14

All pins (36)

Arduino Nano (classic): every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
L.1D13Arduino D13 · MCU port PB5 · MCU pin 17General-purpose I/OSPI 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.23V3Power——[1]
L.3AREFMCU pin 20System—

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

[1] [3] [4]
L.4A0Arduino D14 · MCU port PC0 · MCU pin 23General-purpose I/OADC0—[1] [2] [3] [4]
L.5A1Arduino D15 · MCU port PC1 · MCU pin 24General-purpose I/OADC1—[1] [2] [3] [4]
L.6A2Arduino D16 · MCU port PC2 · MCU pin 25General-purpose I/OADC2—[1] [2] [3] [4]
L.7A3Arduino D17 · MCU port PC3 · MCU pin 26General-purpose I/OADC3—[1] [2] [3] [4]
L.8A4Arduino D18 · MCU port PC4 · MCU pin 27General-purpose I/OI2C SDAADC4—[1] [2] [3] [4]
L.9A5Arduino D19 · MCU port PC5 · MCU pin 28General-purpose I/OI2C SCLADC5—[1] [2] [3] [4]
L.10A6MCU pin 19AnalogADC6

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.11A7MCU pin 22AnalogADC7

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.125VPower——[1]
L.13RESETMCU pin 29System—

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.14GNDGround——[1]
L.15VINPower—

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

[1]
R.1D12Arduino D12 · MCU port PB4 · MCU pin 16General-purpose I/OSPI CIPO / MISO

Same electrical signal as ICSP.1

[1] [2] [3] [4]
R.2D11Arduino D11 · MCU port PB3 · MCU pin 15General-purpose I/OSPI COPI / MOSIPWM OC2A

Same electrical signal as ICSP.4

[1] [2] [3] [4]
R.3D10Arduino D10 · MCU port PB2 · MCU pin 14General-purpose I/OSPI SSPWM OC1B—[1] [2] [3] [4]
R.4D9Arduino D9 · MCU port PB1 · MCU pin 13General-purpose I/OPWM OC1A—[1] [2] [3] [4]
R.5D8Arduino D8 · MCU port PB0 · MCU pin 12General-purpose I/O——[1] [2] [3] [4]
R.6D7Arduino D7 · MCU port PD7 · MCU pin 11General-purpose I/O——[1] [2] [3] [4]
R.7D6Arduino D6 · MCU port PD6 · MCU pin 10General-purpose I/OPWM OC0A—[1] [2] [3] [4]
R.8D5Arduino D5 · MCU port PD5 · MCU pin 9General-purpose I/OPWM OC0B—[1] [2] [3] [4]
R.9D4Arduino D4 · MCU port PD4 · MCU pin 2General-purpose I/O——[1] [2] [3] [4]
R.10D3Arduino D3 · MCU port PD3 · MCU pin 1General-purpose I/OPWM OC2BINT1—[1] [2] [3] [4]
R.11D2Arduino D2 · MCU port PD2 · MCU pin 32General-purpose I/OINT0—[1] [2] [3] [4]
R.12GNDGround——[1]
R.13RESETMCU pin 29System—

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.14D0Arduino D0 · MCU port PD0 · MCU pin 30General-purpose I/OUART0 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.15D1Arduino D1 · MCU port PD1 · MCU pin 31General-purpose I/OUART0 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.25VPower——[6]
ICSP.4COPIArduino D11 · MCU port PB3 · MCU pin 15General-purpose I/OSPI COPI / MOSIPWM OC2A

Same electrical signal as R.2

[6] [2] [3] [4]
ICSP.6GNDGround——[6]
ICSP.1CIPOArduino D12 · MCU port PB4 · MCU pin 16General-purpose I/OSPI CIPO / MISO

Same electrical signal as R.1

[6] [2] [3] [4]
ICSP.3SCKArduino D13 · MCU port PB5 · MCU pin 17General-purpose I/OSPI 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.5RESETMCU pin 29System—

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

Sources

Pin and warning references

  1. Arduino Nano (classic) full pinout · PDF p. 1Main headers · USB at top · connector order visually checked
  2. Arduino AVR core — standard pin definitionspins_arduino.h · digital port/bit arrays, analog aliases, PWM timer array and SPI/Wire pin constants
  3. Arduino Nano V3.3 schematic · PDF p. 1ATmega328P-MUR · QFN/MLF-32 · main MCU and connector nets
  4. Atmel ATmega328/P complete datasheet (Arduino mirror) · PDF p. 17§5 · package pin diagram · top view; package-specific numbering and exposed-pad qualification
  5. 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
  6. Arduino Nano (classic) full pinout · PDF p. 3Main MCU ICSP · six numbered contacts, top-view orientation; USB bridge programming header excluded

Technical sources (5)

  1. Atmel ATmega328/P complete datasheet (Arduino mirror)Microchip / Atmel · Locked pin-source document; see sources/manifest.json for revision and SHA-256
  2. nano hardware manualArduino · Tech specs; downloadable datasheet and schematic
  3. A000005 circuit schematicArduino · Complete board circuit
  4. Original Nano announcementArduino · ATmega168 family launch; not a 328P revision date
  5. Arduino Nano V3.3 schematicArduino · Locked pin-source document; see sources/manifest.json for revision and SHA-256

Locked source documents

Pin reference · Datasheet