-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/08/11 12:54, Russell N. Nelson - rnnelson wrote:
> I'm having trouble reading two ADC channels in quick succession, or even in
> slow succession. Values from one channel bleed over into another channel. And
> it's not just my code, it's also the Technologics' test7400ADC. If you run it
> like this:
>
> while ./test7400ADC; do echo -n ''; done
>
> then sooner or later it craps out, and when it does, it prints a value that
> clearly came from a different channel. I've tried reading twice and
> discarding the first. inserting a 100ms delay betweeen these two reads, and
> it still happens. How can I fix this? I need to measure both voltage and
> current consumed, and I have the two sensors hooked up to ADC channels.
I don't mean to be condescending, but are you sure it's not a interface
issue? If you have any de-coupling caps or opamp buffers not biased
right ect it could bleed over due to induction. So does the reading you
get from the ADC match a scope/meter on the same lead?
- --
Jason Stahls
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNdnDZAAoJEBWmhVAMrS/gvr4IAJhPD8yi0RdECI3iB9aHN8t1
/vqK6OrgQRIBfdIhbv73Pq5dTiyczL5vTT0Oh3hSQseXTAkLMc+y5EZuSAJb+8A2
WM+N0IR8EEBSISw+7bzNDkzs9m0wnz3yzEsETxQjs3FS/LXdVoluRX8vskRaoXCM
t9/IrgDVRUseBRZBUFMAkWzDXwF8Tk6hYk/kU3r3EwVaCIoZMo5oZUlyrEQt3JyQ
co9y0SSn/9+qeE7D3j34jew2c7a3wymfR4aqjQ5Ez9bcjZ3/emKaMxlX/oxyqw+c
dKpOJzNrxGGgrTB5NjYbZoli0T5A7E25qykzB3co0PHWxo+4sAUQUCPl/kzdn9c=
=b/QM
-----END PGP SIGNATURE-----
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|