I bought a pressure sensor for a test but I don't know how to read the value.
I have for pins, one ground, one + and two pins of excitations. How I can connect the sensor to an Arduino Mega ?
Hi,
Can you please tell us your electronics, programming, arduino, hardware experience?
What you have is a pressure sensor with a bridge, load cell, type output.
You will need something like a HX711 module to power it and amplify the output signal.
Google
hx711 arduino pressure sensor
There are tutorials to help you understand what you have.
I bought a PREPS-N-025. I don't know its range, but it's better than 3 psi (it's sufficient for me).
What you have is a pressure sensor with a bridge, load cell, type output
So I can't use the sensor with an Arduino ? I can't have a HX711, I need an industrial pressure sensor which can be placed in a pipe. And which can accept javel or other destructive liquid.
I wrote a driver/library for a TE Connectivity industrial pressure sensor for an Atmega328P (same MCU in an Arduino UNO)
These sensors are really easy to interface with. Should be a cake walk to make it work with an Arduino Mega. But these are not cheap. I got mine for almost $50.
You should power it (exc+ and exc-) with about 5V
the output difference voltage between the two signal wires will be:
0.2584mV/ psi / volt if the volt = 5 then
1.292 mv / psi.
I expect the signal "output-" is about 2.5 volts so you will need some sort of difference amplifier.
You should really consider an HX711 (as suggested above)
You should also google wheatstone bridge measurements to get a better understanding of your pressure sensor.
BTW 1.291 mv/ psi = 0.001291 volts / psi. So small it is likely not readable with some low cost multimeter.
Then there is noise......
Input/Output impedence 270 Ohms to 400 Ohms
Excitation voltage 2.5 to 10 volts DC (for best long term stability, use a lower excitation voltage)
Sensor Output 0.2584 mV/psi/Volt
Connector Custom molded 4 pin connector; signal +/- and excitation +/-
I work for a biotechnical process and we need 2 pressures sensors. Our system has 2 lines of pipe, one for the water where I use this sensor. (it's not perfect but for the moment it works).
The second line is more complex. We have a pipe full of bacteria which are sent to a tank by a peristaltic pump. That's why I choose the sensor that I describe at the top of this discussion. it is in contact with the liquid but can be sterilized. It supports bleach solution for example.
So yeah I don't understand how I can put an HX711 in this part of my process.
I'm a junior engineer who works as an automatist. I can program and, with the time, I'm not a nooby with Arduino but not a serial killer as you ^^.
Most of my sensors use I2C or analogue pin. But it's the first time where I used a sensor with 2 excitation wires.