Is a quartz crystal and capacitors necessary to run ATmega 328P on a breadboard?

I would like to run my applications on an ATmega 328P (which is more economical compared to buying a Nano or Uno each time). Do I need to always use a quartz crystal and two capacitors (since, from what I understand, this setup is needed to program it) for it to function on a breadboard, or is simply powering it with 5V sufficient? Thank you in advance for your answers. Camila
Solution:
The crystal just helps you when you want to use other functions in the MCU that exceeds the normal internal clock. So it depends on your application and the firmware written. But generally it will still work nevertheless.
Jump to solution
4 Replies
Solution
Joseph Ogbonna
Joseph Ogbonna6mo ago
The crystal just helps you when you want to use other functions in the MCU that exceeds the normal internal clock. So it depends on your application and the firmware written. But generally it will still work nevertheless.
Camila_99$$
Camila_99$$6mo ago
Aah Okk thanks for the explanation Joseph ! @Joseph Ogbonna
nour_oud
nour_oud6mo ago
No, it's not necessary. You just need a bootloader that tells the ATmega to use its internal clock. Check out the tutorial on the U=RI channel about this.
Camila_99$$
Camila_99$$6mo ago
Hiii 👋🏻 Thanks Nour , I just watched it 👍. It's great because it points out the pros and cons of not using a quartz crystal. I'll keep watching his videos; they are comprehensive with schematics, etc. Thanks again, this server is truly helpful 💪
Want results from more Discord servers?
Add your server