neiltechspec
Senior Member
Having a bit of trouble getting my head around the calculation need for a Oil Pressure Gauge.
The sensor gives a linear o/p from 0 to 100 PSI.
0 psi = 0.5v
50 psi = 2.5v
100 psi = 4.5v
Normally I would use -
Supply Voltage 5v
adcconfig 0
readadc10 w0
Then it would be easy to convert the value w0 to read PSI.
But because 0 psi is not 0v I am somewhat flummoxed at the moment.
Any help appreciated.
Neil
The sensor gives a linear o/p from 0 to 100 PSI.
0 psi = 0.5v
50 psi = 2.5v
100 psi = 4.5v
Normally I would use -
Supply Voltage 5v
adcconfig 0
readadc10 w0
Then it would be easy to convert the value w0 to read PSI.
But because 0 psi is not 0v I am somewhat flummoxed at the moment.
Any help appreciated.
Neil