Go Down

Topic: Pressure Sensor Wiring to Arduino (Read 305 times) previous topic - next topic

amirf

Nov 12, 2018, 06:09 am Last Edit: Nov 14, 2018, 04:14 am by amirf
I have this sensor with data sheet and wiring photo shown. I have trouble reading the output from the sensor.

This is the sensor details:

http://www.digitronsystems.eu/digitronsystems/images/stories/baumer/pdf/PBSN_UK_01.pdf

The output signal diagram is attached:

Wawa

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..

outsider

The link you posted shows dozens of different sensors, post the EXACT part number of the ONE you have.

amirf

Please check the attached photo. Thats the correct one.

hammy

The photo only shows connections for 4-20mA and volts - which are you using

amirf

I have added more photos of the sensor if that helps.

Wawa

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..

amirf

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.

Wawa

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..

amirf

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.

Wawa

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..

amirf

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.

Infraviolet

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.

amirf

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.

Go Up