In the country or the plot is always required to have a supply of water for domestic needs. Keep the tank in the shower or reservoir for watering the plants and filled to the required level will help you simple electronic machine.
Consider the operation of the device over the concept. If water is not available or its level reaches sensor E2, when you turn on the switch Q1, the transistor VT1 is closed, relay K1 is de-energized, and through its NC contact pair K1.2 AC voltage goes to the pump motor, pumping water into the tank. Once the water level reaches sensor E2, the base circuit of the transistor closes, and it opens. Will trigger the relay and opens the contact K1.2, thereby breaking the supply circuit of the motor of the water pump. At the same time contact pair K1.1 connects to the base VT1 sensor E3, providing the open state of the semiconductor device until then, until the water level (if used) will not fall below the sensor E3 (or E1) and the cycle of water injection again. The diode VD2 eliminates inductive interference that occurs when the relay K1. When you turn off Q1, the regulator takes out the pump pumping the water stop.