Introduction: Burning Bootloader to ATMEGA328p Using Arduino in 2min
In this tutorial i will explains how to burn bootloader from an Arduino board to a standalone microcontroller on a breadboard. It's simple and very easy way to burn bootlader, using an Arduino board to program the ATmega on the breadboard.
Step 1: Parts Required
1. 16 MHz crystal,
2. 10k resistor,
3. 2 18 to 22 picofarad (ceramic) capacitors.
4.Bread board.
5.Jumper wires.
6.ATMEGA 328.
Step 2: Connections
1.Connect jumper wire to 24th pin of ATMEGA on bread board and 13th pin in Arduino uno.
2.25th pin to 12th pin in uno.
3.26th pin to 11th pin in uno.
4.1st pin to 10th pin in uno.
5.Give VCC(5V) and GND to bread board from UNO.
Or
Wire up the Arduino board and microcontroller as shown in the diagram above.
Step 3: Burning Boot Loader Process.
1.Upload the ArduinoISP sketch onto your Arduino board.
2.After uploading ARDUINO ISP sketch into UNO. Select "Arduino Duemilanove or Nano w/ ATmega328" from the Tools > Board menu.
3.Select "Arduino as ISP" from Tools > Programmer.
4.Run Tools > Burn Bootloader.
Step 4: Done Burning Bootloader Successfully !
Thats all its a very easy process to burn boatloader to new ATMEGA IC. Will explain how to Program ATMEGA 328 using Arduino uno in next instructable Thank you :)
3 Comments
6 years ago
Pin numbers 15 to 28 on the ATMEGA328p are reversed i.e. pin 15 should be opposite pin 14 and pin 28 should be opposite pin1.
6 years ago
The Arduino pin numbering diagram is entirely wrong.
Reply 6 years ago
Hi sir which diagram ? Atmega 328 pin numbers picture or connections diagram ?