This paper presents a device for measuring and maintaining the constant water level in a tank. The device uses a capacity sensor to measure the water level. The sensor has a DC voltage output proportional to the water level in the tank. This voltage can be used in other automation too. The water level, in percentages, is displayed on a vu meter with 8 LEDs. The circuit for maintaining the constant level consists in a comparator with hysteresis. The level of the water is adjustable, using a reference voltage from a potentiometer (marked in percentages). The level of the water is compared with the prescribed level and the difference between them commands the start/stop of the water pump which supplies the tank through a relay. The device is powered by 220 V and is isolated from the environment.