Arduino is an open-source development platform for engineers and hobbyists to develop electronics projects in an easy way. It consists of both a physical programmable development board (based on AVR series of microcontrollers) and a piece of software or IDE which runs on your computer and used to write and upload the code to the microcontroller board.
Arduino uses a boot loader. Boot loader is a piece of software that allows the new software to be burned on it. So in this DIY, I am going to discuss “How to Burn a Boot Loader in a Fresh ATmega328 Chip and Build a Homemade Arduino on PCB”. In Arduino UNO we use ATmega328 IC so that I select this one to demonstrate this project.
- Arduino UNO Board with IC and cable
- Atmega328 IC
- Connecting wires
- 16 MHz crystal oscillator
- 10 K resistor
Steps for Building your own Arduino Board:
To burn a boot loader in new fresh Atmega328 IC, we need a Arduino board (we can use any Arduino board to burn boot loader). And then we need to follow below steps. We have also demonstrated the whole process in the Video at the end of the tutorial.
Step 1. In first step, arrange all the required things given in components list above
Step 2: Now remove “Arduino Original IC” from Arduino board with the help of Screw Driver. And insert “New Atmega328 IC” into the Arduino board.
Step 3: Now open Arduino IDE and go to File -> example -> ArduinoISP and open it.
After opening ArduinoISP, select Arduino UNO board from Tools -> Board -> Arduino Uno.
Then select COM PORT from Tools -> Serial Port -> COM10
Step 4: Now remove this New IC from the Arduino Board and insert the Arduino pre booted or Original Arduino IC into Arduino board and upload the same ArduinoISP sketch in it, like we have done in Step 3.
Step 5: Build the below given Circuit on the bread board with New IC on Breadbaord and Original IC on Original Arduino Board.
Step 6: Now in Arduino IDE go to Tool and click on the Burn Bootloader.
Now you will see the Rx and Tx LED on the Arduino board is blinking randomly for some time. It means Bootloader is burning in new ATmega 328 IC. And Arduino IDE will show “Done burning bootloader”. Now you can use this ‘New IC’ in your Arduino board.
Step 7: Now Build your own Homemade Arduino Board on Zero PCB by soldering the components gathered in Step 1, following the Circuit Diagram below. Also check the Video below.
Insert the ‘New IC’ in this board and you are done.
For LCD Interfacing, just connect your home made Arduino Board with Original Arduino Board using Rx, Tx, RST and GND pins of Original Arduino Board, as shown in below Fritzing Circuit or above Circuit Diagram. And upload the Below Given Code (Code section).
For More Details: Make Your Own Homemade Arduino Board with ATmega328 Chip