Interactive pinout
Arduino Nano pinout
The classic Nano with the USB port at the top. D13 sits at the top-left, VIN at the bottom-left; the right column runs from D12 down to TX.
- GPIO
- Power
- Ground / N.C.
- Reset
- Has a warning
Selected pin
D13GPIO13
Use with care
GPIOSPI
SPI clock and the on-board LED.
- spi
- SCK
Heads up: Shared with the on-board LED.
Code for this pin
const int PIN = 13;
void setup() {
pinMode(PIN, OUTPUT);
}
void loop() {
digitalWrite(PIN, HIGH);
delay(500);
digitalWrite(PIN, LOW);
delay(500);
}Ad space · inline
Good to know
- ›Pins A6 and A7 are analog-input only on the Nano (they have no digital function).
- ›Cheap Nano clones use a CH340 USB chip and may need a driver on Windows or macOS.
Where to buy
Affiliate links: databit.me may earn a small commission at no extra cost to you. Details.