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:Jump to 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.
4 Replies
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.
Aah Okk thanks for the explanation Joseph ! @Joseph Ogbonna
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.
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 💪