Arduino Nano Pinout: The Complete Hardware Guide for Engineers and PCB Designers

The Arduino Nano is a compact microcontroller board widely used in embedded electronics, sensor modules, automation systems, robotics, IoT prototypes, and small custom PCB projects. Understanding the Arduino Nano pinout is essential before connecting sensors, displays, motors, communication modules, or external power supplies. This guide explains every major Arduino Nano pin, including digital I/O, analog inputs, PWM outputs, power pins, UART, SPI, I2C, reset, and design precautions for reliable projects.

Arduino Nano Pinout
Arduino Nano Pinout

What Is Arduino Nano?

Arduino Nano is a small breadboard-friendly development board based on the ATmega328P microcontroller. It provides the same core function as the Arduino Uno but in a much smaller form factor. Because of its compact size, it is often used in space-limited prototypes, educational projects, embedded controllers, and custom carrier board designs.

Why Arduino Nano Pinout Matters

The Arduino Nano pinout defines how each pin can be used for power, signal input, signal output, communication, and programming. Incorrect pin selection may cause unstable readings, communication failure, voltage mismatch, board reset, or even permanent damage. A clear pin map helps engineers and makers design cleaner circuits and avoid wiring mistakes.

Arduino Nano Pin Mapping Table

Pin Name Function Notes
D0 / RX Digital I/O, UART Receive Used for serial communication
D1 / TX Digital I/O, UART Transmit Used for serial communication
D2 Digital I/O, External Interrupt Supports interrupt input
D3 Digital I/O, PWM, Interrupt Can output PWM signal
D4 Digital I/O General-purpose pin
D5 Digital I/O, PWM Suitable for LED dimming or motor control signal
D6 Digital I/O, PWM General PWM output
D7 Digital I/O General-purpose pin
D8 Digital I/O General-purpose pin
D9 Digital I/O, PWM Commonly used for servo or PWM output
D10 Digital I/O, PWM, SPI SS SPI chip select pin
D11 Digital I/O, PWM, SPI MOSI SPI data output
D12 Digital I/O, SPI MISO SPI data input
D13 Digital I/O, SPI SCK, Built-in LED Connected to onboard LED
A0–A5 Analog Input / Digital I/O 10-bit ADC input pins
A6–A7 Analog Input Only Cannot be used as digital I/O
A4 / SDA I2C Data Used for I2C devices
A5 / SCL I2C Clock Used for I2C devices

Arduino Nano Power Pins

Power Pin Description Design Tip
VIN External input voltage Use regulated input within board limits
5V Regulated 5V output or 5V input Do not overload this pin
3.3V 3.3V output Suitable for low-current modules only
GND Ground reference Connect all module grounds together
RST Reset pin Pull low to reset the board

Digital I/O Pins

The Arduino Nano provides digital pins D0 to D13. These pins can be configured as input or output in software. They are commonly used for buttons, LEDs, relays, buzzers, sensors, logic signals, and interface control. Pins D0 and D1 are shared with UART communication, so they should be used carefully when serial programming or debugging is required.

Analog Input Pins

Analog pins A0 to A7 allow the Arduino Nano to read analog voltage signals. A0 to A5 can also be used as digital I/O pins, while A6 and A7 are analog-input-only pins. These pins are useful for reading potentiometers, temperature sensors, light sensors, voltage dividers, pressure sensors, and other analog devices.

PWM Pins

Arduino Nano supports PWM output on pins D3, D5, D6, D9, D10, and D11. PWM pins are often used for LED brightness control, motor speed control, servo signal generation, audio tone output, and power regulation control. For real power driving, always use external MOSFETs, driver ICs, or motor drivers instead of connecting high-current loads directly to the Nano.

UART, SPI, and I2C Communication Pins

Interface Pins Typical Devices
UART D0 RX, D1 TX Bluetooth, GPS, serial modules
I2C A4 SDA, A5 SCL OLED display, RTC, sensors
SPI D10 SS, D11 MOSI, D12 MISO, D13 SCK SD card, RF module, display module

