Hello, I am using ss302 pressure sensor that gives 0-10V output based on its pressure. The thing is I am getting 10V when I have not applied pressure to it. So my question is that it works reversely or I am getting wrong values.
P.S. I donot have anything to apply pressure at this time.
Does it have any markings other than ss302?
Has this been given to you for a student project? If so ask for the full model number or a link to the datasheet.
Does it have any physical adjustment potentiometers for 'span and zero' adjustment?
If not, contact the manufacturer and ask for the adjustment procedure.
If the sensor is new it may just need adjusting. If it's old it may be broken.
Thanks. Yes It needs some adjustment. Now it works from 0-10V with 0-400bar. However, the microcontroller reads 0.2V using adc so its gives 8 bar. Well, no problem, I will use 0.2 as offset.
Workaholic:
However, the microcontroller reads 0.2V...
The A/D returns an A/D value, not a voltage.
Changing a value into voltage is what you do when you make a voltmeter.
You should subtract an offset value from the returned A/D value.
And then multiply it with a factor to display pressure.
'Voltage' should nowhere be used.
Leo..
It seems you forgot to place a voltage divider on the sensor output - 9:1 ratio or thereabouts would be good, bringing the voltage output to 0-1V, and use the internal reference for better stability of your readings.