Introduction: Program Arduino Nano Via Uno With ICSP
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.
D13 > SCK
D12 > MISO
D11 > MOSI
D10 > RST (reset)
5V > VIN
GND > GND
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 ^_^
2 People Made This Project!
We have a be nice policy.
Please be positive and constructive.