super-d
03-01-2008, 05:17 PM
I'm using the P1117 voltage sensor to read an Analog input from an external temp sensor. From the docs for the voltage sensor Voltage (in volts) = (SensorValue - 500) x 0.06
The external temp sensor (not a Phidget device) gives me 0 to 10 volts and is a linear representation for -30F to 220F. Am I correct with 10 / 250 = 0.04 volts per step?
It must be this head cold because I can't get the calculations to come out right and I know I'm missing something simple.
Actual display on external sensor:67
Phidget reading from voltage sensor=562 (Ratiometric = True) should mean 3.72 volts in
Actual voltage reading 4.11v (my uncalibrated meter)
I would think 3.72 / 0.04 should produce my results but I come up with 93. What am I doing wrong. It has to be something simple.. I hope.
Thanks
David
The external temp sensor (not a Phidget device) gives me 0 to 10 volts and is a linear representation for -30F to 220F. Am I correct with 10 / 250 = 0.04 volts per step?
It must be this head cold because I can't get the calculations to come out right and I know I'm missing something simple.
Actual display on external sensor:67
Phidget reading from voltage sensor=562 (Ratiometric = True) should mean 3.72 volts in
Actual voltage reading 4.11v (my uncalibrated meter)
I would think 3.72 / 0.04 should produce my results but I come up with 93. What am I doing wrong. It has to be something simple.. I hope.
Thanks
David