Hi friends,
I was trying to replicate an arduino uno on a breadboard. I had got all the necessary components including the ATMEGA 328P-PU IC, but unfortunately my IC did not have the boot loader already loaded.
I have seen quite a few tutorials of burning boot loaders on to atmegas but all of them had the atmega on the breadboard with a few components such as the crystal, capacitor and LED s connected to it.Then the ICSP pins of arduino connected to the atmega IC to boot load.
I had a few Arduino unos lying in my home, I was just wondering if i could just pop out the existing chip on my arduino and replace it with my new atmega IC and then directly burn the boot loader??
Thank you in advance.
Porus:
I was just wondering if i could just pop out the existing chip on my arduino and replace it with my new atmega IC
Yes
Porus:
and then directly burn the boot loader??
It depends on what you mean by "directly. The Uno board you put your new chip in will provide the necessary support components to that chip but you still need a separate programmer to run the Burn Bootloader process. That could be another Uno used as an "Arduino as ISP" programmer.
In fact the standard Arduino as ISP tutorial shows this exact thing done:
https://www.arduino.cc/en/Tutorial/ArduinoISP
However - remember that the crystal and caps are required if you burn the Uno bootloader to it and then move it back to the breadboard. You can use something like MiniCore which supports internal 8mhz oscillator to lose the crystal, but you still always need the 0.1uF decoupling caps. You also need a 0.1uf cap and the resistor on reset for the autoreset circuit if you want to have autoreset work for programming over serial.
Thank you all for your help and your inputs.
I will get back to you after trying it out.