- Mon Apr 02, 2012 5:59 pm
#142266
I found a dozen circuits for ATMega328. Half show pin 21 AREF floating and half have AREF to VCC. Which would be correct.
Where electronics enthusiasts find answers.
dbvanhorn wrote:I just ran across this thread and I realize it's stale, but DONT let AREF float.Thanks db for the info. Even stale news is good news
If an AVR device has an AREF pin, then it needs a bypass cap on that pin, even if you are not using the analog functions.
Without the cap, you'll have events that look like code bugs, but you'll never be able to find them.
This is not theory, this is experience speaking.