Hello Friends,

In this instructable, i have shown that how can you program Nano via Uno.

As you can see in above image, my Arduino Nano's USB female pin is broken.

So i have to find way to upload sketch to it some way.

One day i was Google-ing, i have read somewhere that a Arduino board can be programmed via another Arduino board.

So by searching on it, i found a solution for this.

So lets get started to solve this.

Tools you will Need :

Arduino Uno ( which will act as a programmer )

Arduino Nano ( to be programmed )

Jumper Cables ( Some male-male, male to female.)

Step 1: Preparing Programmer

Attach your Arduino to PC.

Now, go to..

File > Examples > ArduinoISP > ArduinoISP

A sketch will open, upload it on Uno.

When uploading is done. unplug it from PC.

Now, take some jumper cables & attach Uno & the board you want to program just like the image above.

A ICSP pi out diagram is in another image. A (.) near 1 is first pin. on Arduino same . or 1 written near ICSP header.

Uno Nano

D13 > SCK

D12 > MISO

D11 > MOSI

D10 > RST (reset)

5V > VIN


Note : If your board's operating voltage is 3.3V then use 3.3V.

Step 2: Preparing Arduino IDE

When wiring is done.

Now we have to do some settings in IDE.

  • Go to Tools > Board & select Arduino Nano.
  • In Processor, select ATmega328.
  • & In Programmer, select Arduino as ISP. ("Arduino as ISP" not "ArduinoISP")

The settings is done.

  • Now, open up the sketch you want to upload on your Nano,
  • In Menu, go to Sketch & click on "Upload using Programmer"

IDE will compile the sketch & upload it to your Nano.

The RX TX leds will blink rapidly on both board, & you will see done uploading.

If not, then recheck all the wiring & settings.

If you get any problem or you want to give me suggestion, you can write in comment section below.

Happy Programming ^_^

<p>Great instruction and happy that my nano is now programmed!</p><p>Can you do the same to Arduino Pro Micro or is it different?</p>
<p>shouldn't i remove the UNO chip away from it's socket?</p>
<p>This is great thanks.</p><p>I've just bought a bunch of nanos without usb (to satisfy the mad scientist in me!) and have an Uno which I can now program them with.</p>
<p>great buddy.. i am a mad scientist too... :)</p>
<p>my nano started to heat. why is that ?</p>
<p>check the wiring bro...</p>
So it is better than removing at mega 32 from uno
<p>Of course buddy ^_^</p>
The TX RX pins on the nano aren't glowing! What did I do wrong?
send me the pic of your circuit buddy..
<p>its superrrrrrrrrrrrrrrrr i made it</p>
<p>That's Great ^_^</p>
<p>I'm Frankenstein... My Nano came ALIVE.......</p>
<p>That's Great ^_^</p>
<p>Thank YOU, saved a dead USB on a Nano :)</p>
<p>glad to know that ^_^</p>
<p>GREAAAAAAAAAAAT thank youuu is working nice post </p>
<p>glad to know that ^_^</p>
<p>This is a good way to program ATMEL chips. I usually use a stand-alone ATMEGA 328 in my projects, (much cheaper than using a whole Arduino Board and it has no USB), so this is a good way to program it. Thanks.</p>
<p>glad to know that ^_^</p>
<p>It could it be simpler to replace the USB socket, no ?</p>
<p>yes i could have replace usb socket. But then i could not learn to program one Arduino board with another via ICSP.</p>

About This Instructable




Bio: Curious by nature. Like to know how things works & love to learn about them. Especially electrical, electronics, mechanical, micro-processors.
More by Gautam1807:How to Build a JIG for LEDcube (Full Tutorial) Hide & See Partition in Windows 7/8/8.1 Controlling blinking speed of an LED with Arduino & Pot (With video) 
Add instructable to: