Introduction: That Tiny Board with Too Many Labels

You ordered an Arduino Nano online because someone told you it was perfect for small projects. It arrives, you pull it out of the package, and your first reaction is something like — "Wait, this thing is tiny. Where are all the pins? And what do all these labels mean?"

If that sounds familiar, you are in exactly the right place.

The Arduino Nano is genuinely small — about the size of a stick of chewing gum — but it is packed with more functionality than most beginners expect. Every edge of the board is lined with tiny pins, each one serving a specific purpose. Labels like VIN, AREF, A6, A7, MOSI, MISO crowd around the edges, and without a guide, it all looks like alphabet soup.

Here is the truth though: once someone explains the layout clearly, it all makes perfect sense. This guide will do exactly that — walk you through the Arduino Nano pin diagram step by step, in plain English, with real examples you can actually use. No engineering textbook language. No assumptions about what you already know.

Let us start from the very beginning.

Why Arduino Nano Feels Different from Arduino UNO

One of the biggest surprises for beginners is that the Arduino Nano looks similar to the UNO in functionality, but feels very different in real use.

The main reason is not the software—it is the physical design.

The Nano is designed for:

  • Tight spaces
  • Breadboard integration
  • Embedded permanent projects

Unlike the UNO, which is more beginner-friendly in layout, the Nano requires you to think more carefully about pin placement because everything is compact and closely spaced.

This is why understanding the pin diagram is even more important on the Nano than on larger boards.  Arduino UNO pin diagram explained



What is Arduino Nano? And When Should You Use It?

The Arduino Nano is a compact, breadboard-friendly microcontroller board based on the same ATmega328P chip used in the Arduino UNO. It can do almost everything the UNO can do — read sensors, control LEDs, run motors, communicate with other devices — but in a body that is roughly one-third the size.

So when does it make sense to choose the Nano over the UNO?

Choose the Nano when space is limited. If you are building something that needs to fit inside a small enclosure — a wearable device, a miniature robot, a compact sensor node — the Nano fits where the UNO simply cannot.

Choose the Nano when you are using a breadboard. The Nano is designed to plug directly into a standard breadboard, which makes prototyping circuits much more convenient and tidy than the UNO's larger form factor.

Choose the UNO when you are just starting out and want the most learning resources available, or when your project needs the physical shield compatibility that only the UNO's larger connector layout provides.

For compact builds and breadboard projects, the Nano is often the smarter choice.


Visual Understanding First: Getting to Know the Layout

Before diving into what each pin does, it helps enormously to understand where everything is physically located on the board. Many beginners skip this step and then get confused when trying to match a diagram to the real board in their hands.

Hold your Arduino Nano so that the USB Mini-B port is facing away from you at the top of the board. You will notice two rows of pins running along the left side and right side of the board from top to bottom, like two parallel train tracks.

The left side pins (when USB faces up) carry the digital pins D1 through D13, the TX and RX communication pins, and the Reset pin. These are your action pins — the ones you use to control outputs and read inputs.

The right side pins carry the analog pins A0 through A7, the power pins (VIN, 5V, 3.3V, GND), and the AREF pin. These handle power delivery and sensor readings.

At the very top of the board, nearest the USB port, you will find the Reset pin on one side and the 3.3V, AREF, and A7 pins on the other.

At the bottom of the board, furthest from the USB port, you find the power input pins — VIN and GND — along with D13 and the second GND pin.

Once you physically identify these regions on your actual board, the pin diagram image you find online will suddenly make much more sense. The diagram is simply a flattened, labeled version of what you are already looking at.


Pin Categories Explained — The Practical Way





Rather than listing pins in numerical order like a datasheet, let us group them the way you will actually think about them when building projects.

Power and Ground Pins — Keeping Everything Alive

Every circuit needs power and a reference point for that power. These pins handle both.

VIN is the voltage input pin. If you want to power your Nano from a battery or external power supply instead of the USB cable, connect the positive wire here. The Nano accepts between 7 and 12 volts through VIN, and its onboard regulator converts that down to a stable 5V for the rest of the board.

5V outputs a regulated 5 volts. Use this to power sensors and modules that require 5V. Unlike VIN, this pin gives you clean, regulated power regardless of what you connected to VIN.

3.3V outputs 3.3 volts, which is what many modern sensors, Bluetooth modules, and display screens require. Always check your component's voltage requirement — connecting a 3.3V component to the 5V pin is one of the fastest ways to damage it.

GND is ground — the return path for all electrical current in your circuit. The Nano has two GND pins, and both connect to the same ground. Every component you power must also connect to GND to complete the circuit.

Real example: Power a small 5V buzzer by connecting its positive leg to the 5V pin and its negative leg to GND. The buzzer turns on immediately when the Nano is powered.


Digital Pins (D0 to D13) — Your On/Off Controllers

The Nano has 14 digital pins numbered D0 through D13. Like the UNO, these pins operate in two states — HIGH (5V, on) and LOW (0V, off). You configure each one as either INPUT or OUTPUT using pinMode() in your code.

