Two different sensor connections for three different sensors are shown.
One with a current output (4-20mA), and two with a voltage output (0-5 and 0-10).
So which one do you have. The all require a different way of reading.
Leo..
Did you not see "output 0-10volt" printed on the body?
Try a 10k:10k voltage divider on the output of the sensor, and read the resulting 0-5volt with an analogue pin.
Or, better, use a 1:9 divider, and read the sensor with 1.1volt Aref enabled.
Map the resulting 0-1023 A/D value to the pressure range of the sensor.
Leo..
Im getting a fix number for voltage. No change in output when blowing into the sensor. Am I doing something wrong? I had a 10k resistor and connected from +5v to A0.
You need a voltage divider (two resistors), to lower the 0-10volt output of the sensor to 0-5volt for the Arduino (assuming Uno).
One 10k resistor between sensor output and analogue pin, and one 10k resistor from analogue pin to Arduino ground.
Ground of the sensor also must be connected to Arduino ground, and the sensor needs a >=13volt supply.
You didn't post what pressure range the sensor is.
"Blowing' into it might not work for a high pressure sensor.
Leo..
I tried Wawa but with the 5V output from Arduino. Shouldnt that show something? I have added another photo showing connections.
The sensor max pressure is 1 bar and therefore we should see 10% load by just blowing.
Don't know what's inside the sensor, so can't tell if a sensor that needs a minimum supply of 13volt will work on a 5volt supply.
Doubt it though.
Leo..
It was a silly mistake as all I needed was to put 13v power to it. Otherwise all I needed was to connect the +measurement pin to A0 and also -measurement pin to GND on Arduino.
Depending on how many digits of precision it is accurate to, one of the best ways to check a pressure sensor is just to move it's position up and down by a few metres, the change in atmospheric pressure with only a few metres of height is usually quite detectable.
You need at least 8.5m change to see 1 unit increase. This is based on Arduino which measures 1023. This should be enough for most water measurement applications corresponding to just about 1cm for every 1 unit in Arduino.