Summary of Burning the Bootloader on ATMega328 using Arduino UNO as ISP
The author built a custom Arduino using an ATMega328-PU microcontroller to save costs, avoiding the need for pre-programmed chips. The article details how to use an existing Arduino UNO as an In-System Programmer (ISP) to burn a bootloader onto the cheaper chip, enabling it to function like a standard Arduino. This process involves uploading the ArduinoISP sketch and connecting components on a breadboard according to a specific circuit diagram.
Parts used in Custom Arduino with Bootloader:
- USB cable
- Arduino UNO (R1)
- ATMega328-PU microcontroller
- Small breadboard
- 16Mhz Crystal
- 2 22pF Ceramic Capacitors
- Jumper wires
I had one remote controlled project that needed an Arduino running 24/7 but I didn’t want to leave my $32 Arduino UNO, so I decided to buy some pieces and created my own Arduino. The most important part was buying the microcontroller. These were my options:

ATMega328P-PU with Optiboot ~ $5.50 (Sparkfun) / $5.19 (Digikey)
ATMega328P-PU ~ $3.16 (Digikey)
ATMega328-PU ~ $2.88 (Digikey)
Obviously I bought the cheaper one, huge mistake. After some research I found that my first option was the straight one. Just plug it as a normal Arduino, the last two needed something else.
The last two options were missing something called a bootloader. A bootloader is “a small program that has been loaded on to the microcontroller. It allows you to upload code without using any additional hardware.”
So first if you were to do anything on those microcontrollers you need a bootloader burned on those chips. As you may have notice, the difference between the second and the third is just a mere P after the 328. This P means pico for picopower which is a technology ATMEL has developed that allows the microcontroller to run with less power.
Well if you see the microcontroller on your Arduino UNO you will find out that it is using the picopower micro, not the normal one. I bought 3 normal ones. OMG then I’m totally screw. Well no, you just have to make a pair of changes on your Arduino files to make it work.
This tutorial will teach you how.
Step 1: Materials
We will need the following materials:
1 USB cable to connect PC-Arduino
1 Arduino UNO (I’m using R1)
1 ATMega328-PU
1 Small breadboard
1 16Mhz Crystal (mine had 20pF of capacitance)
2 22pFCeramic Capacitors

… And some jumper wires
Step 2: Setting your Arduino as ISP
First we need to tell our Arduino UNO (in my case an Arduino UNO R1), to know that whatever we are sending is not for it, but for our other micro. In other words we are making our Arduino a simple transmitter. For this I’m using version 1.0.1 of the Arduino Software (IDE).
1. Plug in your Arduino UNO through USB to your computer. (WITH NOTHING CONNECTED, JUST USB)
2. Open de IDE
3. Open > Examples > ArduinoISP
4. Select Arduino UNO from Tools > Board
5. Select your serial port from Tools > Board (Mine is usually COM3, but it may change.)
6. Upload sketch.
It takes a while. After it finishes, close de IDE and disconnect your Arduino. Now is time to prepare the software and hardware.
Step 3: Preparing the hardware
This is the easy part, just use the diagram to connect every piece.
Major Components in Project1 USB cable to connect PC-Arduino
1 Arduino UNO (I’m using R1)
1 ATMega328-PU
1 Small breadboard
1 16Mhz Crystal (mine had 20pF of capacitance)
2 22pFCeramic Capacitors
… And some jumper wires
1 Arduino UNO (I’m using R1)
1 ATMega328-PU
1 Small breadboard
1 16Mhz Crystal (mine had 20pF of capacitance)
2 22pFCeramic Capacitors
… And some jumper wires
For more detail: Burning the Bootloader on ATMega328 using Arduino UNO as ISP
- Why did the author buy the cheaper ATMega328-PU?
The author bought the cheaper version to save money compared to the $5.50 option with Optiboot. - What is missing from the cheaper ATMega328-PU that requires burning?
The cheaper chips are missing a bootloader, which allows code upload without additional hardware. - How do you turn an Arduino UNO into an ISP programmer?
You must open the ArduinoIDE, navigate to Examples > ArduinoISP, select the correct board and port, and upload the sketch. - What does the P in ATMega328P-PU stand for?
The P stands for picopower, a technology allowing the microcontroller to run with less power. - Can you make the normal ATMega328-PU work without a bootloader?
No, you must burn a bootloader onto those chips before doing anything with them. - What software version was used in this tutorial?
The tutorial uses version 1.0.1 of the Arduino Software (IDE). - What capacitance value did the author's crystal have?
The author's 16Mhz crystal had 20pF of capacitance.
