Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Internal Reference Voltage on ATmega64L?

Internal Reference Voltage on ATmega64L?

2005-08-22 by David Kelly

Am a bit disappointed in the accuracy of the internal 2.56 volt
reference used by the A/D converter. Have a nice 3.3 volts on the chip
supply. A 0.1 uF ceramic cap across AREF and GND. Nothing connected to
AVCC.

Working the math backwards agrees with the voltage measured across the
0.1 uF capacitor, that my reference voltage varies from 2.44 to 2.60 on
different units.

Is this typical?

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Re: [AVR-Chat] Internal Reference Voltage on ATmega64L?

2005-08-22 by Jesper Hansen

Perhaps not related to your VRef problem, but I remember that on some CPU's
you MUST connect AVCC to a voltage of VCC +/- 0.1V or something.
Otherwise BAD things will happen !

/Jesper



Am a bit disappointed in the accuracy of the internal 2.56 volt
reference used by the A/D converter. Have a nice 3.3 volts on the chip
supply. A 0.1 uF ceramic cap across AREF and GND. Nothing connected to
AVCC.

Working the math backwards agrees with the voltage measured across the
0.1 uF capacitor, that my reference voltage varies from 2.44 to 2.60 on
different units.

Is this typical?

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Re: [AVR-Chat] Internal Reference Voltage on ATmega64L?

2005-08-23 by david.pallant@prometheanworld.com

Yep. Data sheet says 2.4 to 2.8V.

Just been looking at the bandgap reference in the mega88. 1.0 to 1.2V. Pretty much useless as a true reference! We're having to use the power supply as a reference and calculate the error on the bandgap reference before calculating any measured input voltage.

Dave Pallant

AVR-Chat@yahoogroups.com wrote on 22/08/2005 19:05:42:

> Am a bit disappointed in the accuracy of the internal 2.56 volt
> reference used by the A/D converter. Have a nice 3.3 volts on the chip
> supply. A 0.1 uF ceramic cap across AREF and GND. Nothing connected to
> AVCC.
>
> Working the math backwards agrees with the voltage measured across the
> 0.1 uF capacitor, that my reference voltage varies from 2.44 to 2.60 on
> different units.
>
> Is this typical?
>
> --
> David Kelly N4HHE, dkelly@HiWAAY.net
> ========================================================================
> Whom computers would destroy, they must first drive mad.
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------~-->
> Get Bzzzy! (real tools to help you find a job) Welcome to the
> Sweet Life -�brought to you by One Economy
.
;
> --------------------------------------------------------------------~->
>
> �
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
> � � http://groups.yahoo.com/group/AVR-Chat/
>
> <*> To unsubscribe from this group, send an email to:
> � � AVR-Chat-unsubscribe@yahoogroups.com
>
> <*> Your use of Yahoo! Groups is subject to:
> � � http://docs.yahoo.com/info/terms/
> �
>
>

Promethean Technologies Group Ltd and or associated and or subsidiary companies�:

The views expressed in this communication may not necessarily be the views held by Promethean Technologies Group Ltd and or associated and or subsidiary companies.

This e-mail is for the exclusive use of the addressee(s). Unauthorised disclosure, copying or distribution is prohibited.

This e-mail message has been swept for the presence of computer viruses.

Promethean Technologies Group Ltd and or associated and or subsidiary companies�accepts no liability for any loss resulting from this email transmission.



*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************

Re: [AVR-Chat] Internal Reference Voltage on ATmega64L?

2005-08-23 by Kathy Quinlan

David Kelly wrote:

> Am a bit disappointed in the accuracy of the internal 2.56 volt
> reference used by the A/D converter. Have a nice 3.3 volts on the chip
> supply. A 0.1 uF ceramic cap across AREF and GND. Nothing connected to
> AVCC.
> 
> Working the math backwards agrees with the voltage measured across the
> 0.1 uF capacitor, that my reference voltage varies from 2.44 to 2.60 on
> different units.
> 
> Is this typical?
> 

VERY, I am yet to find a "good" reference on a uC, but as far as cheap 
ones go, I am using the ref2940 (IIRC) from TI, they are cheap, neat and 
in a 3 pin sot23, take up little space and work well :)

Regards,

Kat.

