1
vote
2answers
145 views

Overclocking an AVR microcontroller by using an external oscillator with higher frequency than uC supports

What would happen if I would connect an external oscillator that has a higher frequency than the microcontroller (AVR) supports? Will it blow up, constantly reset, or what?
3
votes
4answers
2k views

Using the ATMega328 with the internal oscillator?

I have a project that I think would be best suited for an ATMega328P. However, in every simple project I've seen, people always hook up a 16MHz external oscillator. From what I can see, it should have ...
0
votes
1answer
1k views

Sine wave frequency vs. PWM frequency (AVR)

I'm using an AVR Mega 168 to generate a sine wave via pulse width modulation. My goal is to generate a sine wave with a frequency of approximately 50Hz. I understand that the PWM frequency needs to be ...