The Arduino Nano V3.0 compatible board is a compact ATmega328P development board that plugs straight into a breadboard and programs over Mini-B USB.
It runs the same microcontroller as the Arduino UNO R3 in a much smaller board, so it suits breadboard prototypes and projects where space is tight. It has 14 digital pins, 8 analog inputs and 6 PWM outputs.
Chip
ATmega328P
Memory
32 KB flash · 2 KB SRAM
Logic level
5 V · 16 MHz
USB
Mini-B
Why choose it
Familiar chip — the same ATmega328P as the Arduino UNO R3, so most UNO sketches and tutorials carry across.
Plenty of pins for its size — 14 digital pins (6 with PWM) and 8 analog inputs A0–A7, plus UART, I2C and SPI.
Flexible power — power and program it over USB, or feed 7–12 V into the VIN pin.
Specifications
Core
Microcontroller
ATmega328P
Clock speed
16 MHz
Flash memory
32 KB (30,720 bytes for sketches with the old bootloader)
SRAM
2 KB
EEPROM
1 KB
Inputs and outputs
Digital I/O pins
D0–D13 (14 pins; D0 = RX, D1 = TX)
Analog inputs
8 (A0–A7), 10-bit
PWM outputs
6 (D3, D5, D6, D9, D10, D11)
I2C
A4 (SDA), A5 (SCL)
SPI
D13 (SCK), D11 (MOSI), D12 (MISO), D10 (SS)
External interrupts
D2 (INT0), D3 (INT1)
Maximum current per I/O pin
20 mA
Power and USB
Logic level
5 V
External supply (VIN pin)
7–12 V
5V pin
Regulated 5 V external supply input
USB connector
Mini-B
Programming
USB (bootloader) or 6-pin ICSP header
Compatibility
Platform
Works
Notes
5 V sensors and modules
✓ Yes
I/O pins use 5 V logic
3.3 V-only modules
◐ With adapter
Use a logic level shifter, because the I/O pins output 5 V
Arduino UNO shields
✗ No
The Nano has a different pin layout and does not plug into UNO shields
Pin header strips and a 2 × 3 ICSP header, as pictured
Applications
Compact breadboard prototypes with sensors and displays
LED dimming, motor control and other PWM projects
Learning Arduino programming on a low-cost board
Tutorial
What you'll build: set up the Arduino IDE, flash the on-board LED, check Serial Monitor, then dim an LED with a potentiometer · About 30 minutes.
Part 1 — Set up the Arduino IDE (once only)
1
Install the Arduino IDE Download the free Arduino IDE and install it.
2
Connect the board Plug the Nano into your computer with a Mini-B USB data cable. The red POW LED on the board should light. If no port appears later, try another cable (some are charge-only) and install the USB driver for your board.
3
Choose the board and processor In the Arduino IDE open Tools → Board → Arduino AVR Boards → Arduino Nano. Then open Tools → Processor and choose ATmega328P (Old Bootloader). This board ships with the old bootloader, so the standard ATmega328P option will fail to upload.
4
Choose the port Open Tools → Port and pick the port that appears when the board is plugged in.
✓ Check: The board name and port show in the bottom-right corner of the IDE window.
Part 2 — Upload your first sketch
5
Open the Blink example Open File → Examples → 01.Basics → Blink (the full sketch is shown below), then click the Upload arrow.
▸ Example 1 — Blink
// Blink: flashes the on-board L LED (pin D13) once a second
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // LED_BUILTIN is D13 on the Nano
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // LED on
delay(1000); // wait 1 second // you can change this
digitalWrite(LED_BUILTIN, LOW); // LED off
delay(1000);
}
✓ Check: The small L LED next to the USB socket blinks once a second.
6
Check the Serial Monitor Upload the second sketch, then open Tools → Serial Monitor and set the speed to 115200 baud. The Serial Monitor is a window that shows text the board sends to your computer.
▸ Example 2 — Serial check
// Serial check: prints a message once, then a counter every second
int count = 0;
void setup() {
Serial.begin(115200); // speed used by the Serial Monitor
Serial.println("OK - epartners.co.nz test");
}
void loop() {
count++;
Serial.print("Count: ");
Serial.println(count);
delay(1000); // you can change this
}
✓ Check: Serial Monitor prints "OK - epartners.co.nz test" once, then "Count: 1", "Count: 2" and so on every second.
Watch out: unplug the USB cable before you move any wires. The LED has a long leg (+) and a short leg (−); the 220 Ω resistor must be in series with it. Check the pin labels printed on your board.
■ Power (5 V) ■ GND ■ Signal in ■ PWM out ⌒ = wires cross, not connected
#
Arduino Nano pin
Part pin
Wire
Notes
1
5V
Potentiometer end 1
Red
Power for the potentiometer
2
A0
Potentiometer wiper (middle pin)
Yellow
Analog input, reads 0–1023
3
GND
Potentiometer end 3
Black
Either GND pin works
4
D9
220 Ω resistor, then LED + (long leg)
Green
PWM pin; the resistor protects the LED
5
GND (second pin)
LED − (short leg)
Black
Completes the LED circuit
7
Wire it up Build the circuit exactly as the diagram and table show, then plug the USB cable back in.
8
Upload the sketch Upload the sketch below. The potentiometer's middle pin (the wiper) gives a voltage from 0 V to 5 V, and analogRead turns that into a number from 0 to 1023.
▸ Example 3 — Potentiometer dimmer
// Wiring: pot end -> 5V, pot wiper -> A0, pot end -> GND,
// D9 -> 220 ohm -> LED (+), LED (-) -> GND
const int POT_PIN = A0; // potentiometer wiper (matches the pin table)
const int LED_PIN = 9; // PWM pin D9 (matches the pin table)
void setup() {
pinMode(LED_PIN, OUTPUT);
Serial.begin(115200);
}
void loop() {
int raw = analogRead(POT_PIN); // 0 to 1023
int brightness = raw / 4; // scale to 0 to 255
analogWrite(LED_PIN, brightness); // PWM output on D9
Serial.println(raw); // watch the value change
delay(100); // you can change this
}
✓ Check: Turning the potentiometer makes the LED brighter and dimmer, and Serial Monitor (115200 baud) shows numbers from 0 to 1023.
Try next: make the LED blink faster as you turn the knob, or swap the LED for a buzzer module.
Troubleshooting
Problem
Likely cause
Fix
No port appears in Tools → Port
Charge-only USB cable, or the USB driver is missing
Use a data USB cable and install the USB driver for your board, then reconnect it
Upload fails with "not in sync" or "stk500_getsync"
Wrong bootloader setting
Tools → Processor → ATmega328P (Old Bootloader), then upload again
Upload still fails
Wrong port, or another program is using the port
Pick the new port that appears when you plug the board in, and close any open Serial Monitor
Serial Monitor shows garbled text
Baud rate does not match the sketch
Set the Serial Monitor to 115200 baud
LED in Part 3 never lights
LED is the wrong way round, or the LED leg is not in the D9 circuit
Swap the LED legs (long leg to the resistor) and check the D9 wire
LED does not change with the potentiometer
Wiper wire is not on A0
Move the middle pin of the potentiometer to A0
Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.
Good to know
The I/O pins use 5 V logic and each pin can supply a maximum of 20 mA, so use a resistor with every LED.
Select Processor → ATmega328P (Old Bootloader) in the Arduino IDE, or uploads will fail.
Refund or replacement is not available after soldering, so test your code before you solder.
Datasheet
Key figures from the manufacturer's datasheet for the Arduino Nano, the reference design this Nano V3.0 compatible board follows.
ESP32-WROOM-32, dual-core 240 MHz, 2.4 GHz Wi-Fi and Bluetooth, 3.3 V logic
Wi-Fi and Bluetooth projects
FAQ
▸ Can I run Arduino UNO sketches on this Nano?
Yes, most of them. The Nano uses the same ATmega328P as the Arduino UNO R3, so sketches run with the same functions. Check that the pin numbers match the Nano's labels.
▸ Which settings do I choose in the Arduino IDE?
Choose Tools → Board → Arduino Nano and Tools → Processor → ATmega328P (Old Bootloader). This board uses the old bootloader, which uploads at 57600 baud.
▸ Can I connect a 3.3 V sensor?
Only with care. The I/O pins output 5 V, so use a 3.3 V sensor only if it tolerates 5 V signals, or add a logic level shifter.
▸ How do I power it away from my computer?
Feed 7–12 V into the VIN pin, or a regulated 5 V into the 5V pin. USB also powers the board.
Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.
Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.
Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.
Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.