Preview build — page text is a draft awaiting human review. Code badges come from real compiles. The flasher is real but not yet hardware-tested; the Playground is still a preview.

Arduino Nano

Interactive Arduino Nano pinout with PWM, I2C, SPI and the analog-only A6/A7 marked, old-bootloader upload fix, and a compile-checked blink.

Community draft — report a mistake

MCUATmega328P, 16 MHz, 8-bit AVR
Flash / SRAM32 KB (bootloader included) / 2 KB
EEPROM1 KB
I/O14 digital (6 PWM), 8 analog in (A6/A7 analog only)
USBMini-USB; CH340 on most clones, FT232 on originals
Typical price₹250–400 (clone, indicative)

The Nano is the Uno shrunk onto a 30-pin stick that plugs straight into a breadboard. Same ATmega328P, same 16 MHz, same libraries — plus two extra analog inputs, A6 and A7, which the Uno doesn’t have.

Most Nanos sold in India are clones with a CH340 USB chip and the old bootloader. If uploads fail with “not in sync”, that one Processor setting is almost always the fix.

Power it from USB, 5 V on the 5V pin, or 7–12 V on VIN. The 3V3 pin comes from the USB chip and supplies only a few tens of mA — fine for a sensor’s logic, not for a Wi-Fi module.

Interactive pinout

Hover or tap a pin for its functions and traps. Filter to light up every I2C, ADC or boot pin.

  • Safe for most uses
  • Works, with a caveat
  • Avoid unless you know why
  • Power / control

A6 and A7 are analog-only. They read voltages with analogRead() but cannot be used with digitalRead() or as outputs.

20 mA per pin, 200 mA for the whole chip. LEDs with a resistor are fine. Relays, motors and buzzers need a driver module or transistor.

Breadboard friendly, Uno compatible. Same chip and pins as the Uno, so Uno sketches and libraries work unchanged — just pick the Nano board in the IDE.

Set up your computer

  1. Install Arduino IDE 2.x from arduino.cc.
  2. Boards Manager → install Arduino AVR Boards (we compile against avr 1.8.8).
  3. Tools → Board → Arduino Nano (Tools → Processor → ATmega328P, or "Old Bootloader" for most clones), then pick the port that appears when you plug the board in.

First program

Verified — core avr 1.8.8, 3 Nov 2026Compile-only
blink-nano.inoArduino C++Open in PlaygroundOpen in PlaygroundFlash
// First program for the Arduino Nano: blink the on-board "L" LED (D13).
// Clones often need Tools → Processor → "ATmega328P (Old Bootloader)" to upload.
void setup() {
  Serial.begin(9600);
  pinMode(LED_BUILTIN, OUTPUT);
  Serial.println(F("FlashReady: Nano blink"));
}

void loop() {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(500);
  digitalWrite(LED_BUILTIN, LOW);
  delay(500);
}

Components with Arduino Nano

Common errors

avrdude: stk500_getsync(): not in sync: resp=0x00

Most Indian clones ship with the old bootloader. Set Tools → Processor → "ATmega328P (Old Bootloader)" and upload again.

Port not showing

Install the CH340 driver from wch-ic.com (official source only) and use a data-capable mini-USB cable.

digitalRead(A6) always returns 0

A6 and A7 have no digital circuitry on the Nano. Use analogRead() and compare with a threshold, or move the input to A0–A5.

Projects for Arduino Nano

Carbon monoxide alarm for angithi and sigri heaters (Arduino Nano + MQ-7)

NanoEasy

Warns when carbon monoxide builds up from a charcoal heater in a closed room.

1.5 h · India utility

₹1,075 parts cost, about $13Verified core 1.8

Read-only CAN bus sniffer for your car’s OBD-II port (Nano + MCP2515)

NanoHard

Watch a car’s CAN messages without ever sending one — listen-only, read-only.

2 h · Network & ISP tools

₹1,050 parts cost, about $12Verified core 1.8

HC-12 433 MHz link range tester for farm and building links (Nano)

NanoMedium

Walk the field with it and see exactly where your 433 MHz link stays reliable.

2 h · Network & ISP tools

₹2,516 parts cost, about $30Verified core 1.8

Heat stress meter for kitchens and workshops (Arduino Nano + DHT22)

NanoEasy

The “feels like” temperature for a hot kitchen or shop floor, with a beep in the danger zone.

1 h · Weather

₹1,026 parts cost, about $12Verified core 1.8

Pressure cooker whistle counter with alarm (Arduino Nano + sound sensor)

NanoEasy

Counts the cooker’s whistles and beeps when the dal is done — no more “was that 2 or 3?”

1 h · India utility

₹685 parts cost, about $8Verified core 1.8

Shop customer counter with door chime (Arduino Nano + HC-SR04)

NanoEasy

Chimes when someone walks in and counts the day’s customers on a 4-digit display.

1.5 h · India utility

₹665 parts cost, about $8Verified core 1.8

Smart blind stick with ultrasonic obstacle alert (Arduino Nano)

NanoEasy

Beeps faster as obstacles get closer.

1 h · Student projects

₹635 parts cost, about $7Verified core 1.8

Motion-sensing staircase step lights that sweep up and down (Arduino Nano + WS2812B)

NanoMedium

Steps light up one by one in the direction you walk — only after dark.

4 h · Home automation

₹2,075 parts cost, about $24Verified core 1.8

Three-phase failure and single-phasing protector for farm motors (Arduino Nano)

NanoHard

Drops the starter when a phase goes missing or low — before the motor burns.

4 h · India utility

₹2,945 parts cost, about $35Verified core 1.8

Wall-following maze robot with three ultrasonic sensors (Arduino Nano)

NanoHard

Keeps a hand on the left wall — and that’s enough to get out of most mazes.

5 h · Robotics

₹1,940 parts cost, about $23Verified core 1.8

↑↓ to move · Enter to open