Introduction: ATMEGA328 Bootloader Programming Shield for Arduino Uno

ATMEGA328P boot-loader programming shield for Arduino Uno

Sometimes it happens and you damage your Arduino Uno Atmega328P microprocessor. You can change processor. But first it need to program boot-loader in it. So this tutorial how to make this board which upload bootloader.

If you don't want to make this board, look at this tutorial >>

https://learn.sparkfun.com/tutorials/installing-an...

To build this programmer you will need >>>
Parts:

1 x Atmega328P or Atmega328 PU microprocessor

2x 16MHz HC49S crystal quartz

2x 22pF 0805 ceramic capacitors

1x10K 0805 resistor

1x OR 1206 rezistor

1x 28 pin DIP socket

1x 40pins header pins

1x 75mm-75mm copper board

Step 1: PCB Board

Design printed circuit board (PCB), I was used ,,Sprint-Layout" software.

Step 2: Soldering Board

28 DIP socket pins need to bend. I didn't want to drill holes.

After soldering this board it looks like this

Step 3: Programming Atmega328P Bootloader

1) Open Arduino software

2) File> Examples > ArduinoISP

3) Tools > Programmer > Arduino as ISP

4) Sketch > Upload

5) Tools > Burn Bootloader

Comments

author
tefkufu made it!(author)2016-12-26

İ had always worked in my mind. when ı saw the project you did, ı started right now.

temp_211474639.jpgtemp_1244100953.jpgtemp_457828205.jpgtemp_1473147934.jpg
author
RimvydasP made it!(author)2016-12-27

it's great

author
rfmdelgado made it!(author)2016-12-21

I have the same question, I can upload bootloader without crystals, why do you need them?

author
Eric+Brouwer made it!(author)2016-12-23

A new ATMEGA328 is factory programmed (internal fuses set) to use it's internal 1MHz oscillator. Thus for a new chip, the crystals are not required to burn the bootloader.
Once the chip has been programmed with the Arduino bootloader, the internal fuses are set to use an external oscillator. Without the additional crystal used in this circuit, such a chip can no longer be re-programmed without a crystal.

Hope this answers your question.

author
rfmdelgado made it!(author)2016-12-23

one more questions: the crystal will work if I program a news chip also? even thought is supposed to be set to use internal oscillator?
I'be been delaying a shield like this but I think now I will build it

author
Eric+Brouwer made it!(author)2016-12-23

It will still work correct.

I have been using my programmer for a few years now, based on the same principal.

https://www.instructables.com/id/Arduino-UNO-as-AtMega328P-Programmer/

author
rpotts2 made it!(author)2016-12-21

Nice board! I'm curious why you included 2 crystals though...

author
RimvydasP made it!(author)2016-12-21

I have a lot of 16MHz quartz, so it is easiest way for me to design pcb with 2. I know 1 quartz it will be better.