1. Introduction to Arduino Nano Pinout and Hardware Architecture
Arduino Nano is one of the most popular compact development boards based on the ATmega328P microcontroller. It is widely used in embedded systems, electronics education, rapid prototyping and industrial control applications because of its small size, low power consumption and rich peripheral interfaces.
The Arduino Nano Pinout defines the function and electrical characteristics of every pin on the development board. Understanding the pinout is essential for engineers when designing circuits, developing firmware and creating custom PCB designs based on the Arduino Nano architecture.
Compared with larger Arduino boards such as Arduino Uno, Arduino Nano provides almost identical processing capability while reducing the PCB footprint significantly.
The compact design makes Arduino Nano suitable for applications where PCB size is limited, including: Portable electronic devices,Sensor monitoring systems,Industrial control modules,Embedded automation products,DIY electronic projects

Arduino Nano Main Hardware Specifications
The standard Arduino Nano uses the ATmega328P microcontroller manufactured by Microchip Technology.
The main hardware specifications are shown below:
| Parameter | Specification |
|---|---|
| Microcontroller | ATmega328P |
| Operating Voltage | 5V |
| Input Voltage | 7V – 12V Recommended |
| Digital I/O Pins | 14 |
| PWM Pins | 6 |
| Analog Input Pins | 8 |
| Flash Memory | 32KB |
| SRAM | 2KB |
| EEPROM | 1KB |
| Clock Frequency | 16MHz |
ATmega328P Microcontroller Architecture
The ATmega328P is an 8-bit AVR microcontroller that provides the processing capability for Arduino Nano.
Its internal architecture includes: 8-bit AVR CPU core,32KB Flash program memory,2KB SRAM,1KB EEPROM,10-bit ADC converter,Hardware UART interface,SPI communication interface,I2C communication interface,Timer and PWM modules
These integrated peripherals allow Arduino Nano to directly interface with sensors, displays, motors and communication modules without additional processing hardware.
Arduino Nano Board Dimensions and Mechanical Design
One of the major advantages of Arduino Nano is its compact PCB size.
| Parameter | Typical Value |
|---|---|
| PCB Length | Approximately 45mm |
| PCB Width | Approximately 18mm |
| PCB Thickness | 1.6mm |
| Mounting Method | Through-hole Header Pins |
The narrow PCB width allows Arduino Nano to be installed on breadboards and embedded into compact electronic products.
Arduino Nano Pinout Overview
Arduino Nano contains multiple categories of pins: Digital Input/Output Pins,Analog Input Pins,PWM Output Pins,Communication Interface Pins,Power Supply Pins
Each pin has a specific electrical function that determines how external components should be connected.
2. Detailed Arduino Nano Pinout Function Analysis
Digital Pins D0-D13
Arduino Nano provides 14 digital input/output pins numbered from D0 to D13.
These pins operate at a logic voltage level of 5V and can be configured as either digital inputs or digital outputs through firmware.
The digital pins are commonly used for: LED control,Button input,Relay control,Motor driver signals,Digital sensor communication
UART Communication Pins: D0 and D1
Digital pins D0 and D1 provide hardware UART communication.
| Pin | Function |
|---|---|
| D0 | RX Receive Data |
| D1 | TX Transmit Data |
UART is commonly used for communication with: Bluetooth modules,GPS modules,Serial communication devices,Industrial controllers
During PCB design, engineers should avoid routing high-noise signals close to UART traces to prevent communication errors.
PWM Pins
Arduino Nano provides six PWM capable pins:D3,D5,D6,D9,D10,D11
PWM (Pulse Width Modulation) allows Arduino Nano to simulate analog output by controlling duty cycle.
Typical applications include: LED brightness adjustment,Motor speed control,Servo control,Power regulation
SPI Communication Pins
SPI is a high-speed synchronous communication interface.
Arduino Nano SPI pins include:
| Pin | SPI Function |
|---|---|
| D10 | SS |
| D11 | MOSI |
| D12 | MISO |
| D13 | SCK |
SPI is commonly used for: SD card modules,TFT displays,External memory,High-speed sensors
Analog Pins A0-A7
Arduino Nano provides eight analog input channels.
These pins connect external analog sensors and convert analog voltage signals into digital values through the built-in 10-bit ADC.
The ADC resolution is:
10-bit ADC 0V - 5V Digital Range: 0 - 1023
Common applications include:Temperature measurement,Light sensors,Pressure sensors,Battery voltage monitoring
4. Practical Arduino Nano Application Cases and Circuit Design Analysis
Arduino Nano is widely used in embedded control systems because of its compact size, sufficient processing capability and flexible GPIO resources.
The following practical cases demonstrate how Arduino Nano pins are applied in real engineering projects.
Case Study 1: Smart Temperature Monitoring System
A temperature monitoring system is one of the most common Arduino Nano applications.
The system continuously collects temperature data and displays the measurement results through an OLED display.
System Hardware Configuration
| Component | Function | Arduino Nano Connection |
|---|---|---|
| Arduino Nano | Main controller | ATmega328P |
| DHT22 Sensor | Temperature and humidity measurement | D2 Digital Pin |
| OLED Display | Data display | A4 SDA / A5 SCL |
| Buzzer | Alarm output | D8 |
| LED Indicator | Status indication | D13 |
Circuit Design Analysis
The DHT22 sensor uses a digital communication protocol, therefore it can directly connect to a digital GPIO pin.
The connection design is:
DHT22 DATA ↓ Arduino Nano D2 ↓ ATmega328P Processing ↓ OLED Display Output
The OLED display uses I2C communication, which reduces the number of required wires.
Only two signal lines are required:
- A4 → SDA
- A5 → SCL
This demonstrates one of the advantages of Arduino Nano: multiple communication interfaces can operate simultaneously.
PCB Design Considerations
For a reliable temperature monitoring PCB, engineers should consider: Place sensor connector away,from switching circuits,Separate analog and digital ground areas,Add filtering capacitor near sensor power supply,Keep I2C traces short
Case Study 2: DC Motor Speed Control System
Arduino Nano is commonly used in motor control applications because of its built-in PWM capability.
The PWM pins allow engineers to control motor speed by adjusting duty cycle.
System Configuration
| Component | Connection |
|---|---|
| Arduino Nano | Controller |
| MOSFET Driver | PWM Pin D9 |
| DC Motor | External Power Supply |
| Current Sensor | Analog Input A1 |
PWM Control Principle
The motor speed is controlled by changing the PWM duty cycle.
Example:
| PWM Duty Cycle | Motor Speed |
|---|---|
| 20% | Low Speed |
| 50% | Medium Speed |
| 90% | High Speed |
Arduino Nano does not directly drive the motor because the GPIO output current is limited.
A MOSFET driver circuit is required to handle higher current.
Motor Control PCB Design Requirements
Motor applications generate electrical noise, therefore PCB design is more challenging.
Recommended design methods: Separate motor power and MCU power,Add flyback diode protection,Use large copper traces for motor current,Add filtering capacitors,Keep PWM signal away from analog signals
A typical motor control PCB may use:
| PCB Parameter | Recommended Value |
|---|---|
| PCB Material | FR-4 |
| Layer | 2 Layer |
| Copper Thickness | 1oz – 2oz |
| Board Thickness | 1.6mm |
5. Arduino Nano vs Other Development Boards: Performance and Application Comparison
Selecting the correct development platform is important for successful product development.
Although Arduino Nano is popular, other boards may provide better performance depending on application requirements.
Arduino Nano vs Arduino Uno
| Feature | Arduino Nano | Arduino Uno |
|---|---|---|
| MCU | ATmega328P | ATmega328P |
| Clock Speed | 16MHz | 16MHz |
| Flash Memory | 32KB | 32KB |
| Digital I/O | 14 | 14 |
| PCB Size | Small | Large |
Arduino Nano and Uno provide almost identical processing performance.
The main difference is physical size.
Nano is better for compact products, while Uno is more suitable for classroom learning and larger prototype systems.
Arduino Nano vs ESP32
| Feature | Arduino Nano | ESP32 |
|---|---|---|
| Processor | 8-bit AVR | 32-bit Dual Core |
| Clock Frequency | 16MHz | Up to 240MHz |
| WiFi | No | Yes |
| Bluetooth | No | Yes |
| Operating Voltage | 5V | 3.3V |
ESP32 provides much higher processing capability and wireless communication features.
However, Arduino Nano has advantages in: Simple programming,5V compatibility,Large educational ecosystem,Lower design complexity
Arduino Nano vs Raspberry Pi Pico
| Feature | Arduino Nano | Raspberry Pi Pico |
|---|---|---|
| MCU | ATmega328P | RP2040 |
| Architecture | 8-bit AVR | Dual-core ARM Cortex-M0+ |
| Clock | 16MHz | 133MHz |
| GPIO | 22 | 26 |
Raspberry Pi Pico provides higher performance, while Arduino Nano provides a simpler development environment.











