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

Arduino Nano का इंटरैक्टिव पिनआउट — PWM, I2C, SPI और सिर्फ़-analog A6/A7, old bootloader वाली अपलोड समस्या का हल, और कंपाइल-जाँचा blink।

5 V लॉजिकRead in English

सामुदायिक ड्राफ़्ट — गलती बताएं

MCUATmega328P, 16 MHz, 8-bit AVR
Flash / SRAM32 KB (bootloader सहित) / 2 KB
EEPROM1 KB
I/O14 digital (6 PWM), 8 analog in (A6/A7 सिर्फ़ analog)
USBMini-USB; ज़्यादातर क्लोन में CH340, ओरिजिनल में FT232
सामान्य कीमत₹250–400 (क्लोन, अनुमानित)

Nano असल में Uno का छोटा रूप है — 30-pin की पट्टी जो सीधे breadboard में लग जाती है। वही ATmega328P, वही 16 MHz, वही लाइब्रेरी — और ऊपर से दो analog इनपुट A6 और A7, जो Uno में नहीं हैं।

भारत में बिकने वाले ज़्यादातर Nano क्लोन हैं, जिनमें CH340 USB चिप और old bootloader होता है। अगर अपलोड “not in sync” के साथ फ़ेल हो, तो लगभग हमेशा यही एक Processor सेटिंग बदलने से काम बन जाता है।

पावर USB से दें, 5V पिन पर 5 V दें, या VIN पर 7–12 V दें। 3V3 पिन USB चिप से आता है और सिर्फ़ कुछ दसियों mA देता है — सेंसर के लॉजिक के लिए ठीक, Wi-Fi मॉड्यूल के लिए नहीं।

इंटरैक्टिव पिनआउट

किसी पिन पर होवर या टैप करें — उसके फ़ंक्शन और सावधानियाँ दिखेंगी। फ़िल्टर से सभी I2C, ADC या बूट पिन देखें।

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

A6 और A7 सिर्फ़ analog हैं। ये analogRead() से वोल्टेज पढ़ते हैं, पर digitalRead() या आउटपुट के लिए इस्तेमाल नहीं हो सकते।

हर पिन 20 mA, पूरी चिप 200 mA। रेज़िस्टर के साथ LED ठीक है। रिले, मोटर और बज़र के लिए ड्राइवर मॉड्यूल या ट्रांज़िस्टर चाहिए।

Breadboard पर सीधा लगता है, Uno जैसा ही है। वही चिप और वही पिन जो Uno में हैं, इसलिए Uno के स्केच और लाइब्रेरी बिना बदलाव के चलते हैं — बस IDE में Nano बोर्ड चुनें।

कंप्यूटर सेटअप

  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.

पहला प्रोग्राम

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);
}

आम एरर

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

भारत में बिकने वाले ज़्यादातर क्लोन old bootloader के साथ आते हैं। Tools → Processor → "ATmega328P (Old Bootloader)" चुनें और फिर से अपलोड करें। पूरा समाधान।

पोर्ट नहीं दिख रहा

CH340 ड्राइवर wch-ic.com से इंस्टॉल करें (सिर्फ़ आधिकारिक स्रोत) और डेटा चलाने वाली mini-USB केबल इस्तेमाल करें। CH340 ड्राइवर गाइड।

digitalRead(A6) हमेशा 0 देता है

Nano में A6 और A7 के अंदर digital सर्किट है ही नहीं। analogRead() इस्तेमाल करें और किसी threshold से तुलना करें, या इनपुट को A0–A5 पर ले जाएँ।

इसके प्रोजेक्ट: 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