What makes the Nano slightly trickier than the UNO for beginners is that D0 and D1 are shared with the serial communication lines (TX and RX). This means if you use them for a button or LED, you may encounter problems when uploading new code to the board. The safe habit is to leave D0 and D1 free and start your projects from D2 onwards.

Real example: Connect an LED (with a 220-ohm resistor) to D7. Set D7 as OUTPUT in setup(). Use digitalWrite(7, HIGH) to turn it on and digitalWrite(7, LOW) to turn it off.


PWM Pins — Smooth Control, Not Just On and Off

Six of the Nano's digital pins support PWM — Pulse Width Modulation. These are pins D3, D5, D6, D9, D10, and D11, each marked with a tilde (~) symbol on the board.

PWM allows you to simulate variable power levels through rapid switching. Instead of a light being fully on or fully off, PWM lets you tell the pin to be "on 50% of the time" — which makes the LED appear to glow at half brightness. The switching happens thousands of times per second, so it looks like a smooth dimming effect rather than flickering.

You control PWM pins using analogWrite() with a value from 0 (completely off) to 255 (completely on).

Real example: Connect an LED to PWM pin D6. Use analogWrite(6, 80) for a gentle glow, analogWrite(6, 200) for near-full brightness, and analogWrite(6, 0) to turn it off completely. This is how breathing light effects are created.


Analog Pins (A0 to A7) — Reading the Real World

Here is where the Arduino Nano has a meaningful advantage over the UNO: it has eight analog input pins (A0 through A7) compared to the UNO's six.

Analog pins measure voltage levels between 0 and 5 volts and convert them into a number between 0 and 1023 using the onboard analog-to-digital converter. This range of values is what lets Arduino read real-world sensor data that changes continuously — temperature, light levels, moisture, distance, and more.

Pins A0 through A5 work exactly like the UNO's analog pins and can also double as digital pins when needed. Pins A6 and A7, however, are analog-input only — they cannot be used as digital pins. This is an important Nano-specific detail that catches many beginners off guard.

Real example: Connect a photoresistor (light sensor) in a voltage divider circuit to pin A0. Use analogRead(A0) in your program. In darkness the reading drops toward 0; in bright light it climbs toward 1023. Use this to trigger an LED automatically when the room gets dark.


Communication Pins — Talking to Other Devices

The Nano supports three main communication protocols, each using specific pins.

Serial (TX/RX) — Pins D1 and D0 TX (Transmit) and RX (Receive) handle serial communication between the Nano and your computer or other serial devices. The Serial Monitor in the Arduino IDE uses these pins. As mentioned earlier, avoid using them for other components while actively programming the board.

I2C — Pins A4 (SDA) and A5 (SCL) I2C allows one Nano to control multiple devices using just two wires — a data line (SDA on A4) and a clock line (SCL on A5). OLED display screens, temperature and humidity sensors, and real-time clock modules all commonly use I2C. It is elegant and efficient for connecting several devices at once.

SPI — Pins D10 (SS), D11 (MOSI), D12 (MISO), D13 (SCK) SPI is a faster communication protocol used for SD card modules, certain display screens, and radio frequency modules. It uses four dedicated pins and transfers data more quickly than I2C, which matters for applications where speed is important.

Real example: Connect a small OLED display to your Nano using just four wires — VCC to 3.3V, GND to GND, SDA to A4, and SCL to A5. With the right library installed, you can display text and graphics on the screen with just a few lines of code.


Arduino Nano vs UNO — Which One Fits Your Project?

FeatureArduino UNOArduino Nano
SizeCredit card sizedChewing gum sized
Analog pins6 (A0–A5)8 (A0–A7)
Breadboard friendly❌ Not directly✅ Plugs straight in
USB connectorType B (large)Mini-B or Micro-B
Digital pins1414
PWM pins66
Best forLearning, shields, prototypesCompact builds, embedded projects
PriceSlightly higherSlightly lower

The core functionality is nearly identical. The decision usually comes down to space and how you want to connect things. For breadboard-based experiments, the Nano wins every time. For using plug-on shields and classroom learning, the UNO remains the standard.

👉 Verdict: If you are building breadboard or compact projects, choose Nano. If you are learning basics or using shields, choose UNO.


Beginner Mistakes Specific to the Arduino Nano

The Nano introduces a few pitfalls that are different from the UNO. Here are the most common ones to watch out for.

Forgetting that A6 and A7 are analog-only. Many beginners try to use these pins as digital outputs for LEDs or buttons and wonder why nothing works. Remember — A6 and A7 can only read analog values. They cannot be set as OUTPUT.

Powering the Nano incorrectly through VIN. Connecting a voltage lower than 7V or higher than 12V to VIN can cause instability or damage. If you are using a 5V power source, connect it directly to the 5V pin instead of VIN — this bypasses the voltage regulator and works perfectly safely.

