Complex emerges as the solution power supplies 24V / 20mA. In the concrete case, replacement of microswitch with capacitance probes, emerges the need for the power supply 24V. This solution honours the simplicity and low price. The additional complex has the built-in capacitance half-wave the pump (across 22uF). Pump gets rid of the achieving of voltage and sufficient current. If in the concrete usage would be the necessary larger exit current, then was able increase the value electrolytes 22uF and 470uF.
Being able the problem with the short-circuiting has been solved the connection of electronic fuses. Advantage of the such limits the current that the current short-circuiting multiple smaller from the nominal working current. Thus protects the complex from the possible temperature overheating when comes to the short-circuiting. Without electronic fuses current short-circuiting is 0,6A (transformer 5VA).
For the stabilizer uses LM317T. Advantage is in the tensional load alone difference between entry and exit voltage. Value of voltage before the stablizatora was able freightless will rise up to 40V.