Hall effect sensor as Toilet Tank Refiller

22,059

Circuit Image

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.

The described system utilizes a 12 Volt power supply sourced from either a solar panel or a wall-wart power adapter, ensuring flexibility in energy sourcing. The core functionality revolves around a water pump responsible for transferring water from a cistern located below the toilet tank to the tank itself. This operation is contingent upon the water level within the toilet tank, activating the pump when the tank is empty and deactivating it once the tank reaches its full capacity.

At the center of this control mechanism is a Panasonic hall effect sensor, which detects the presence of a magnetic field. The sensor's output behaves as a digital switch; it pulls low (to ground) when exposed to a magnetic field, indicating that the tank is empty and the pump should activate. Conversely, when the magnetic field is removed, the output returns high, signaling the pump to turn off once the tank is filled.

To implement this system, a basic schematic would include the following components: a 12 Volt power supply, the hall effect sensor connected to the control circuitry, a relay or transistor to drive the pump, and the pump itself. The hall effect sensor would be positioned such that a magnet attached to the float mechanism in the toilet tank activates the sensor when the water level is low. The relay or transistor would serve as a switch to control the pump's operation based on the sensor's output.

In terms of safety and efficiency, it is advisable to integrate a fuse in the power supply line to protect against overcurrent conditions. Additionally, using a diode across the relay coil can prevent back EMF from damaging the control circuitry when the relay is deactivated. Overall, this system design ensures reliable operation of the pump while maintaining energy efficiency in a sustainable manner.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 🔗 External reference