Robot Maker Toolkit › Pinouts › Arduino Nano

Arduino Nano pinout

Every Arduino Nano pin with its capabilities (digital, PWM, ADC, I2C, SPI, UART) and the wiring gotchas that bite. An UNO on a breadboard-friendly stick. Same chip and 5 V logic, plus two extra analog-only inputs (A6/A7).

ATmega328P @ 16 MHzLogic: 5 VFree in app

Arduino Nano pinout diagram

Arduino Nano pinout diagramUSBArduino NanoD13: SPI SCK · Built-in LED. Watch out: The L LED loads this pin; also on the ICSP headerD13SPI SCK · Built-in LED⚠3V3: Power out 3.3V. Watch out: Weak — from USB chip, ~50 mA3V3Power out 3.3V⚠REF = AREF: Analog reference. Watch out: Call analogReference(EXTERNAL) before feeding a voltage in, or it shorts against the internal referenceREFAnalog reference⚠A0: Analog in · pin 14 in codeA0Analog in · pin 14 in codeA1: Analog in · pin 15 in codeA1Analog in · pin 15 in codeA2: Analog in · pin 16 in codeA2Analog in · pin 16 in codeA3: Analog in · pin 17 in codeA3Analog in · pin 17 in codeA4: Analog in · I2C SDA · pin 18 in code. Watch out: Using it as GPIO takes out I2CA4Analog in · I2C SDA · pin 18 in code⚠A5: Analog in · I2C SCL · pin 19 in code. Watch out: Using it as GPIO takes out I2CA5Analog in · I2C SCL · pin 19 in code⚠A6: Analog in only. Watch out: Cannot be a digital pinA6Analog in only⚠A7: Analog in only. Watch out: Cannot be a digital pinA7Analog in only⚠5V: Power out/in 5V5VPower out/in 5VRST: Reset. Watch out: Active LOW — pull to GND to resetRSTReset⚠GND: GroundGNDGroundVIN: Power in 7–12VVINPower in 7–12VD12: SPI MISOD12SPI MISOD11: PWM · SPI MOSID11PWM · SPI MOSID10: PWM · SPI SS. Watch out: SS is convention, not hardwired — any output pin can be chip select. But keep D10 an OUTPUT whenever SPI is master, or the hardware drops into slave modeD10PWM · SPI SS⚠D9: PWMD9PWMD8: DigitalD8DigitalD7: DigitalD7DigitalD6: PWMD6PWMD5: PWMD5PWMD4: DigitalD4DigitalD3: PWM · InterruptD3PWM · InterruptD2: InterruptD2InterruptGND: GroundGNDGroundRST: Reset. Watch out: Active LOW — pull to GND to resetRSTReset⚠RX0 = D0 (RX): UART RX. Watch out: Shared with USB serialRX0UART RX⚠TX1 = D1 (TX): UART TX. Watch out: Shared with USB serialTX1UART TX⚠PowerGNDI2CSPIUARTAnalogPWMDigitalOther / not in catalog yet⚠has a watch-out in the table below · hover a pin for details

ICSP (2x3) at the far end: MISO · 5V · SCK · MOSI · RST · GND. Download SVG

PinCapabilitiesWatch out
D0 (RX)DigitalUART RX
Shared with USB serial
D1 (TX)DigitalUART TX
Shared with USB serial
D2DigitalInterrupt
D3DigitalPWMInterrupt
D4Digital
D5DigitalPWM
D6DigitalPWM
D7Digital
D8Digital
D9DigitalPWM
D10DigitalPWMSPI SS
SS is convention, not hardwired — any output pin can be chip select. But keep D10 an OUTPUT whenever SPI is master, or the hardware drops into slave mode
D11DigitalPWMSPI MOSI
D12DigitalSPI MISO
D13DigitalSPI SCKBuilt-in LED
The L LED loads this pin; also on the ICSP header
A0Analog inDigitalpin 14 in code
A1Analog inDigitalpin 15 in code
A2Analog inDigitalpin 16 in code
A3Analog inDigitalpin 17 in code
A4Analog inDigitalI2C SDApin 18 in code
Using it as GPIO takes out I2C
A5Analog inDigitalI2C SCLpin 19 in code
Using it as GPIO takes out I2C
A6Analog in only
Cannot be a digital pin
A7Analog in only
Cannot be a digital pin
AREFAnalog reference
Call analogReference(EXTERNAL) before feeding a voltage in, or it shorts against the internal reference
RSTReset
Active LOW — pull to GND to reset
5VPower out/in 5V
3V3Power out 3.3V
Weak — from USB chip, ~50 mA
VINPower in 7–12V
GNDGround

Arduino Nano gotchas & notes

Get this pinout — plus 55+ sensor wiring diagrams, shield maps and maker calculators — offline on your phone.

Get it onGoogle Play

Other board pinouts

Arduino UNO R3ESP32 DevKit (WROOM-32)Raspberry Pi PicoArduino UNO R4 WiFiArduino UNO QArduino Nano ESP32Arduino Mega 2560Arduino LeonardoESP8266 NodeMCU