Maker Pro
Maker Pro

High Pressure Sensor Output Voltage

ojanu

Jul 12, 2015
2
Joined
Jul 12, 2015
Messages
2
Hello All,

I have a pressure sensor PX04 .. however the manufacturer's claims that its output voltage at zero is 0.72mVolt, and it range it 53mVolts. It also pointed out that the output pins are +O and -O. I connected -O to ground and +O to A0 of Arduino uno. I was expecting an output voltage of 0.7mVplts to 53mVolts but I the lowest voltage I got was 1.87volt. I was bit confused by this. I was thinking that there might be something wrong somewhere which I have not being able to figure out. Could someone help me out figure this?Do I need to use Op Amp? Is the sensor actually working? And what could have caused the result i am seeing?

This is from manufacturer Excitation 1.5mA (Typical)∣5VDC∣10VDC. I assume that Arduino should be able to power the sensor.


Below is my code.

Code:
/*
  Analog input, analog output, serial output



// These constants won't change.  They're used to give names
// to the pins used:
const int analogInPin = A0;  //
const int normalizedValue = 1024;
double analogVoltage  = 0.0;

int sensorValue = 0;        // value read from the pot
double barValue = 0.0;

void setup() {
  pinMode(analogInPin, INPUT_PULLUP);
  Serial.begin(9600);
}

void loop() {
  // read the analog in value:
  sensorValue = analogRead(analogInPin);
Serial.print(sensorValue );
analogVoltage  =  (sensorValue / normalizedValue) * 5.0 ;  // Convert ADC value 
Serial.print( analogVoltage  );
  if( analogVoltage >= 4.0) { sensorValue  = 0.0; }
  barValue = (analogVoltage - 0.0007) * (7/0.05411) ;
//Convert voltage to Bar value
  // print the results to the serial monitor:
Serial.print("Pressure Value in Bar " );
  Serial.print("sensor = " );
  Serial.print(barValue);
  Serial.print(" Bar");
  Serial.print("\n" );
  // wait 2 milliseconds before the next loop
  // for the analog-to-digital converter to settle
sensorValue = 0;
  delay(200);
}
 

Minder

Apr 24, 2015
3,478
Joined
Apr 24, 2015
Messages
3,478
Are you sure it is not a 4-20ma loop design?
Most pressure sensors use this method.
Although looking at the specs it requires separate excitation to the output, you may need a Op amp for the two output
M.
 

ojanu

Jul 12, 2015
2
Joined
Jul 12, 2015
Messages
2
Which type of Op Amp will be optimal ? And I am new to 4-20mA loop design?
 
Top