avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] measuring uC supply voltage


From: Christian Vogel
Subject: Re: [avr-gcc-list] measuring uC supply voltage
Date: Sun, 24 Oct 2004 09:24:51 +0200
User-agent: Mutt/1.2.5.1i

Hi,

depending on the precision requirements you have, you could
also just measure some external refecence Vext < Vcc while
using Vcc as the ADC reference voltage. That external reference
might be as simple as the voltage drop over (say) a power LED +
resistor. (have I mentioned that it is depending on your
precision requirements? :-) )

Then you just calculate Vcc = (Vext * 1024 / ADC)

        Chris

-- 
... they are not cheap, but neither is a sysadmin's time. I use
cheap modems for doorstops and bookends. -- address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]