loading

Atmega328P-PU can be used to replace the burnt atmega328 on Arduino UNO or build one simple standalone Arduino. Here I would like to share the easiest ways to burn bootloader with you and hope it can help you.

Step 1: Materials Preparing

The following 3 materials is needed:

1. Crowduino With ATMega 328 V1.1 This Crowduino is Arduino Compatible. The most interesting of this board can be programming wireless with Xbee. If you have a Arduino board already, this is not needed.

2. AVR ISP Shield V1.1 It is very easy to use, you don’t need a breadboard and a whole mess of jumper wires. This board makes you load the bootloader to the atmega328P-PU very easy.

3. ATmega328P-PU DIP Chip This chip is pre-loaded with the Arduino Optiboot (Uno 16MHz) Bootloader. If you purchased at the atmel office supplier, it doesn't have bootloader.

Step 2: Plug AVR ISP Shield

Plug AVR ISP Shield onto the Arduino/Crowduino. Connect the board to PC using USB cable.

Step 3: Open the Firmware

Open the ArduinoISP firmware (in Examples) in the Arduino IDE(File>examples>ArduinoISP)

Step 4: Select the Items

Select the items in the Tools > Board and Serial Port menus that correspond to the board you are using as the programmer (not the board being programmed).

Step 5: Upload the ArduinoISP Sketch

You need to upload the ArduinoISP sketch as the picture shown.

Step 6: Plug the Atmega328P-PU

Plug the atmega328P-PU IC into the IC holder of the AVR ISP shield. Please be careful about the direction of the atmega328.

Step 7: Select the Item in the Tools

Select the item in the Tools > Board menu that corresponds to the board on which you want to burn the bootloader (not the board that you're using as the programmer).

Step 8: Use the Burn Bootloader > Arduino As ISP Command.

Step 9: Note the LED on AVR ISP Shield

When burning the boot loader, you will see the LED(PROG) on AVR ISP Shield is blinking, and it will put out when complete the burn.

Now, you can burn bootloader into more Chips from step 6 to step 9. For more details or you want to burn bootloader to other arduino boards, you can also have a look at this wiki page.

<p>A excellent Instructable on using a programming shield. I am using this method for all my breadboard development, and to program all my projects. By default, I include a programming header on all my projects, making it possible to program the chip without removing it.</p><p>I will be lost without this shield. And instead of buying a pre-loaded ATMega328p, I now buy 2 blank chips for the same price. Quick and easy to burn bootloader.</p><p>I wish I knew about this programming shield before building my own. </p><p><a href="https://www.instructables.com/id/Arduino-UNO-as-AtMega328P-Programmer/" rel="nofollow">https://www.instructables.com/id/Arduino-UNO-as-AtM...</a></p>
<p>Hi Eric,<br>Thanks very much for sharing. You are a really good maker. The DIY programming shield is really good and the tutorial you made is really good too.</p><p>I just thought the tutorial list on this Arduino page is not in detail, <a href="https://www.arduino.cc/en/Tutorial/ArduinoISP." rel="nofollow">https://www.arduino.cc/en/Tutorial/ArduinoISP. </a> So I made this tutorial in details for the AVR ISP shield to let everyone can made it. I think the tutorial I made for it is really easy that geekers can do it even they just know how to use the Arduino.</p><p>If this tutorial have something make you inconvenience, please accept my sincere apologize.</p><p>David.</p>

About This Instructable

9,446views

49favorites

Bio: Elecrow is an open hardware facilitation company based in Shenzhen. We integrate resources to serve new era of innovation. To make your making and innovation ... More »
More by Elecrow:DIY Halloween Haunted House (Arduino Project) Arduino sunflower - An electronic sundancer Electric fingerprint lock- Arduino compatible 
Add instructable to: