Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] low-battery detection, ADC, and ICP of mega16

2004-05-21 by David VanHorn

At 08:45 AM 5/21/2004 -0500, Mike Murphree wrote:

>Kathy Quinlan said:
>> jay marante wrote:
>>
>>> are you sure you got your formulas right?!
>>> that's just a voltage divider and im pretty sure you can't generate
>>> 650kV from a 12V battery. im sorry but i can't remember the formula
>>> for  the voltage divider circuit.
>>> maybe someone might confirm that the multisim was right with its
>>> output.  as far as i know, current can be computed by dividing Vbatt
>>> over the  total resistance, which is 1,300,010 ohms. pretty low
>>> current there!
>>
>>>      >
>>>      >       battery
>>>      >          |
>>>      >         <
>>>      >         > 1.3 Mega ohm
>>>      >         <
>>>      >          |
>>>      >          |------------------- ADC7   ~ 5V as simulated in
>>> multisim |
>>>      >         <
>>>      >         > 10ohm
>>>      >         <
>>>      >          |
>>>      >      GND
>>>      >


You must be way off in your math somewhere.
A 12V battery is <3X 5V, so the divider should be in that range.

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.