The 12 Volt power in my application comes from a small solar power system, it may also be provided by a suitable wall-wart DC power supply. The cistern is located below the toilet tank, the pump moves the water up to the toilet`s tank. The pump is switched on when the toilet tank is empty, it is switched off when the tank has filled.
The Panasonic hall effect sensor is the heart of the system. The hall effect sensor`s output pulls to ground when in the presence of a relatively strong magnetic field. When the magnet is pulled away from the hall effect sensor, the output goes high