12 Volt Toilet Tank Refiller

(C) G. Forrest Cook November 24, 2002 Rev 2: August 28, 2003.

This project can be used with a CirKits solar circuit kit.


The 12V pump on the side of the cistern


The rev 1 circuit in action


The rev 2 circuit board and sensor


The schematic

Introduction

A flushing toilet is something that most city dwellers take for granted, but it can be a luxury for those who live far away from utility water and electricity. This circuit controls a small 12 Volt pump that is used to fill a toilet tank from an external rainwater collection cistern. Automotive windshield wiper pumps work nicely in this application. 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.

Specifications

Nominal operating voltage: 12V
Idle current: < 1 ma
Pump Current: < 5A

Theory

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 via the 10K pull up resistor. This turns on the IRFZ34N MOSFET transistor, which pulls the negative lead of the 12V pump to ground, turning on the pump. The LED is also turned on.

The 1N4004 diode snubs out potential spikes from the motor, and the 1000uF capacitor across the motor eliminates motor brush noise from the DC wiring. The 100uF capacitor filters noise from the 12V power source. As with all electrical circuitry, it is important to have a fuse and a switch in series with the power source, that is not shown in the schematic.

The 10 amp silicon diode is used in a crowbar circuit. Its purpose is to protect the circuit from reverse DC polarity on the power terminals. Reverse polarity causes the fuse to blow.

This circuit will work with most momentary action (non-latching) hall effect sensors, you may want to experiment with the sensor and magnet to find the most sensitive orientation for both parts.

Construction

The rev 1 version of this circuit had all of the parts inside of the toilet. This turned out to be a bad idea as water splashed onto the board and electrolysis corroded the electrical connections.

Rev 2 involved splitting the circuit into two parts, the hall effect sensor assembly, and the rest of the electronics. The hall effect sensor was soldered to a small piece of circuit board, that was then screwed onto a piece of plumbing strap. The entire sensor assembly was then coated in epoxy glue to make it waterproof. A 100nF capacitor was connected from pins 1-3 on the hall effect sensor and also covered with epoxy, it reduces the chance of the sensor picking up stray radio signals.

The rest of the circuit was built on another circuit board, that was mounted on a cover plate for a standard 4"x4" electrical box. Wires from the box connect to the sensor, the pump motor and the 12V supply.

The magnet was connected to the toilet tank float with duct tape. A better magnet mount could certainly be fashioned, but this arrangement has held up for many years. Sometimes it is necessary to cheat when working in the field. The magnet was removed from an old miniature speaker. The voice coil gap around the magnet's pole-piece was filled with silicone sealant to prevent rust. People in damp climates may want to coat the entire magnet with epoxy paint or silicone caulk.

The pump inlet is connected to a valve and reducer assembly at the bottom of the cistern tank. The pump outlet travels through a short section of conduit, into the building, and into the toilet tank via a piece of bent copper tubing. The pump inlet should be near the bottom of the supply tank, it is a good idea to run the water source through a filter made with some metal screen in a PVC pipe to prevent debris from clogging the pump. The copper tubing output in the toilet tank should be above the tank's full water level, this prevents back-siphoning.

The pump output tube and wiring is built with connectors so that the pump can be removed when the building is unoccupied. A more permanent installation can be done by mounting the pump in a metal box on the side of the building.

Alignment

Bend the metal strap that holds the sensor board so that the hall effect sensor is directly above the magnet. Adjust the height of the PC board so that the circuit shuts off at the desired water level.

Use

Flush the toilet, the red LED will light up, and the pump will move water into the toilet tank. As soon as the water level reaches the top, the pump will shut off. Just like in the city. If you want to use this device in an area where the temperature gets below freezing, the water supply, pump, and water tubing will need to be mounted in an area that does not freeze, such as underground. This circuit has been in use for many years, it sure beats hauling buckets of water from the rainwater collection system.

Failure Modes

I have gone through a number of different pumps, mostly due to operation at temperatures below the freezing point of water. Applying power to a frozen pump will cause the pump motor to burn out. The rest of the circuit has managed to survive this abuse, a properly sized fuse may protect the motor from this problem. A useful revision to this circuit would be to include a cut-off circuit that prevents the motor from running when the outside temperature drops below freezing. This problem was greatly reduced by moving the pump indoors to a location where the pump did not freeze. Freezing of the supply tube is still an issue.

Another failure can occur if the supply tank runs dry. In this situation, the pump will run continuously and the motor commutator will eventually wear out. This problem could be corrected by either adding a pressure switch to the water line, or adding a timer that shuts off the motor power after a few minutes of operation.

Parts Sources

Jameco 1-800-831-4242 http://www.jameco.com/ 
Digi-Key 1-800-DIGIKEY http://www.digikey.com/ 
A 12V automotive windshield wiper fluid pump is suitable for use with this circuit. These can be found on eBay or at an automotive junk yard. A "universal replacement" style of windshield washer pump can often be found at an auto parts store, such a device is suitable for this application.
Back to FC's Solar Circuits page.