Navigation
Home
About us
Products
Manufacturers
RFQ
Service
FAQ
Contact us
ICRFQ.com - Electronic Components Distributor in China Since 2003
We make your sourcing easier!
Get A Fast Quote Worldwide!
[email protected]
Home > Pin Configuration of Arduino Nano: A Comprehensive Guide

Pin Configuration of Arduino Nano: A Comprehensive Guide

Last Updated on February 26,2025 by Kevin Chen

3333 (1).png

The Arduino Nano is a compact, breadboard-friendly microcontroller board based on the ATmega328P (or ATmega168 in older models). Its versatility and small size make it ideal for embedded projects. This guide provides a detailed breakdown of its pin configuration, functions, and practical considerations.


1. Overview of Arduino Nano Pins

The Nano features 30 pins, categorized as follows:


2. Digital Pins (D0–D13)

Each digital pin operates at 5V, with a 20mA recommended current limit. Key features include:

PWM Pins (~)

External Interrupt Pins

PinPWMInterruptAlternate Functions
D0NoNoUART RX
D1NoNoUART TX
D2NoYes (INT0)Digital I/O
D3YesYes (INT1)PWM, Digital I/O
D4NoNoDigital I/O
D5YesNoPWM, Digital I/O
D6YesNoPWM, Digital I/O
D7NoNoDigital I/O
D8NoNoDigital I/O
D9YesNoPWM, Digital I/O
D10YesNoPWM, SPI SS
D11YesNoPWM, SPI MOSI
D12NoNoSPI MISO
D13NoNoSPI SCK, Built-in LED

3. Analog Pins (A0–A7)

PinAnalog ChannelDigital Pin (if applicable)
A0014
A1115
A2216
A3317
A4418 (SDA for I2C)
A5519 (SCL for I2C)
A66N/A
A77N/A

4. Power Pins

PinFunctionSpecifications
5VRegulated 5V outputSourced from USB or Vin
3.3VRegulated 3.3V outputMax 150mA
VinInput for external power (7–12V)Bypasses USB power
GNDGround referenceMultiple pins available
AREFAnalog reference voltage (0–5V)Set via analogReference()
RESETReset the microcontroller (active low)Connect to GND to reset

5. Communication Interfaces

UART (Serial)

SPI

I2C


6. Special Function Pins


7. Physical Pinout Layout

The Nano has two rows of 15 pins each. The top row includes D13–AREF, and the bottom row includes D0–D12, GND, RESET, etc. Refer to the diagram below for exact placement:

Arduino Nano Pinout Diagram


8. Technical Specifications


9. Example Applications

  1. PWM LED Dimming: Use pin 9 with analogWrite().

  2. Temperature Sensor: Read analog data via A0.

  3. I2C Display: Connect an OLED to A4 (SDA) and A5 (SCL).

  4. SPI Data Logging: Interface an SD card module using D10–D13.


10. Common Mistakes & Troubleshooting


Conclusion

The Arduino Nano’s pin configuration offers flexibility for diverse projects, from simple LEDs to complex communication protocols. Understanding its digital, analog, power, and communication pins ensures efficient project design. Always refer to datasheets for voltage/current limits to avoid damage.


Author
Kevin Chen
Founder / Writer at Rantle East Electronic Trading Co.,Limited
I am Kevin Chen, I graduated from University of Electronic Science and Technology of China in 2000. I am an electrical and electronic engineer with 23 years of experience, in charge of writting content for ICRFQ. I am willing use my experiences to create reliable and necessary electronic information to help our readers. We welcome readers to engage with us on various topics related to electronics such as IC chips, Diode, Transistor, Module, Relay, opticalcoupler, Connectors etc. Please feel free to share your thoughts and questions on these subjects with us. We look forward to hearing from you!
Home > Pin Configuration of Arduino Nano: A Comprehensive Guide

Pin Configuration of Arduino Nano: A Comprehensive Guide

3333 (1).png

The Arduino Nano is a compact, breadboard-friendly microcontroller board based on the ATmega328P (or ATmega168 in older models). Its versatility and small size make it ideal for embedded projects. This guide provides a detailed breakdown of its pin configuration, functions, and practical considerations.


1. Overview of Arduino Nano Pins

The Nano features 30 pins, categorized as follows:


2. Digital Pins (D0–D13)

Each digital pin operates at 5V, with a 20mA recommended current limit. Key features include:

PWM Pins (~)

External Interrupt Pins

PinPWMInterruptAlternate Functions
D0NoNoUART RX
D1NoNoUART TX
D2NoYes (INT0)Digital I/O
D3YesYes (INT1)PWM, Digital I/O
D4NoNoDigital I/O
D5YesNoPWM, Digital I/O
D6YesNoPWM, Digital I/O
D7NoNoDigital I/O
D8NoNoDigital I/O
D9YesNoPWM, Digital I/O
D10YesNoPWM, SPI SS
D11YesNoPWM, SPI MOSI
D12NoNoSPI MISO
D13NoNoSPI SCK, Built-in LED

3. Analog Pins (A0–A7)

PinAnalog ChannelDigital Pin (if applicable)
A0014
A1115
A2216
A3317
A4418 (SDA for I2C)
A5519 (SCL for I2C)
A66N/A
A77N/A

4. Power Pins

PinFunctionSpecifications
5VRegulated 5V outputSourced from USB or Vin
3.3VRegulated 3.3V outputMax 150mA
VinInput for external power (7–12V)Bypasses USB power
GNDGround referenceMultiple pins available
AREFAnalog reference voltage (0–5V)Set via analogReference()
RESETReset the microcontroller (active low)Connect to GND to reset

5. Communication Interfaces

UART (Serial)

SPI

I2C


6. Special Function Pins


7. Physical Pinout Layout

The Nano has two rows of 15 pins each. The top row includes D13–AREF, and the bottom row includes D0–D12, GND, RESET, etc. Refer to the diagram below for exact placement:

Arduino Nano Pinout Diagram


8. Technical Specifications


9. Example Applications

  1. PWM LED Dimming: Use pin 9 with analogWrite().

  2. Temperature Sensor: Read analog data via A0.

  3. I2C Display: Connect an OLED to A4 (SDA) and A5 (SCL).

  4. SPI Data Logging: Interface an SD card module using D10–D13.


10. Common Mistakes & Troubleshooting


Conclusion

The Arduino Nano’s pin configuration offers flexibility for diverse projects, from simple LEDs to complex communication protocols. Understanding its digital, analog, power, and communication pins ensures efficient project design. Always refer to datasheets for voltage/current limits to avoid damage.