HOW TO BURN BOOTLOADER IN ATMEGA328P MICROCONTROLLER . HELP OF USING ARDUINO UNO

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey guys welcome back in this video i am going to showing you how to burn bootloader on new 80 mega 328 chip help of using arduino uno i am not going to show anything new in this already this content related complete tutorial videos available in youtube but i am going to explain what is bootloader and how to burn 80 mega 328 chip so that you can easily understand what is bootloader simply speaking bootloader is small piece of code executable code in hex format that resides in the microcontroller's memory bootloader in arduino allows us to program arduino over serial port using an usb cable the job of boot loader in arduino is to accept the code from the computer and place it in the memory of the microcontroller [Music] guys few days ago i purchased this 380 mega 328 microcontroller on a local electronics shops this 380 mega 328 chip i am going to use my upcoming project this three atmel microcontrollers are not possible to use normal programming that means before you not have burned this new 80 mega 328 chip you not be a upload any kind of a programming codes and remember guys before you burn new 80 mega 328 chip you must be in need any kind of arduino modules like arduino uno arduino nano or arduino mega in my case i am used arduino uno board here you need this working condition 80 mega 328 chip this 80 mega 328 chip going to burn our new unprogrammed 80 mega 328 chip before i test new unprogrammed 80 mega 328 chip and see what happened here i replace the working condition 80 mega 328 chip end set up the unprogrammed new 80 mega 328 chip and i connect to the pc [Music] here you can see guys pin 13 led not a blink and i press the reset button pin 13 led not a flash but the same thing you will use working condition 80 mega 328 chip that means already programmed 80 mega 328 chip on arduino see the pin 13 led is blink and i press the reset button on arduino pin 13 led also blinked then i try to upload a blink without delay code on unprogrammed new 80 mega 328 chip here you can see the error message showed in arduino ide [Music] and you can see guys this three new 80 mega 328 chip is unprogrammed and this one is program 80 mega 328 chip and this is onboard 80 mega 328 chip [Music] now follow the steps to burn new unprogrammed atmega 328 chip following this steps before you going to burn bootloader in new unprogrammed 80mega 328 chip you must be make a breadboard bootloader circuit setup this bootloader bread board circuit setup you need this components 222 pf capacitor 16 mhz crystal oscillator 10 kilo resistor your unprogrammed new 80 mega 328 chip an arduino uno module now time to make the arduino bootloader circuit set up arduino uno module set up unprogrammed new 80 mega 328 chip set up 222 pf capacitor set up 16 mhz crystal oscillator set up 10 kilo resistor connect unprogrammed new 80 mega 328 chip 20th pin and 7th pin connect unprogrammed new 80 mega 328 chip 22 pin and 8th pin connect 16 mhz crystal oscillator on new 80 mega 328 chip 9th and 10th pin first capacitor first pin connected on new 80 mega 328 chip ninth pin and second capacitor first pin connected on new 80 mega 328 chip 10th pin both capacitor and other pins connected to new 80 mega 328 chip 8 pin 10 kilo resistor connected on new 80 mega 328 chip first pin and 7th pin now connect new 80 mega 328 chip 7th pin to arduino uno module 5 volts pin and connect new 80 mega 328 chip 8 pin to arduino uno module ground pin connect new 80 mega 328 chip 19 pin to arduino uno module 13th pin connect new 80 mega 328 chip 18 pin to arduino uno module 12 pin connect new 80 mega 328 chip 17 pin to arduino uno module 11th pin and finally connect new 80 mega 328 chip first pin to arduino uno module 10th pin now our bootloader circuit is ready [Music] now i am going to set up this bootloader circuit on a breadboard [Music] here you can see guys the bootloader circuit setup is completed if you are viewing this project then you might probably have used arduino board there is a high possibility that the 80 mega 328 microcontroller arduino uno might fail after certain time or improper connection in order to reuse that arduino board you need a new atmega 328 ic with bootloader loaded bootloaders resides in a special secured location of the programmable flash memory the microcontroller and usually occupies less than one kilobyte of memory once the atmega328 microcontroller is ready with bootloader now time to burn new unprogrammed 80mega 328 microcontroller follow the steps now connect the bootloader setup arduino uno to pc open your arduino ide and go to tools option and select the correct com port in my case com port 8 is connected and go to boards type and select the arduino uno but you will use another arduino modules like nano mega or any other arduino modules please select the correct board type in you arduino ide in my case i am used arduino uno then i selected arduino uno and go to programmer option and select arduino isp now go to file and click the examples and open the arduino isp example code in order to achieve that you have to upload a special program onto your working arduino uno board called arduino isp then click the upload button [Music] now the code is successfully uploaded now going to the tools and select programmer and click the arduino as isp option now your arduino is ready to burn a new unprogrammed atmega328 microcontroller and click the burn bootloader option it's take a few minutes [Music] now the new unprogrammed atmega 328 microcontroller is burned now this new unprogrammed 80 mega 328 microcontroller chip is called program chip okay guys now i am disconnect arduino uno to pc then i removed all bootloader breadboard connections and components and this the new program 80 mega 328 microcontroller chip now i going to removed on board 80 mega 328 microcontroller chip and i connect our burned 80 mega 328 microcontroller chip [Music] then i connect arduino uno board to pc now you can see i press the reset button pin 13 led is blinking now this 80 mega 328 chip ready to use now back to the arduino ide and go to the tools option and select programmer then select the arduino isp option now going to file and select examples select digital and click blink without delay now upload blink without delay code on our new burn 80 mega 328 chip and here you can see guys our new burn 80 mega 328 microcontroller working perfectly [Music]
Info
Channel: CIRCUIT OPTIMIZE
Views: 90,617
Rating: undefined out of 5
Keywords: Arduino, Arduino Beginner, Arduino Projects, Simple Arduino Projects, ATmega328P chip, ATmega328P IC, ATmega328P Microcontroller, Arduino Bootloader, Arduino Burn Bootloader, Creative Genius, TRACER, Creative, Tracer Visual Electronics, Ashwanth
Id: B5HT5IKcprE
Channel Id: undefined
Length: 10min 11sec (611 seconds)
Published: Fri Nov 06 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.