Also had purchased a third transducer to put after my water softener to get a good indication on how the overall filtration impact water throughout the flow. My water comes from a well so I have a pump on the well tank that keeps things between 40-60 PSI.
If you’ve got this already, that’s awesome! My plan was to use ESPHome filters to fall back to a heartbeat when the flow rate is effectively zero (like a measurement every 10 minutes) and amp up the sample rate when it’s non-zero (like every 250ms or something). That way you get good resolution to pressure drops when there’s in-house usage and you get a low resolution read at all other times (static pressure state). Thinking of the softener… it’d be really cool if we could somehow measure the softness of the water because I can tell mine fluctuates weekly-ish. I wonder if there’s a sensor for that.
Thank you for your project and for the photos. I’m using wemos D1 mini, ads1115 and pressure transductor up to 170psi. Are you connecting also some resistors in your schema? It’s not very clear by the photo for me. Thank you
Hello, forgive me if I insist. I have read the whole thread. But from the photos I couldn’t figure out if you also used resistors. I understand that ads1115 has 5v, gnd and pins 0 to 4 for the analog signal. But from your photo there is a tangle of wires and resistors and I did not understand the connection diagram.
Here I’m referring for the connection between ads1115 and wemos d1 mini.
In your message (always thank fro your help), it is described the connection between sensor and wemos, it’s right?
hello, I have been trying to make this work for me, but i have a different need, I also would need to know the water volume in a tank in which the sensor is at the bottom of the tank.
I have two questions: #1: what would the formula be to convert from psi to litres or % #2 Is my formula for calculating the pressure is ok, I am not sure as I don’t fully understand the math involved.
Using a nodeMCU esp8266 on the analog input directly without resistor
I am using this formula which i got through your post:
I get a reading of 22.1 psi from a half full tank , it seems a lot for a 45x55x35 tank (+/-70L)
here are the specs of the sensor: Output Signal Power Supply 0-10PSI 0.5–4.5V/0–5V
I would really like to get to understand this. and especially to have it work for me.
Fabien, your message is confusing. You know that we can’t convert from PSI (which is a pressure) to Liters (which is a volume), right? There is no equation for that. If you want to convert the PSI (imperial) to Bar (metric) that is possible and googling should give you the equation for that conversion. If you want volume of water in the brine tank I still think that weight (using a scale) may be your best approach.
hi thanks for your answer.
I am sure it is possible i’ve actually seen it done in various ways its done in the water towers as well there are multiple formulas which I found on internet but the problem is that i dont understand them, so I cant use them.
basically i guess I need math help regarding this sensor to find the level in % or litres it doesn’t matter. Doesn’t need to be extremely precise either.
We know water that is 0 degree celsius will weigh 1kg per litre. im guessing there would be a way to find out the amount in a tank using all these infos, I just dont know how.
Pressure is defined as the force per unit area. Besides force and area, it is also proportional to the altitude, density, and acceleration due to gravity. Mathematically,
this:
this:
this:
P α ρgh
P = ρgh
where P is the pressure (1 atm = 101325 Pascals, where 1 Pascal = 1Newton/square meter)
ρ is the density of water (1000kg/cubic meter)
h is the altitude or height
g is the acceleration due to gravity (9.8 meters/second square)
Manipulating the equation:
h = P/ρg
h = [(101325)/(1000*9.8)]
h = 10.33928571 meters
h = approx. 10. 339 m
I just suck at math too much to decipher how to do it … if someone could help me I would be eternally gratefull.
again my current mini tank is:
55’x45’x35’ so roughly 70liters
sensor reads 16.2 psi and has 1/4 of the capacity of water
I’m assuming you have two components to your water pressure reading and that it hasn’t been calibrated to return 0 psi in the open air. If so, you need to subtract the air pressure, like this if your air pressure is 14.7 psi:
(16.7-14.7)psi x (101325/14.7)Pa/psi/(1000)kg/m^3/(9.8) m/s^2
= 1.4 m
I’m not sure how you are getting your values as you are mixing units like wildfire. Is it 55 feet wide?
I am not, it’s just plain water for a “almost” fully automated garden on my 3rd floor terrasse here in Montreal city.
any help would be really appreciated since the reason for this automation is my working in cinema and sometimes have long stretch of work and little home time to care for my precious garden…
I misread your message, 16.2 psi is 1.1 m water height. This is 1.5 psi above ambient. This matches the conversion table you provided. I would suspect that the remaining difference is something to do with the psi reading too high.
If the reading is consistent, but still too high, you can calibrate it at different heights to get you the correct reading.
is “ambient” a constant or its a changing number?
the container is 50cm tall with a 45cm water level maximum. So this is not right.
It’s located on a terrasse on my 3rd floor city appartment, I am guessing that that height also has to be taken into consideration?
sorry, i’m from canada and here for some strange reason we still use some imperial measures (construction work, some foods etc…) while most is in metric, i dont know why we do this, it is stupid… and because of that i keep mixing both when talking to non-canadian people about construction and food…
I checked and the air pressure in Montreal is currently only 1-2% higher than the value used above (14.7 psi). The air pressure changes when you travel to altitudes close to a kilometer.
my question is more what do i need to change in my lambda and or code to actually get the right psi and calculations?
I dont understand what those numbers represent, i copy pasted from someone with similar model who was saying this was the formula he used, he didn’t give no breakdown or explanation… i just tried it.
doesn’t seem to be right.
i would really appreciate it if someone could rapidly maybe explain what the numbers in the equation represent.