Best way to measure voltages above 3.3
Hello all,
·Just received my new propeller and have been playing with it a·bit. I have an application where I would like to measure voltages from 14.4 VDC·down to 10.5 VDC. Can this be done using the internal ADC's or would I be better off using an external chip. If external what would be a good choice? I need about .05 volts resolution.
Some sample code with be great also.
Thanks for the help
Patrick

Some sample code with be great also.
Thanks for the help
Patrick
Comments
If you only want to measure a single voltage, you could go with the ADS7816 from TI. You can get a few as free samples, for tinkering, and there is code already for it. The code requires a cog, but samples 200,000 samples per second and does a running average, or allows you to grab individual samples. It's not in the OBEX, but I can post it if you want. Oh, this is a single channel, 12-bit ADC.
Another chip is the TLV2543 from TI. It's a 11 channel, 12 Bit ADC from TI. Again, free samples and a SUPERB driver written by Tim Moore. This driver requires a cog, but samples ALL 11 channels at about 4,000 samples per second and does a running average. The code for this is in the OBEX.
http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=2556350&keywords=IC%20Digital%20Pot&stock=1
Post Edited (Bill Drummond) : 5/28/2009 10:50:33 AM GMT
Kudos to Tim Moore!