I have peculiar problem where I can’t use a trap in some tube system. So I have to come up with another solution, involving some electrical engineering. The long explanation is below, but after some brainstorming, I think something like this is going to be the easiest solution:
1) Low-power water sensor that can handle dirt/dirty water (not get corrupted by it)
2) Low power microcontroller/Arduino board (something to read the input of the sensor and send output to the motor: protocol: water detected => deflate, inflate again after 5 minutes).
3) Balloon air pump that can reverse airflow (deflate balloon).
4) hi float balloon :)
5) some system to mount it in the pipe
6) maybe a pressure sensor to put in the balloon, if pressure gets too low --> inflate again
Recommendations on each component or other systems are very welcome! A pic of the problem in attach.
battery powered very simple low power programmable input output device: reading of a sensor, 0 or 1 output varying in time (e.g. on each input I, give a zero output for 3 minutes)
Any recommendations? Thanks!
Water sensor - programmable input/output device - motor/pump output
This problem may sound a bit weird, well, that's not because there are no other or better solutions that are easier in the technical sense. Let's just say that this particular option is the only one left because some people don't obey the law very well, and to make them obey, it would come at a higher cost than fixing it myself. Here it comes:
Two tubes of 13 centimeter diameter are connected in a T - junction at 90 degrees +- 1 meter under ground level. The vertical tube is about 80 cm long. There is a very slight airflow in the horizontal tube that needs to be limited or stopped at the uphill side. This is now done by manually pressing a foam ball in the T-junction. However, (sewer) water can flow from the uphill side of the horizontal tube. When water flows in the horizontal tube (uphill side only), it needs to pass the T-junction. This opening or closing of the T-junction at one side should be automated. Extra difficulty: this is a no AC power environment; batteries will have to be used (AA or 1/2/3s lipo's). Another difficulty: the whole automatic system should be lightweight, so it can be mounted inside the vertical tube without drilling, or without damaging it (e.g. some strong double sided tape, pu foam or the like, or it can be hung inside the tube be putting an extendable bar under tension in the tube).
So first I was thinking: some kind of cover that fits the tube, with a water sensor attached to it, some kind of super low power Arduino device, and some kind of low power motor. Now I’m thinking more like inflatable balloon option. However, as a psychologist/economist, I have no experience whatsoever with any of these three devices (I like to experiment though, and I can program).
Maybe balloon is easier to develop than motor idea (less fitting difficulties)!
about the components:
Pumps, but I need a source that sells to Europe per piece...:
and these sensors maybe?
And this board maybe?