measuring voltages greater than 3.3V
Posted: Thu Feb 14, 2013 5:25 am
I could swear I saw a sample project to do this somewhere... I have a power
source that will always read between 11 - 14, or 0 volts. (It's the output of a
charge controller for a solar powered WiFi tower.) I'd like to periodically
read the output voltage, and send it to my desktop computer.
I already have the means to send small data samples from a SuperPro over the
network (via TTY session on network radio's serial port) but I'm not sure how to
read voltage. Ideally resolution would be 0.01V but 0.1V would be workable.
I see that the AD pins read voltage between 0 and 3.3V, so would I need to drop
the voltage with resistors? How do I calculate the resistance value? The
highest quality resistors are 5%, right? So I'd just have to calibrate the
values returned against a DMM?
One [more] thing that confuses me, I put a few K ohms resistor between my meter
and 12 volts and it still read 12 volts?
Any help appreciated.
-Mark McGinty
source that will always read between 11 - 14, or 0 volts. (It's the output of a
charge controller for a solar powered WiFi tower.) I'd like to periodically
read the output voltage, and send it to my desktop computer.
I already have the means to send small data samples from a SuperPro over the
network (via TTY session on network radio's serial port) but I'm not sure how to
read voltage. Ideally resolution would be 0.01V but 0.1V would be workable.
I see that the AD pins read voltage between 0 and 3.3V, so would I need to drop
the voltage with resistors? How do I calculate the resistance value? The
highest quality resistors are 5%, right? So I'd just have to calibrate the
values returned against a DMM?
One [more] thing that confuses me, I put a few K ohms resistor between my meter
and 12 volts and it still read 12 volts?
Any help appreciated.
-Mark McGinty