avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: [avr-chat] ADCW keeps returning 1023


From: Dean Hall
Subject: re: [avr-chat] ADCW keeps returning 1023
Date: Sun, 3 Feb 2008 11:29:46 -0600

I see that you set ADMUX to 0. That means that AREF is used as the ADC's voltage reference. Do you have a reference voltage connected to pin 62, AREF? If not, you need to make sure you apply at least the maximum voltage that your ADC inputs will see (but not more than the VCC of your board). It's usually safe to just apply VCC to AREF (and make sure your inputs don't exceed VCC).

!!Dean




reply via email to

[Prev in Thread] Current Thread [Next in Thread]