Arduino Nano Tutorial [Pinout]

In this tutorial you learn everything you have to know about the Arduino Nano:

  • Technical datasheet
  • What is the pinout of the Nano?
  • What is the best power supply for this microcontroller?
  • How to reduce the Arduino Nano power consumption?
  • Advantages and Disadvantages of the Arduino Nano.
  • Compare the Nano to other Arduino and ESP8266 based microcontroller.
Microcontroller Comparison

Table of Contents

Arduino Nano Datasheet

The Arduino Nano is a microcontroller board, based on the ATmega328P microcontroller by Atmel. The Atmega328 comes with built-in bootloader, which makes it very easy to flash the board with your code. Like all Arduino boards, you can program the software running on the board using a language derived from C and C++. The easiest development environment is the Arduino IDE. The Nano is the smallest board of the Arduino boards but has nearly the same datasheet like the Arduino Uno. Only the power jack is missing and instead of a standard USB port the Nano has a Mini-B USB plug.

The following table contains the datasheet of the Arduino Nano R3 microcontroller board:

BoardArduino NANO 3
ProcessorAVR 8-bit
Operating Voltage5V
Minimum Operating Voltage2.7V
Maximum Operating Voltage6V
Arduino IDE BoardArduino Nano
Power Supply via VIN,VCC7V...12V
Digital I/O Pins (with PWM)14 (6)
Analog Input Pins8
Resolution ADC10 bit (0...1023)
Analog Output Pins0
Max DC Current per I/O Pin40 mA
Max DC Current per 3V Pin50 mA
Flash Memory32 KB
EEPROM1024 bytes
Clock Speed16 MHz
Length x Width45mm x 18mm
Fits on standard breadboardyes
Touch sensorno
Ethernet MAC Interfaceno
Temperature Sensorno
Hall effect sensorno
Power jackno
USB connectionyes
Battery Connectionno
ProgrammableArduino IDE
5V Voltage RegulatorLM1117IMPX-5.0
Output Voltage5V
Maximum Input Voltage20V
Minimum Input Voltage7V
Maximum Output Current800mA
Maximum Voltage Dropout1.2V @ 800mA
Typical Quiescent Current5mA
3.3V Voltage RegulatorFT232R USB UART
Output Voltage3.3V
Maximum Input Voltage5.25V
Minimum Input Voltage4.35V
Maximum Output Current100mA
Typical Quiescent Current2.5mA
Power Consumption @ 9V
Reference Empty Script [mA]22.5
Reduce Clock Speed [mA]18.5
Low Power Mode [mA]4.83
Power Consumption @ 3.3V
Reduce Clock Speed [mA]3.41
Low Power Mode [mA]3.42

Do you want to compare the datasheet of different microcontroller boards like Arduino Uno, Arduino Mega, ESP8266 Node MCU and WeMos D1 Mini? Follow this Link for the comparison.

If you do not already have an Arduino Nano, you can buy one from the following links. I get commissions for purchases made through links in this table.

ComponentAmazon LinkAliExpress Link
Arduino NanoAmazonAliExpress

Arduino Nano R3 Pinout

Arduino Nano Pinout

The Arduino Nano is the smallest microcontroller in the Arduino family and has therefore the lowest number of pins and connections. But in my opinion the Nano is very suitable for projects where you do not need a wireless connection.

The Nano has one 3.3V and two 5V power pins of which one is the VIN pin. With the VIN pin you can supply the Arduino Nano with a voltage between 7V-12V to run the microcontroller on battery for example. All three power pins provide a maximum currency of 50 mA. You can close the circuit with two ground pins.

The microcontroller has 8 analog pins with a 10-bit analog-to-digital converter (ADC). The ADC converts the input voltage to a signal between 0 and 1023. There is also the possibility to use the analog pins A0…A5 as output with the function digitalWrite(Ax). Both analog pins A6 and A7 are only analog inputs.

There are in total 14 digital I/O pins which can be used with a maximum currency of 40 mA if you are not using the serial ports RX0 (UART -> In) and RX1 (UART -> Out) and do not use the Serial.begin() function in your Arduino script. If you use the serial ports, then you have in total 12 digital pins (D2…D13) that can be used like you see in the pinout picture. If you want to create a PWM signal for example to control the speed of a motor, there are 6 of the 13 digital pins, which are PWM ready.

You can use pin 2 and 3 as interrupts if you want to monitor an input during the runtime of the whole Arduino script.

The typical communication standards (SPI, I2C and UART) are also available on the Arduino Nano.

Arduino Nano R3 Power Supply

The Arduino Nano board has different voltage levels, that we have to know before we can dive into the possibilities to supply power to the microcontroller. The following picture shows a schematic of the voltage levels on the Arduino Nano as well as the voltage levels and the maximum currents defined by the components.

Arduino Nano voltage current overview

The main microprocessor for the Arduino Nano 3 is the ATmega328p.

MicrocontrollerMinimum VoltageTypical VoltageMaximum Voltage

The ATmega328p has an operation voltage of 5V, a minimum voltage of 2.7V and a maximum voltage of 6V. Therefore the two voltage regulators have an output voltage of 5V equal to the operation voltage of the microprocessor.

Microcontroller Datasheet eBook

The 35 pages Microcontroller Datasheet Playbook contains the most useful information of 14 Arduino, ESP8266 and ESP32 microcontroller boards.

