Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Water pressure sensors?

Water pressure sensors?

Scheduled Pinned Locked Moved Hardware
41 Posts 12 Posters 7.8k Views 11 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #13

    of course the sensor is built to be in contact with water, so that is fine

    1 Reply Last reply
    0
    • mfalkviddM mfalkvidd

      @gohan thanks. Yes, that's a solution that could work. (technically, the "inside" part of the sensor would still be submerged which probably is necessary)

      zboblamontZ Offline
      zboblamontZ Offline
      zboblamont
      wrote on last edited by zboblamont
      #14

      @mfalkvidd Not so.... You can install a sensor on a sealed stack (vertical pipe) as @gohan suggested, sealed to the crown of the sewer or drain (a Tee or saddle fitting), the air pressure from the relative hydraulic head will create air pressure which can be correlated to hydraulic head. Whereas the sensor may get moisture in the air it will never be actually submerged, which you generally do not want in sewage anyway due to grease etc and various objects which customers do deposit...
      Another option is ultrasonics in a vertical pipe venting to atmosphere thereby contact free.. Whether you could get a decent interpretation in a tube from a DYP-ME007Y or similar I do not know, but commercial systems use just such an arrangement....

      mfalkviddM 1 Reply Last reply
      0
      • zboblamontZ zboblamont

        @mfalkvidd Not so.... You can install a sensor on a sealed stack (vertical pipe) as @gohan suggested, sealed to the crown of the sewer or drain (a Tee or saddle fitting), the air pressure from the relative hydraulic head will create air pressure which can be correlated to hydraulic head. Whereas the sensor may get moisture in the air it will never be actually submerged, which you generally do not want in sewage anyway due to grease etc and various objects which customers do deposit...
        Another option is ultrasonics in a vertical pipe venting to atmosphere thereby contact free.. Whether you could get a decent interpretation in a tube from a DYP-ME007Y or similar I do not know, but commercial systems use just such an arrangement....

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #15

        Thanks for the input @zboblamont
        I can't mount a 10m vertical pipe on top of the sewage pipe, so I don't think ultrasound is a viable alternative unfortunately.

        zboblamontZ 1 Reply Last reply
        0
        • mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #16

          I might have found what I am looking for
          https://eu.mouser.com/new/measurement-specialties/te-ms5837-30ba/ is inexpensive, small and handles 0-30bar.

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #17

            But it is missing the entire enclosure, it is the bare sensor. The one I posted was ready to be bolted into place

            mfalkviddM 1 Reply Last reply
            0
            • mfalkviddM mfalkvidd

              Thanks for the input @zboblamont
              I can't mount a 10m vertical pipe on top of the sewage pipe, so I don't think ultrasound is a viable alternative unfortunately.

              zboblamontZ Offline
              zboblamontZ Offline
              zboblamont
              wrote on last edited by zboblamont
              #18

              @mfalkvidd 10m? Wow, that is one very large hydraulic head you're measuring if it's a storm overflow or similar... Oslo's trunk sewer system? A sealed pressure transducer would be your best bet at that head, holding it in a fixed position and running the cable will be a challenge...
              Oops, just read your follow up...

              1 Reply Last reply
              0
              • gohanG gohan

                But it is missing the entire enclosure, it is the bare sensor. The one I posted was ready to be bolted into place

                mfalkviddM Offline
                mfalkviddM Offline
                mfalkvidd
                Mod
                wrote on last edited by
                #19

                @gohan yes, I do need a whole solution. But I'm hoping to find something more compact.

                gohanG zboblamontZ alexsh1A 4 Replies Last reply
                0
                • mfalkviddM mfalkvidd

                  @gohan yes, I do need a whole solution. But I'm hoping to find something more compact.

                  gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #20

                  @mfalkvidd you are a difficult customer 😁

                  1 Reply Last reply
                  1
                  • mfalkviddM mfalkvidd

                    @gohan yes, I do need a whole solution. But I'm hoping to find something more compact.

                    zboblamontZ Offline
                    zboblamontZ Offline
                    zboblamont
                    wrote on last edited by
                    #21

                    @mfalkvidd Perhaps if you expand on the objective and location it might help narrow down options.
                    eg - Is this a pressurised pipe below the surface which may be tapped into or a deep well vented to atmosphere? Does the site have power or is this a remote location?

                    If the intent is a submerged logger type device occasionally retrieved and downloaded at the surface, an adaption of the cavepearlproject.org format might suit.
                    If this is to report to the surface in real time from a vented chamber surcharging to 10m, cabling brings a host of problems, not least low voltage operation... Typical commercial devices for such applications are sealed pressure probes operating at over 9v with a 4-20mA output, and pricetags north of 400 euro...
                    A rigid pipe with a transducer sealed and mounted on the top will work when the pipe is purged (compressor/foot pump), the static air pressure thereafter relates directly to depth of hydraulic submergence..

                    B 1 Reply Last reply
                    0
                    • zboblamontZ zboblamont

                      @mfalkvidd Perhaps if you expand on the objective and location it might help narrow down options.
                      eg - Is this a pressurised pipe below the surface which may be tapped into or a deep well vented to atmosphere? Does the site have power or is this a remote location?

                      If the intent is a submerged logger type device occasionally retrieved and downloaded at the surface, an adaption of the cavepearlproject.org format might suit.
                      If this is to report to the surface in real time from a vented chamber surcharging to 10m, cabling brings a host of problems, not least low voltage operation... Typical commercial devices for such applications are sealed pressure probes operating at over 9v with a 4-20mA output, and pricetags north of 400 euro...
                      A rigid pipe with a transducer sealed and mounted on the top will work when the pipe is purged (compressor/foot pump), the static air pressure thereafter relates directly to depth of hydraulic submergence..

                      B Offline
                      B Offline
                      boozz
                      wrote on last edited by
                      #22

                      @mfalkvidd

                      Have a look at freescale sensors. i.e. MXP-type sensors. You could ask for samples (they will provide up to 5 pcs. for free). Cost around $15 pcs. normally.

                      You'd mount such a sensor on top of a riser (air-tight) and when the (sewage) water rises, the air-pocket is compressed proportionally. This is how I measure the ground-water level at my location and it helps me to keep my basement free of water. Works flawlessly!

                      BR,

                      Boozz1_1525272320306_IMG_E7592.JPG 0_1525272320306_IMG_E7591.JPG

                      1 Reply Last reply
                      1
                      • mfalkviddM mfalkvidd

                        @gohan yes, I do need a whole solution. But I'm hoping to find something more compact.

                        alexsh1A Offline
                        alexsh1A Offline
                        alexsh1
                        wrote on last edited by
                        #23

                        @mfalkvidd I still cannot understand why cannot you mount a water sensor in the riser tube or just above bottom?

                        1 Reply Last reply
                        0
                        • mfalkviddM mfalkvidd

                          @gohan yes, I do need a whole solution. But I'm hoping to find something more compact.

                          alexsh1A Offline
                          alexsh1A Offline
                          alexsh1
                          wrote on last edited by
                          #24

                          @mfalkvidd how about this if you insist on a water pressure sensor
                          https://www.bluerobotics.com/store/electronics/bar30-sensor-r1/

                          1 Reply Last reply
                          0
                          • JohnRobJ Offline
                            JohnRobJ Offline
                            JohnRob
                            wrote on last edited by JohnRob
                            #25

                            @mfalkvidd,

                            I'm guessing this is not a hobby request (based on the photo of the manhole cover). I've looked at pressure sensors for level detection many times for automotive applications and can offer the following:

                            1. o-rings don't seal. For your application you need either a hermetic seal or fully potted assembly

                            2. open tubes will fill / drain based on condensation temperature changes etc.

                            3. Freezing is often an issue but I'll guess at you depth you don't have to worry about it.

                            Have you considered a pressure switch? It wouldn't necessarily solve the seal problem but might work for you. Still thinking.... the pressure switch might be hard to self test. At least on the pressure you can see small changes, suggesting the transducer is functioning.

                            you might find this link useful: submersible transducer

                            If you are looking for a lower cost solution, look for "absolute" pressure sensors as opposed to "gauge" pressure sensors.

                            If you want to go the potted route, you might look at this: [link text](absolute xducer). If the cabling was completely potted in a suitable material, this could work for you.

                            1 Reply Last reply
                            1
                            • NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #26

                              Maybe just measure the height of the effluent? It should be proportional to the pressure. It seems like what you care about most is overflows anyway.

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                RWoerz
                                wrote on last edited by
                                #27

                                I use a pressure sensor on the output of the pump that feeds my solar hot water panel. I think I got mine on Amazon. They use a lot of them in automotive applications. They come in lots of different pressure ranges. On mine I think I first had to figure out how to convert the analog input port reading from a number to a raw voltage. Most important you will first need to take a reading of your sensor in open air. FYI most of these sensors will run with any gas or liquid i.e. air, oil, water, etc.

                                The math for the sensors looks something like this:
                                PSI=(Sensor Voltage - open air voltage)/7

                                This is why we need the open air reading. If your current voltage reading and your open air voltage are the same that means you current pressure would be 0 zero, right?

                                The next part the 7 is a little more complicated but remember it's just a number and I think I got mine right off the spec sheet for the sensor. If you plotted a graph for every reading from 0 psi to the sensors max pressure the slope of that line is where the number 7 comes from. Technically it's the slope of the linear regression. But we don't care how we got it because someone even nerdier than than me did the math and it's on the spec sheet. That's why we buy a new one instead of taking one off an old motor at the junkyard.

                                With that info I first had to determine the raw sensor voltage. The Arduino returns a value of 0 - 1023 for a voltage of 0 - 5 volts (I mostly use 5V Arduino's) so to find the voltage I use the following line in my code.

                                First get the raw sensor value.
                                float rawSensorValue = analogRead(tankPumpPressurePin); // Read Pin A15 Value range 0-1023

                                Then convert that value into a voltage.
                                float voltage = rawSensorValue * (5.0 / 1023.0);

                                Then to get the actual pressure I had to do a little more math with the following line. On my sensor the open air reading was 109.

                                tankPumpPressure = ((rawSensorValue - 109) / 7);

                                The whole thing looks like this.

                                void readTankPumpPressure()
                                {
                                // Read Pin A15 Value range 0-1023
                                float rawSensorValue = analogRead(tankPumpPressurePin);
                                float voltage = rawSensorValue * (5.0 / 1023.0);
                                tankPumpPressure = ((rawSensorValue - 109) / 7); // Should be in PSI.
                                currentTankPumpPressure = tankPumpPressure; send(msg_tank_pump_pressure.setDestination(GW_ID).setSensor(Tank_Pump_Pressure_ID).set(currentTankPumpPressure, 1));
                                }

                                I hope this helped I also take flow reading.

                                R 1 Reply Last reply
                                1
                                • R RWoerz

                                  I use a pressure sensor on the output of the pump that feeds my solar hot water panel. I think I got mine on Amazon. They use a lot of them in automotive applications. They come in lots of different pressure ranges. On mine I think I first had to figure out how to convert the analog input port reading from a number to a raw voltage. Most important you will first need to take a reading of your sensor in open air. FYI most of these sensors will run with any gas or liquid i.e. air, oil, water, etc.

                                  The math for the sensors looks something like this:
                                  PSI=(Sensor Voltage - open air voltage)/7

                                  This is why we need the open air reading. If your current voltage reading and your open air voltage are the same that means you current pressure would be 0 zero, right?

                                  The next part the 7 is a little more complicated but remember it's just a number and I think I got mine right off the spec sheet for the sensor. If you plotted a graph for every reading from 0 psi to the sensors max pressure the slope of that line is where the number 7 comes from. Technically it's the slope of the linear regression. But we don't care how we got it because someone even nerdier than than me did the math and it's on the spec sheet. That's why we buy a new one instead of taking one off an old motor at the junkyard.

                                  With that info I first had to determine the raw sensor voltage. The Arduino returns a value of 0 - 1023 for a voltage of 0 - 5 volts (I mostly use 5V Arduino's) so to find the voltage I use the following line in my code.

                                  First get the raw sensor value.
                                  float rawSensorValue = analogRead(tankPumpPressurePin); // Read Pin A15 Value range 0-1023

                                  Then convert that value into a voltage.
                                  float voltage = rawSensorValue * (5.0 / 1023.0);

                                  Then to get the actual pressure I had to do a little more math with the following line. On my sensor the open air reading was 109.

                                  tankPumpPressure = ((rawSensorValue - 109) / 7);

                                  The whole thing looks like this.

                                  void readTankPumpPressure()
                                  {
                                  // Read Pin A15 Value range 0-1023
                                  float rawSensorValue = analogRead(tankPumpPressurePin);
                                  float voltage = rawSensorValue * (5.0 / 1023.0);
                                  tankPumpPressure = ((rawSensorValue - 109) / 7); // Should be in PSI.
                                  currentTankPumpPressure = tankPumpPressure; send(msg_tank_pump_pressure.setDestination(GW_ID).setSensor(Tank_Pump_Pressure_ID).set(currentTankPumpPressure, 1));
                                  }

                                  I hope this helped I also take flow reading.

                                  R Offline
                                  R Offline
                                  RWoerz
                                  wrote on last edited by
                                  #28

                                  @rwoerz
                                  Sorry to say you can't use a tube submerged in the water. That will only work for a very short time. I was going to use that method to take a pressure reading to see how much head (water depth) was in my water well. The problem as I was told is the air in the tube is eventually absorbed by the water ending with a pressure of zero. If you had a way of blowing the tube clear of water just before you took each reading that would work.

                                  zboblamontZ 1 Reply Last reply
                                  1
                                  • R RWoerz

                                    @rwoerz
                                    Sorry to say you can't use a tube submerged in the water. That will only work for a very short time. I was going to use that method to take a pressure reading to see how much head (water depth) was in my water well. The problem as I was told is the air in the tube is eventually absorbed by the water ending with a pressure of zero. If you had a way of blowing the tube clear of water just before you took each reading that would work.

                                    zboblamontZ Offline
                                    zboblamontZ Offline
                                    zboblamont
                                    wrote on last edited by
                                    #29

                                    @rwoerz Partly true.... There are multiple effects on a compressed air pipe in water (condensation, gas absorption, etc) which reduce effective air volume and pressure over time, but these are in reality very small.
                                    Blowing the pipe clear before every measurement is an ideal datum but is generally impractical other than in industrial locations. In reality, a periodic purge with a footpump to an inserted tyre valve on the pipe will restore pressure accuracy for many months at a time for a static well scenario.
                                    The circumstance posed by @mfalkvidd originally is quite different in that a CSO or SSO is a surcharge arising from periodic rainstorms rather than a constant submergence. If the sealed pipe is installed at a level with free discharge when flow abates, it will function very accurately as it compresses from a natural state. All that is required is to add the height of the pipe to Invert and the actual level can be derived. The bigger problem would be installing a 10m rigid airtight pipe..

                                    1 Reply Last reply
                                    1
                                    • bjacobseB Offline
                                      bjacobseB Offline
                                      bjacobse
                                      wrote on last edited by bjacobse
                                      #30

                                      You can also measure the pressure, how much pressure to creating air bubbles

                                      Below is written by Benoit Drooghaag (just to ensure I provide credit to the author)

                                      http://playground.arduino.cc/Main/Waterlevel

                                      0_1525679094193_f2d25022-bc23-49d7-9bf8-ae869fc4121b-image.png

                                      1 Reply Last reply
                                      1
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #31

                                        I use a similar setup for my well but I used a compressor from a broken refrigerator and an old pressure gauge :D

                                        R 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          I use a similar setup for my well but I used a compressor from a broken refrigerator and an old pressure gauge :D

                                          R Offline
                                          R Offline
                                          RWoerz
                                          wrote on last edited by RWoerz
                                          #32

                                          @gohan
                                          gohan great solution wish I had thought of that! Not sure where I got the info that it wouldn't work. They didn't say how long it would take to get bad readings.
                                          Because the pressure transducer I used is sealed you wouldn't have the same problem. As long as the connection were made watertight the sensor could just be installed at any level and it should work without the extra pump. Assuming you don't install it with the open end pointing down trapping a tiny bit of air in the opening. Not sure that would affect the readings but why take the chance.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular