Hi everyone
The following link explain how to Build an Arduino on a Breadboard . For the power supply two capacitor and one voltage capacitor are used.
My question is that can we remove this part and provide the voltage of the ATMega328P with USB cable. Because USB also provide 5 volt.
Many thanks in advance
Yes, that is the way it works when you power an Arduino board through the USB connector.
BJHenry:
Yes, that is the way it works when you power an Arduino board through the USB connector.
Thank you for your reply. Can we also remove the Crystal and the two pieces of 22pf capacitor if we do not use the timer of micro?
You need a clock source. It can be the internal one in which case you don't need the extra external components.
A little outside my area of knowledge how to achieve it; you might need the extra components initially to be able to program the fuses.
Mahdiyar:
Thank you for your reply. Can we also remove the Crystal and the two pieces of 22pf capacitor if we do not use the timer of micro?
Take a look at this page: Gammon Forum : Electronics : Microprocessors : How to make an Arduino-compatible minimal board .
It shows a barebones AtMega328 both with and without a crystal.
DrAzzy
August 2, 2019, 3:10pm
6
For use without a crystal, you need a board definition that doesnt use crystal, I recommend MiniCore ( GitHub - MCUdude/MiniCore: Arduino hardware package for ATmega8, ATmega48, ATmega88, ATmega168, ATmega328 and ATmega328PB )
Don't forget the two 0.1uF decoupling caps (shown in Nick Gammons guide, missing from official ArduinoToBreadboard guide) - without them the chip may reset or hang during opperation.