Arduino Nano Voltage Regulators

The following table shows the voltage specifications of the two onboard voltage regulators.

Voltage RegulatorOutput VoltageMaximum Input VoltageMaximum Output Current
FT232R USB UART3.3V5.25V100mA

The FT232R USB UART is connected to the USB port of the Arduino Nano that supports the board with 5V and a maximum current of 500mA but it is recommended to only draw a current of 100mA if the microcontroller is powered via USB. The 3.3V pin is also powered from the FT232R voltage regulator that supports up to 50mA.

The second voltage regulator, the LM1117 supports input voltages between 7V and 12V with a maximum current of 900mA. In the data sheet you find a maximum voltage of 20V but this voltage is not recommended for a longer duration because the voltage regulator has no head sink.

The 5V pin of the Arduino Nano is directly connected to the 5V voltage regulator and supports a maximum current that is defined by the difference of the current provided by the voltage regulator and the current from the ATmega328p.

Maximum Current for I/O Pins

Each I/O pin supports a maximum current of 40mA but it is not possible to draw 40mA current over each pin because the maximum allowed current load of the port registers must be considered.

The digital and analog pins of the ATmega328p are connected to different port registers and each port register supports a maximum allowed current that depends on if the register is used as source or as sink. The following table shows which pin is assigned to which port register and also the maximum current.






Port Register






Max Current Source 150mA


Max Current Sink 100mA


There are in total 3 port registers: D, B, C. All digital pins D0…D13 are assigned to register D and B. For the maximum current, port register D is separated. All analog pins belong to the port register C.

The maximum current, if the pins are a current source, is 150mA. The sum of all pins in the colored port register should not exceed 150mA:

  • Current source of port register D0…D4 + C0…C5 < 150mA
  • Current source of port register D5…D7 + B0…B5 < 150mA

If the I/O pin is a current sink, the maximum current is 100mA and divided into three groups:

  • Current sink of port register D0…D4 < 100mA
  • Current sink of port register D5…D7 + B0…B5 < 100mA
  • Current sink of port register C0…C4 < 100mA

How to Power Arduino Nano: 2 Possibilities

You can power your Nano in two save options because a voltage regulator provides a regulated and stable voltage for the microprocessor:

  1. Mini USB cable: The most popular and also the easiest way to power the Arduino Nano is via USB cable. The standard USB connection delivers 5V and allows you to draw 100mA in total.
  2. VIN Pin: If the current consumption exceeds 100mA you should power the Arduino Nano via the VIN pin. The voltage has to be between 5V and 12V. Therefore you are able to power the Nano with an external 9 Volt battery.

You can also power power the Arduino microcontroller from the 3.3V pin or the 5V pin. This is not recommended because you bypass the voltage regulators and have to make sure that the voltage level is stable.

Arduino Nano Power Consumption

The power consumption of the Arduino Nano is obviously dependent on the connected electrical devices and the task that is performed. But when we are interested in the power consumption, most of the times we want to know how to reduce the Arduino Nano power consumption.

The following picture show the power consumption of the Arduino Nano in different setups.

Arduino Nano Power Consumption

The reference power consumption of the Arduino Nano with a power supply of 9V is 22.05mA, that is lower then the reference power consumption of the Arduino Mega (73.19mA) and the Arduin Uno (98.43mA).

You can lower the power consumption by reducing the clock speed from 16 MHz to 8 MHz to 18.5mA. If you then also reduce the power supply from 9V to 3.3V, the power consumption is further reduced to 3.41mA.

An other option to reduce the power consumption is to use the Low-Power library from rocketscream. With a 9V power supply, the current consumption is reduced to 4.83mA and you achieve the lowest power consumption for the Arduino Nano of 3.42mA with a 3.3V power supply and the use of the low power mode.

The following example scripts sets Arduino Nano in the deep-sleep mode for 8 seconds with the use of the low power library. I also wrote a step by step tutorial, how to reduce the Arduino power consumption where you also see how to reduce the clock speed.

#include "LowPower.h"

void setup()
    // No setup is required for this library

void loop() 
    // Do something here
    // Example: Read sensor, data logging, data transmission.

    // Enter power down state for 8 s with ADC and BOD module disabled
    LowPower.powerDown(SLEEP_8S, ADC_OFF, BOD_OFF);  

You find a full comparison about the power consumption in different power modes of several Arduino, ESP8266 and ESP32 microcontroller boards in my Microcontroller Datasheet eBook.

Arduino Nano R3 Advantages and Disadvantages


  • The Nano has an advantage in size compared to the Uno. Because the Nano is shorter it fits better in small cases for your projects.
  • 8 analog input pins are for the most projects more than enough. The 1 analog input from the EPS8266 are for some projects too few and 8 analog inputs are better than the 6 of the Uno.


  • For the Nano R3 there is no build in WiFi. Because most of my projects are related to the IoT sector I use WiFi in almost all my projects.
  • Also the Nano has a relative high price for his datasheet. If you are looking for a small but cheaper microcontroller, have a look at the WeMos D1 Mini.


The Nano is the smallest Arduino board on the market. If you do not need a WiFi connection the Arduino Nano is a good choice. If you want a small board in combination with a mini USB cable power supply and you do not need multiple analog pins than the WeMos D1 Mini with the ESP8266 chip will be a good alternative because this board has WiFi included.

Loading comments...