Arduino Nano Design Tips

When using Arduino Nano in a custom circuit or PCB carrier board, reserve enough space around the USB connector and pin headers. Keep high-current loads away from signal pins, use proper decoupling capacitors near power input, and separate noisy motor or relay circuits from analog sensor traces. If the Nano is installed on a custom PCB, clearly mark pin 1 orientation to prevent reverse insertion.

Common Wiring Mistakes

Common Arduino Nano wiring mistakes include connecting 5V signals to 3.3V-only modules, driving motors directly from I/O pins, forgetting common ground, using D0 and D1 while serial communication is active, overloading the onboard regulator, and connecting analog sensors without proper filtering. These problems can cause unstable readings, upload failure, overheating, or board damage.

PCB Layout Tips for Arduino Nano Projects

For a reliable Arduino Nano PCB design, place power input protection close to the connector, route ground as a continuous reference plane, avoid long analog traces near switching signals, and use wider copper traces for power lines. Add test points for 5V, 3.3V, GND, reset, UART, and key sensor signals. For industrial or long-cable applications, consider ESD protection, TVS diodes, filtering, and connector locking design.

Arduino Nano PCB Design Example
Arduino Nano PCB Design Example

FAQ

How many pins does Arduino Nano have?

Arduino Nano has digital I/O pins, analog input pins, power pins, reset pins, and communication pins. The exact usable pin count depends on whether UART, I2C, SPI, or analog functions are being used in the project.

Which pins support PWM on Arduino Nano?

The PWM pins are D3, D5, D6, D9, D10, and D11. These pins can be used for LED dimming, servo control signals, and motor speed control when combined with suitable driver circuits.

Can A6 and A7 be used as digital pins?

No. A6 and A7 are analog-input-only pins on Arduino Nano. They can read analog voltage but cannot be used as digital input or digital output pins.

What are the I2C pins on Arduino Nano?

The I2C pins are A4 for SDA and A5 for SCL. These pins are commonly used with OLED displays, RTC modules, EEPROM chips, and many sensor modules.

What are the SPI pins on Arduino Nano?

The SPI pins are D10 for SS, D11 for MOSI, D12 for MISO, and D13 for SCK. These pins are used for SD cards, RF modules, displays, and other SPI devices.

Can Arduino Nano power motors directly?

No. Motors require more current than Arduino Nano I/O pins can safely provide. Use a motor driver, MOSFET circuit, relay module, or dedicated driver IC for motor control.

Can Arduino Nano run on 3.3V?

Some Nano-compatible boards may support 3.3V operation, but the common Arduino Nano is usually designed for 5V logic. Always check the board version before connecting 3.3V-only devices.

Why should D0 and D1 be used carefully?

D0 and D1 are connected to the UART interface. They are used during serial communication and programming. Connecting external circuits to these pins may interfere with uploading code or serial debugging.

Is Arduino Nano suitable for custom PCB products?

Yes. Arduino Nano is often used as a removable controller module on custom carrier boards. For professional products, power design, EMI control, connector strength, thermal design, and protection circuits should be considered.

What is the best practice for Arduino Nano power design?

Use a stable regulated power supply, avoid overloading the onboard regulator, connect all grounds together, and add filtering capacitors near power input and sensitive sensor circuits.

The Arduino Nano pinout is simple but powerful, making it suitable for compact embedded systems, sensor projects, automation devices, robotics, and custom PCB carrier boards. By understanding digital pins, analog inputs, PWM outputs, power pins, UART, SPI, and I2C functions, designers can build more reliable circuits and avoid common wiring failures.

If you need Arduino Nano carrier PCB design, prototype PCB manufacturing, OEM production, ODM support, batch assembly, or custom engineering solutions, contact our engineering team for technical support and quotation service [email protected].

Facebook
Twitter
LinkedIn
Email

Get A Quote