I am making a Water Level Controller project from talkingelectronics.com website:
http://www.talkingelectronics.com/projects/100%20IC%20Circuits/1-100_IC-Ccts.html#WaterLevelPDF with more detailI have tried several circuits I found on the Internet, but they are usually unreliable or doesn't suit my needs. I then found this circuit on Colin Mitchell's website which is exactly what I needed. I liked the design because:
- The signal for sensing water is AC, which prevents/reduces electrolysis on the probes
- The relay first turns on, pumping water and when the Medium sensor is triggered and then High level is triggered again, the relay turns off.
- If water falls below High level, the relay is not turned on again. Only when water falls below the Medium sensor, pump will be turned on again. This prevent the pump from turning on and off when water is used.
I tested this first on a circuit simulator from
http://www.falstad.com/circuit/. Since I cannot get it working with a value of 47K for the R14 (connected to Pin 10 of LM324), I substituted it with a 680R (same as the R5 value connected to Pin 5 of LM324) which works as expected. I also removed the switch, directly connecting the R21 (10K) to the base of the first transistor S8050 and directly connecting the base of the second transistor to the collector of the first transistor. Please see attached image for full schematic of my project.
Schematic DiagramI then build it on a breadboard which worked fine. Then I designed a board using EagleCAD, etched a circuit board and everything worked fine when tested on with a small amount of water in a bowl.
This morning I began installing it with the sensors on the overhead water tank on my house and the controller near the pump. I used an old Cat5 cable to connect the sensors with the controller which is about 10 meters apart. The individual wire is single cored about 24AWG. I checked the wires first with my multimeter and they were all good. I tied the ends of the sensor wires on a long piece of small plastic pipe so the the wires wouldn't float. When testing the controller before submerging in the water, it still worked fine. Please note while installing, the overhead tank is already half full, meaning that the Medium level sensor is already submerged.
Now the problem is that, when I turn on the controller with the sensors in the tank, the high level would be triggered even though it is way above the water level. Sometimes the high level would be triggered momentarily and sometimes it stays on. And because of the design, if medium level and high level are triggered, the relay (pump) cannot be turned on.
I then tried turning off and on again several times. Maybe once out of 6/7 tries, the high level is not triggered and the relay (pump) turns on, but the rest of the attempts are unsuccessful. After the tank is full, the relay is turned off as expected.
I really don't understand why the high level sensor is falsely triggered. I don't have any testing equipment or tools (other than a multimeter), and since I am a beginner in electronics I don't really know how to troubleshoot even if I have. So any help would be greatly appreciated.