I have a logic question. For a water pump with an in built flow detection which does not work very well I have an external power socket in the 230V to the pump.
I have a flow meter and when the flow is >2L/min I turn on the waterpump (via the socket) and when the flow is <2L/min I turn it off. This way the pump always works (turns on) when needed.
when the pump is on 14-22L/min is flowing.
Now because of the inbuilt flow detection not working very well. When pouring water for a longer time (pump is powered and working) the pump is suddenly stopping, dropping the flow to ~7L/min. When I then stop pouring, the flow is 0 and when I start pouring the pump is powered again and going on like that.
I want to automate the detection of the “drop” from 14-22L/min to 7L/min an quickly power off and on the socket to the pump. how can I do that
But what to do with the trigger? Turn off and on at <8L/min? Than the pump is always on… I would like to make it more safe and detect the “drop”. Else when taking less water, 2-8L/min the pump is off…
Edit: or do you mean to make a trigger “from >8L/min to <8L/min only”. That’s what I need, how to make that?