Skip to main content

Board pinout

Arduino Nano Pinout

A breadboard-friendly Uno in a tiny footprint. Same ATmega328P and 5V logic, ideal for compact permanent builds. It runs at 5V logic with 20 usable GPIO pins. Every value below is verified against the pin map Banana Board uses to check real designs.

MCU
AVR
Logic
5V
GPIO
20
PWM
6
Analog
8
Ground pins
1

Interfaces

I2C (SDA / SCL)A4 / A5
SPI (SCK / MOSI / MISO)D13 / D11 / D12 / SS D10
UART (TX / RX)D1 / D0
PWM pinsD3, D5, D6, D9, D10, D11
Analog inputsA0, A1, A2, A3, A4, A5, A6, A7

Watch out for

Input-only: A6, A7. These read signals but cannot drive an output and have no internal pull-up.

5V logic: safe with 5V sensors and modules, but level-shift when talking to 3.3V-only parts.

Pins by capability

A quick map of which pins do what. Colours match the pin table below.

Power
5V3V3VIN
Ground
GND
PWM
D3D5D6D9D10D11
Analog / ADC
A0A1A2A3A4A5A6A7
I2C
SDA A4SCL A5
SPI
SCK D13MOSI D11MISO D12SS D10
UART
TX D1RX D0
Input-only
A6A7

Starter circuits to learn with

Beginner projects for the Arduino Nano. The pins below come straight from its real pin map, so they are safe to wire as shown.

Blink an LED

D0

Drive an LED (through a ~220Ω resistor) from D0 and toggle it in loop(). The classic first sketch.

digitalWrite()

Fade an LED (PWM)

D3

Use D3 with analogWrite() to smoothly ramp an LED from off to full brightness.

analogWrite()

Read a potentiometer

A0

Wire a potentiometer's wiper to A0 and read its position with analogRead().

analogRead()

Read a button

D1

Connect a push button between D1 and GND, set the pin to INPUT_PULLUP, and skip the external resistor.

digitalRead() + INPUT_PULLUP

Connect an I2C sensor or OLED

A4 / A5

Wire SDA to A4 and SCL to A5 (plus power and GND) to talk to parts like a BME280 sensor or an SSD1306 OLED.

Wire.h

Try it without the hardware

Describe one of these circuits in the Studio and the Arduino Nano runs a true in-browser simulation (avr8js): watch your loop() drive the LED or read the input before you touch a breadboard.

Build & simulate in the Studio

Full Arduino Nano pin map

PinGPIOCapabilitiesVoltageNotes
5V+5VPower5VRegulated 5V out (also USB 5V).
3V33.3VPower3.3V3.3V from the USB bridge (low current).
VINPowerUnregulated input (7-12V).
GNDGND2GNDGround.
D000RXDigitalSerial RX — avoid if using Serial.
D111TXDigitalSerial TX — avoid if using Serial.
D222Digital
D333DigitalPWM
D444Digital
D555DigitalPWM
D666DigitalPWM
D777Digital
D888Digital
D999DigitalPWM
D101010SSDigitalPWM
D111111MOSIDigitalPWM
D121212MISODigital
D1313 LED_BUILTIN13SCKDigitalBuilt-in LED.
A01414DigitalADCA0
A11515DigitalADCA1
A21616DigitalADCA2
A31717DigitalADCA3
A41818SDADigitalADCA4
A51919SCLDigitalADCA5
A6input-onlyADCA6Analog input only — no digital I/O.
A7input-onlyADCA7Analog input only — no digital I/O.

26 of 26 pins shown. Data verified against the board pin map Banana Board uses to check every design.

AI PCB designer

Design an Arduino Nano PCB from a sentence

Describe your Arduino Nano project and Banana Board wires it to these exact pins, validates it, then places and routes a fab-ready 2-layer board.

Start vibe PCB designing

Frequently asked questions

Is the Arduino Nano 3.3V or 5V logic?

The Arduino Nano runs at 5V logic. Its I/O pins output and tolerate 5V, so it interfaces directly with 5V sensors and modules, but you must level-shift when talking to 3.3V-only parts.

How many GPIO pins does the Arduino Nano have?

The Arduino Nano exposes 20 usable GPIO pins, plus 3 power and 1 ground pins.

Which pins are PWM-capable on the Arduino Nano?

PWM (analogWrite / tone) is available on D3, D5, D6, D9, D10, D11.

How many analog (ADC) inputs does the Arduino Nano have?

The Arduino Nano has 8 ADC-capable pins: A0, A1, A2, A3, A4, A5, A6, A7.

What are the I2C pins (SDA and SCL) on the Arduino Nano?

The default I2C bus uses A4 for SDA and A5 for SCL. Add pull-up resistors (typically 4.7k) if your module does not include them.

What are the SPI pins on the Arduino Nano?

The hardware SPI pins are SCK D13, MOSI D11, MISO D12, and SS D10.

Which pins are the serial (UART) TX and RX on the Arduino Nano?

The default hardware serial uses D1 for TX and D0 for RX.

Which pins on the Arduino Nano are input-only?

A6, A7 are input-only. They can read digital or analog signals but cannot drive an output and have no internal pull-up or pull-down.

Build it, do not just look it up

Describe your circuit in one sentence and Banana Board wires it to these exact pins, validates it, and lays out a fab-ready PCB.

Start building free