Programmer Link: Digi-Key AVR Programmer
The process of loading the bootloader onto the microcontroller is straight forward. What you need to do is to simply remove your current Atmega328 from the Arduino and put a blank one in its place. You then supply your Arduino with 5v (Required for the programmer) and plug in the programmer header. Pay attention to the orientation of the device or you may damage it!
The bootloader I burned in the tutorial can be found here: Bootloader
A key point in the process is setting the right registers, which is also done through Atmel Studio. Here are the settings you need to put in:
Once you have the bootloader on the microcontroller, you should be able to load any sketches onto it without a problem.
Thank you for watching my tutorial and reading my project blog!
Let me know which projects you’ve built with an external microcontroller.