Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
New Application Note - Measuring the Power Supply Voltage

 
Post new topic   Reply to topic    Forum Index -> ZBasic Language
Author Message
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 27 October 2006, 20:14 PM    Post subject: New Application Note - Measuring the Power Supply Voltage Reply with quote

One of our customers is building a battery-powered application and needs to monitor the battery voltage. This cannot be done using the GetADC() function as one might at first think. The new application note shows how to use one of the special features of the ATmega's A/D converter - the internal voltage reference. The concepts illustrated in this application note can be modified to exploit other special features of the A/D converter such as performing differential conversions.

AN217 - Measuring the Power Supply Voltage


Last edited by dkinzer on 22 February 2007, 16:15 PM; edited 1 time in total
Back to top
Don_Kirby



Joined: 15 Oct 2006
Posts: 329
Location: Long Island, New York

Posted: 27 October 2006, 20:52 PM    Post subject: Reply with quote

If I use the internal voltage reference, can I eliminate the AVCC and AREF connections at the chip (ZX44)? I have to scale my inputs with a divider anyway, so I could save 2 caps and an inductor if those connections aren't needed.

-DK
Back to top
dkinzer
Site Admin


Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR

Posted: 27 October 2006, 21:05 PM    Post subject: Reply with quote

I think you'll want to keep them. Atmel suggests using an external decoupling capacitor on Aref to reduce the effects of noise on A/D conversions. The AVcc connection is required, with or without the L/C filter, because that's what powers the Port A circuitry. It also powers the analog-to-digital converter and Atmel recommends using the L/C filter on AVcc if you use the A/D converter regardless of which reference you're using.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> ZBasic Language Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group