Looking for Python code to read them. it seems their “math” is a bit not clear, there is python code to read the normal hall effect, but you need to tell the Python how to intrepid the “clicks” it’s getting from sensor to L/min flow.
plan is to connect 2 of these onto a RPi zero located close to the 2 water tanks, going to measure water in from council and then water flowing out to booster pump into house.
Specification:
Product Model: B10 Product Name
Model YF-B10: Product Name
Rated voltage: DC=5V inspection standard
Appearance Product identification is clear, accurate and correct
Water pressure: resistance >1.75MPa
working voltage range: DC5 ~ 15V
insulation resistance: >100MΩ
Accuracy: [in 1~25LMIN]±5%
Flow pulse characteristics: (6*Q-8) Q=L/Min±5%
Output pulse high level: > DC 4.7V (input voltage DC 5V)
output pulse duty cycle: 50% ± 10%
(as per other thread, also adding a water level sensor, and then looking for solution still to do water pressure on lines).
So… I got 2 water flow sensors… looking at them, haven’t looked to close (other than figuring out the math to figure out flow based on spin of impeller is not that simple), they seem to be analog, which implies they don’t work with Raspberry pi.s… Now I have a couple of NodeMCU’s (they can read analog values, you just need to make sure about the voltage), but they not my normal playing ground (being Tasmoto or Python on a Linux OS). so need to become familiar with that, you code/write/burn the app a bit different which I haven’t done before…
Similar applies to the water level, got a couple of ultrasonic sensors, and can access them in rpi…
but with them, going into the tank… these tanks sweat… which then destroy the sensor. so decided I rather want to get a I2C based pressure sensor, haven’t looked to hard yet.
in the end… break the solution up into 2 bits, get value/decode value and then push onto MQTT topic. once there then the world is your oyster, hehehe. easy peasy to then display in HA. I also drop mqtt values into a influxes which i can graph using Grafana.
I don’t have a sensor on the pump side as I know the pressure switch will switch on at 2 bar and off at 4 bar. As my tank is a buffer between the house and the feed I wanted to know if the pressure is gone as we then have to manage the water in the tank as the feed is gone.
what pressure sensor is that, what programs/board do you use to measure.
most sensors I’ve been able to find is analog, which imply i need a analog to digital converter also,
of course with council (3-4bar) and water tank pressure bing .2->.4 bar… it’s on the serious low side for most sensors I’ve been able to find.