B4R Tutorial Burn bootloader to ATMega328P-PU with an Arduino Uno

hatzisn

Well-Known Member
Licensed User
This is by 99% a tutorial and by 1% a question. The file in the link contains some notes for me I devised from a lot of tutorials on how to burn a bootloader to a ATMEGA328P-PU wired on a breadboard. See also the tutorial "Shrink your Arduino project to the minimum".

In order to understand the tutorial you will have to replace the "Non Working Arduino" with the ATMEGA328P-PU Circuit (2nd page/3d picture) and connect the proper pins 10,11,12,13 of the Working Arduino (with 1,17,18,19 pins respectively of the ATMEGA328P-PU microcontroller - in 2nd page/2nd picture). Thus from the 2nd page/3d picture you will have to remove the connection of Pin 1 of microcontroller to the Vcc through the resistor and connect it to Pin 10 of the Arduino Uno (please someone verify this last sentence and let me know).

My question is the following: In 1st Page/2nd picture the grey cable that connects the Gnd with RESET in the working Arduino is a single cable or it is connected through something. It was not clear in the tutorial and in fact it was not mentioned at all. Does anyone have this required knowledge to make this tutorial a 100% tutorial.

Please verify the Green sentence and answer the orange one.


Thanks in advance
 
Last edited:

miker2069

Active Member
Licensed User
I couldn't quite follow what you have in the PDF so I'll just go on the title of your post - you want to burn the bootloader on a stand alone ATMega328p? Presumably so you can just use the MCU w/o the overhead of the Uno (good idea). I've done a bit with the ATTINYs and the process is similar - I actually just ordered some standalone ATMEGA32Ps *with* bootloader from ebay, so I am going down a similar route as you.

However if you want to do everything from scratch - here's a couple of good resources. I chose these because they seem very clear and it's step by step:

How to Make a Permanent Circuit Board to Shrink Arduino Projects

and the other is:

HOW TO BURN THE ATMEGA328P BOOTLOADER

My ATMega328Ps should arrive tomorrow - I plan on going through the first link (like I said, I've done this quite a bit with the ATTINYs and the process is pretty much the same). I would recommend you have the crystal and capacitor for the external clock (either 8 or 16 mhz). The internal crystal is not very accurate and in timing apps will create problems .
 
Top