-- 
---------------------------------------------------------------
K.A.Q. Electronics	Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------	


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 22/08/2005

Re: [AVR-Chat] Internal Reference Voltage on ATmega64L?

2005-08-23 by david.pallant@prometheanworld.com

You can also rely on some cheap regulators to be very accurate. We are using a Microchip (sorry!) MCP1700 which is available in many different voltages, very low dropout, VERY low quiescent current (1uA) and typical 0.4% accuracy as our power regulator. Microchip quote a $0.35 'budget' price. Good for 'always on' battery equipment. If you do one measurement with VCCA as a reference and then with the internal reference you can get a correction factor if you need very accurate measurements on the internal reference. This is useful when you only need a slow infrequent accurate measurement such us where we need an accurate raw battery voltage and a correction factor calculation time is insignificant. Since the unit can go on working with the regulator in dropout we store the correction factor when the battery voltage is high and go on using it after we cannot rely on VCCA being 3.0V. Since the bandgap reference in the mega88 is relatively unaffected by VCCA dropping out we can still measure the battery voltage.

Dave Pallant



AVR-Chat@yahoogroups.com wrote on 23/08/2005 10:46:15:

> David Kelly wrote:
>
> > Am a bit disappointed in the accuracy of the internal 2.56 volt
> > reference used by the A/D converter. Have a nice 3.3 volts on the chip
> > supply. A 0.1 uF ceramic cap across AREF and GND. Nothing connected to
> > AVCC.
> >
> > Working the math backwards agrees with the voltage measured across the
> > 0.1 uF capacitor, that my reference voltage varies from 2.44 to 2.60 on
> > different units.
> >
> > Is this typical?
> >
>
> VERY, I am yet to find a "good" reference on a uC, but as far as cheap
> ones go, I am using the ref2940 (IIRC) from TI, they are cheap, neat and
> in a 3 pin sot23, take up little space and work well :)
>
> Regards,
>
> Kat.
>
> --
> ---------------------------------------------------------------
> K.A.Q. Electronics � Website: www.kaqelectronics.dyndns.org
> IM: Yahoo: PinkyDwaggy �MSN: katinka@kaqelectronics.dyndns.org
> For Everything Electronics � � Phone: 0419 923 731
> --------------------------------------------------------------- �
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 22/08/2005
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------~-->
> Fair play? Video games influencing politics. Click and talk back!
>
.

> --------------------------------------------------------------------~->
>
> �
> Yahoo! Groups Links
>
> <*> To visit your group on the web, go to:
> � � http://groups.yahoo.com/group/AVR-Chat/
>
> <*> To unsubscribe from this group, send an email to:
> � � AVR-Chat-unsubscribe@yahoogroups.com
>
> <*> Your use of Yahoo! Groups is subject to:
> � � http://docs.yahoo.com/info/terms/
> �
>
>

Promethean Technologies Group Ltd and or associated and or subsidiary companies�:

The views expressed in this communication may not necessarily be the views held by Promethean Technologies Group Ltd and or associated and or subsidiary companies.

This e-mail is for the exclusive use of the addressee(s). Unauthorised disclosure, copying or distribution is prohibited.

This e-mail message has been swept for the presence of computer viruses.

Promethean Technologies Group Ltd and or associated and or subsidiary companies�accepts no liability for any loss resulting from this email transmission.



*****************************************************************
This email has been checked by the e-Sweeper Service
*****************************************************************

Re: [AVR-Chat] Internal Reference Voltage on ATmega64L?

2005-08-23 by Zack Widup

I got a couple references from Digi-Key that I've been using.  These are 
4.096 volt references (convenient value for A/D converters).  One is a 
ZR40401R41 which is in a TO-92 case.  The other is an ADR392ART-R2 which 
is in an SOT-23 case.  I believe there is a range of voltages available in 
each series.

Zack
Show quoted textHide quoted text
On Tue, 23 Aug 2005, Kathy Quinlan wrote:

> 
> VERY, I am yet to find a "good" reference on a uC, but as far as cheap
> ones go, I am using the ref2940 (IIRC) from TI, they are cheap, neat and
> in a 3 pin sot23, take up little space and work well :)
> 
> Regards,
> 
> Kat.
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.