Breadboard pin confusion. When the Nano is plugged into a breadboard, the pins on each side sit very close to the centre channel. Beginners sometimes accidentally connect wires to the wrong row. Always double-check by counting rows from the top of the board before connecting anything.

Using D0 and D1 during development. If you connect components to the TX and RX pins while trying to upload new code, the upload will often fail with a confusing error message. Remove connections from D0 and D1 before uploading, then reconnect afterwards.


How to Read a Nano Pin Diagram Image

When you find an Arduino Nano pin diagram online, you will see the board drawn from above with labels on both sides of every pin. Here is how to make sense of it quickly.

Ignore what you do not need yet. A full pin diagram shows every possible function of every pin simultaneously. That looks overwhelming. Focus only on what your current project requires — power pins, one or two digital pins, maybe an analog pin.

Understand dual-function labels. Many pins have two or three labels stacked on top of each other. For example, pin D11 might show "D11 / MOSI / PWM." This means the same physical pin can serve as a regular digital output, a PWM output, or an SPI data line — depending on how your code uses it. It is one pin, multiple personalities.

Match colours to categories. Good Nano pin diagrams use colour coding — red for power, blue or green for digital, yellow for analog, purple for communication. Following the colours lets you quickly find the pin type you need without reading every single label.


Simple Beginner Project: Temperature Display with Nano

Here is a satisfying first project that uses the Nano's analog pins and serial communication together.

What you need: Arduino Nano, TMP36 temperature sensor, three jumper wires, USB cable.

How to connect it: The TMP36 has three legs. Connect the left leg to the 5V pin, the right leg to GND, and the middle leg (the output) to analog pin A0.

What the code does: Use analogRead(A0) to get a raw number, convert it to a voltage, then convert that voltage to degrees Celsius using a simple formula. Print the result to the Serial Monitor using Serial.println().

When you open the Serial Monitor, you will see the current room temperature updating in real time. Move the sensor near something warm and watch the number climb. This single project teaches analog reading, serial communication, and basic data conversion all at once — a perfect introduction to what the Nano can do.


Conclusion: Small Board, Big Possibilities

The Arduino Nano is proof that good things genuinely do come in small packages. Once you understand its pin layout — power pins on one side, digital and analog pins filling the rest, communication pins sharing duty with digital pins — everything becomes logical and approachable.

You do not need to memorise every pin on day one. Start with what your project needs. Connect power, add one sensor or LED, write a few lines of code, and watch it work. That first working circuit is the moment everything clicks, and from there the learning curve becomes a gentle slope rather than a steep wall.

The Nano fits in projects that the UNO cannot, opens up possibilities that larger boards make awkward, and costs less than a good cup of coffee. It is a remarkable little tool, and now that you understand its pins, you are fully equipped to start using it.

Build something. Experiment freely. Enjoy the process.


Frequently Asked Questions (FAQ)

Q1: Can the Arduino Nano do everything the UNO can? Almost everything, yes. The Nano runs on the same ATmega328P microcontroller chip and supports the same programming language and most of the same libraries. The main differences are its smaller size, its Mini-B or Micro-B USB connector, its two extra analog pins (A6 and A7), and the fact that it does not support UNO-style plug-on shields. For the vast majority of beginner and intermediate projects, the Nano is fully capable.

Q2: Why does my Nano not upload code when I have something connected to D0 or D1? Because D0 (RX) and D1 (TX) are used by the USB communication system that transfers your code from the computer to the board. When another component is connected to these pins, it interferes with that communication and causes upload failures. Always disconnect anything from D0 and D1 before uploading, then reconnect after the upload completes successfully.

Q3: Can I use the Nano without a USB cable once it is programmed? Absolutely. Once you upload your program, it is stored permanently in the Nano's memory. You can power the board from a battery connected to VIN and GND, and your program will run automatically without any computer connection needed. This is what makes the Nano ideal for standalone embedded projects.

Q4: What is the difference between A6/A7 on the Nano and A6/A7 on the UNO? The standard Arduino UNO does not have A6 or A7 pins at all — it only goes up to A5. The Nano adds these two extra analog-input-only pins, giving you more sensor connection options in a smaller space. Just remember they cannot be used as digital pins, unlike A0 through A5.

Q5: Is the Arduino Nano good for wearable electronics projects? Yes, it is one of the most popular choices for simple wearable projects because of its compact size and breadboard compatibility. However, for very advanced wearable projects with strict size and power requirements, purpose-built boards like the Arduino Nano 33 BLE Sense or the Adafruit Gemma might be even better suited. For beginner wearable experiments though, the standard Nano is a great starting point.

Q6: Is Arduino Nano better for IoT projects?

Yes, Arduino Nano is commonly used in IoT projects because of its small size and ability to work with sensors efficiently. However, WiFi is not built-in, so external modules like ESP8266 are often used.



Published on Vidumina STEM Zone — Explore Science, Technology, Engineering & Mathematics.