<snip> For the curious: The resistance I am trying to read with the PIC
is at the end of about 80 feet of wire in my Ham Radio rotator. I took a
lightning strike several years ago and have since dedicated a meter and
toggle switch for a control box. I am just now looking for a better
solution...
John:
You may well have a lot of 60 Hz signal riding on top of your DC that is
contaminating the measurement.
If so, you will need to better condition the signal, which may be done
in a variety of ways, some more complex than others.
I had worked up a circuit to read the position of a TailTwister rotor
pot using a PIC and had to do major signal conditioning. Finally wound
up with a 5 Hz low pass filter, but that's somewhat of a special case
because the rotor manufacturer uses a common wire for one end of the pot
and a motor/brake return circuit.
Jack K8ZOA
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist