J
John Fields
Guest
On Sun, 4 May 2008 13:00:03 -0700 (PDT), lerameur <lerameur@yahoo.com>
wrote:
It sounds to me like you've got your ľC "input" pin configured as an
output.
JF
wrote:
---On May 2, 12:08 pm, gearhead <nos...@billburg.com> wrote:
On May 1, 2:42 pm, John Popelish <jpopel...@rica.net> wrote:
gearhead wrote:
On Apr 30, 2:55 pm, Randy Day <randy....@shaw.cax> wrote:
Just use your micro as a digital input; no analog required.
6-9vdc in --10K-----+------ micro
|
/\ 5v zener diode
|
Gnd
The output is DC, depends on the batteries voltage. But it is usually
6.4v.
Well I tried the circuit with the zener diode. I get 5v at the output.
But as soon as I place the microcontroller input pin, that voltage
just sink to 1.4v and the controller do not read it. If I put the
input pin directly on the output of the 7805 regulator (5v) then it
reads it as 5v. I used a 150ohm resistor afterwards, that did not
work. why is that
It sounds to me like you've got your ľC "input" pin configured as an
output.
JF