Yes it is the Mavcric-IIb! I am glad the cap is already there. I foud that I got decent readings once I fixed my code and set the ACR to use the AVCC instead of the "default" AREF. One other question: in one of the little write-ups here on ADC, it said that "AVCC should be connected to VCC whenever PORTA is used a output. This is because PORTA is always sourced by AVCC." I think this write-up was specifically dealing with the 8535, so I do not know how that info applies to the 128. I do not have AREF connected to anything and PORTA is working fine as output and input for my keypad scanning code. Is this true, and do I need to do anything special about it? -Tony --- In AVR-Chat@yahoogroups.com, Brian Dean <bsd@b...> wrote: > Hi Tony, > > On Sun, Apr 24, 2005 at 02:08:52AM -0000, arhodes19044 wrote: > > > The docs say "AVCC, with external capacitor at AREF pin". Do I HAVE > > to use the cap? If so, what size? > > This is your MAVRIC-IIB, correct? If so, then it already has the cap > installed. > > -Brian > -- > Brian Dean > BDMICRO - ATmega128 Based MAVRIC Controllers > http://www.bdmicro.com/
Message
Re: prob with ADC !
2005-04-24 by arhodes19044
Attachments
- No local attachments were found for this message.