Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Battery lifetime

2005-05-28 by Ralph Hilton

On Sat, 28 May 2005 09:25:57 -0400 you wrote:

>
>
>
>
>Hi
>
>Sorry if these questions were asked before. I am making a battery operated
>circuit with an atmega8515 inside. The system will have  a 16x2 LCD. So
>it´ll be in sleep mode as soon as it finishes the task.
>
>How can the system measure the remaining power of the battery?
>How can the system know how long the battery is going to last?.
>
>Please, if someone can give some hints or links I ´d apreciate it.
>Thanks in advance,

You could use the analog comparator. Compare the battery with a couple of
resistors to drop the voltage with the regulated power for the avr similarly
dropped.
--
Ralph Hilton
http://www.ralphhilton.org
C-Meter: http://www.cmeter.org
FZAOINT http://www.fzaoint.net

Attachments

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.