I've bought an Atmega328p-pu that has been bootloaded to work on an Arduino uno board. I've programmed it and it works perfectly on the Arduino uno board. As far as I've seen if I remove the Atmega from the Arduino uno board and connect a 10kOhm resistor to pin 1 and give it 5v, connect pins 7, 20 and 21 to 5v, ground pins 8 and 22 and connect a quartz with two capacitors to pins 9 and 10 it should work, but mine doesn't. Should the Atmega328p-pu be bootloaded differently or what should I do?
Hi,
If it's connected like that it should work.
Leave pin 21 floating. (no connection).
You are supposed to put bypass capacitors between the +5V and Gnd pins.
@johnwasser beat me to it.
Needs a 0.1uf ceramic cap from Vcc to ground and one from AVcc to ground. Those caps are not optional.
Thanks guys, my problem was with the 22pF capacitors. I changed them and everything ran perfectly.
Hi,
if your problem was solved, do a kindness to everyone on the forum, especially to those who helped you. Write [Solved] before your topic title, so if someone searches and finds your topic, they'll know what the solution looks like.
And if it was solved by some help, please tick the one that best describes your solution.
Sorry, this is my first time posting so I still don’t know everything I have to do.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.