[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] measuring uC supply voltage
From: |
Andy Warner |
Subject: |
Re: [avr-gcc-list] measuring uC supply voltage |
Date: |
Sun, 24 Oct 2004 15:14:57 -0500 |
User-agent: |
Mutt/1.2.5i |
JAMIE MORKEN wrote:
> [...]
> I have some potentiometer joysticks that are run by the 5V supply, so I may
> have to correct these if the supply droops below 5V, but under normal
> operating conditions the supply should be 5V and if it is not there will be
> more problems than just innacurate sensor readings. Thanks,
I'd second the recommendation make by someone else, you can feed the
joysticks from Vref, then V+ variations won't matter.
Alternatively, if these are the only things you are
reading with the ADC, and they are fed from the same
V+, the readings should stay the same, regardless of V+
variations. Since the potentometer's output is a
proportion of V+, and when V+ is used as a reference
for the ADC, the ADC will also simply measure the input as
a proportion of V+ - it should all just work out.
--
address@hidden
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
- Re: [avr-gcc-list] measuring uC supply voltage, (continued)