I'm looking for a straightforward, simple and cheap solution to detect if i'm pumping water or air through a small translucant silicone tube. This to cut off the flow when air starts passing through the tube instead of water. I am limited to using sensors on the tubing itself.
I've been looking at IR and ultrasonic options but I wonder if the following is viable too (Have no flow meters to try it with)
The question I have is if a simple inline flow sensor like the YF-S201C would give me less pulses when air is going through the tube than it would when water is passing through? Like that i could stop the pump after x seconds of no water passing through.
Thank you for your thoughts on that :)