KeepItSimpleStupid
- Joined Mar 4, 2014
- 5,088
Solve the transfer function for P.
Use a voltmeter
Measure Vout
Measure Vsupply
Where '5' appears in the transfer function, you will eventually have to substitute (5*Vsupply/5). This is what ratiometric means.
With the A/D's reference = to the power supply voltage, see what you need to do to massage the value into the (5*Vsupply/5) form.
I still suspect that with a differential sensor, ports unconnected, , the answer will always be near zero within the error bars.
I think this https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/ Arduino page needs work.
Use a voltmeter
Measure Vout
Measure Vsupply
Where '5' appears in the transfer function, you will eventually have to substitute (5*Vsupply/5). This is what ratiometric means.
With the A/D's reference = to the power supply voltage, see what you need to do to massage the value into the (5*Vsupply/5) form.
I still suspect that with a differential sensor, ports unconnected, , the answer will always be near zero within the error bars.
I think this https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/ Arduino page needs work.