loading

You can see the working of this controller explained in the lovely diagram...

Its a simple controller, which would help to turn the water pump on, when your water tank is empty, and will turn it off when the tank gets full, and will keep it turned off until the tank is empty...

Step 1: Working

The lower sensors acts as the 'J' input and the upper sensor acts as the 'K' input in the J-K flipflop...

the working of both the sensors is opposite, i.e. the upper sensor gives output 1 when the water is detected, and the lower sensor gives output 0 when the water is detected...

With this kinda sensing, we can predict the JK flipflop's output as-

when there is water on both sensors, input = 0 1, output = 0 = motor off

when water is coming down after filling up, input = 0 0, output = 0 = motor off

when water comes below the lower sensor, input = 1 0, output = 1 = motor on

when water starts rising from the lower sensor, input = 0 0, output = 1 = motor on

when there is water on both sensors, input = 0 1, output = 0 = motor off

Step 2: The Circuit

The circuit works on 12v dc power supply, which you can give from a 12v DC adapter...

The circuit is built around 3 main ICs-

LM358 - dual comparator - sensing IC

NE555 - timer ic - clock pulse generator

7473 - JK flipflop - the controller/brain

You can see the components and the connections as per given in the circuit...

The components you will need to build this circuit are -

-12v dc jack female

-1x(100uf or 200uf or 500uf or 1000uf) + 1x10uf capacitor

-7805 volt regulator + heat sink

-2x 500k potentiometer

-2x 47k ohm resistor + 2x 470 ohm resistor +1x 330 ohm + 1x 270 ohm + 1x 100ohm + 2x 10k ohm resistor

-LM358 IC + base

-LM555 IC+base

-7473 IC + base

-1x diode

-12v relay = heavy duty according to motor

-2x red led + 1x green led + 1x yellow led

-1x BC547 transistor

-12cmx12cm prefboard

-12v DC adopter

correction - the pin 2 and 6 are connected in the 555 IC in the circuit.
also do connect the Vcc and Ground of all the ICs, you will easily get the pin configuration of the ICs on google...

its grate job very usefull for biginers
<p>I am planning to try this circuit and wanted to know what kind of sensor need to be used with this circuit? </p><p>Thanks!</p>
<p>I want to try this..but may I know what LED do when running sir..? do they flip-flop when relay start pump &quot;On&quot; or else..coz i'm beginner here..thanx for information:-) </p>
<p>nice circuit. </p><p>i need little help. actually we have utilitiy water supply problem in my area. there is no timing of water supply. so i want a circuit to start my pump after every 30 minutes if water comes the motor continue to run if water not come motor stop after 1 or 2 minute. any body plz help me</p><p>Thanks</p>
It's good to see someone designing logic circuits rather than just using a micro controller. I've been using float sensors like this http://www.aliexpress.com/item/1pc-Aquarium-Tank-Liquid-Water-Level-Sensor-Gloat-Switch-Black/32382169231.html<br>They won't get dirty and will also work with fluids other than water.
hi i made this ckt and its not working...7473 ic's 13 th pin is connectd to something or is it open?
<p>you need to give +ve and -ve voltage of every IC</p><p>and pin 2 and 6 of IC 555 are connected...</p>
yeah the pin is open, it is not connected to anything..<br><br>this circuit is fine, recheck your circuit<br>if you are still unable to debug it, then upload the pics of your circuit... i will see them...
<p>thanks for sharing. I think the circuit diagram shows using the first half flip flop while you used the second half, isn't it?</p>
yes I used just one flip flop
Hello sir ...u have any video of this project ? Means designing video.
sorry I didn't make any video of it...
<p>Could you tell me its cost.. ??</p>
I paid about 300rs = 4.5USD for all the components.
500k potentiometer or some other value?
<p>10k to 1Meg any potentiometer will work fine... </p><p>and it is also not necessary to have same pots both sides too...</p>
What is voltage rating of capacitor used?
<p>you can use any voltage actually, 16v, 25v or any other.... it doesnt matter much...</p>
What is voltage rating of capacitor used?
<p>Hi samartist</p><p>How does this circuit protect the pump from dry running. <br>Is there any other circuit which can identify dry running of the pump and which can immediately stop the pump. I would like to add dry running protection also add this circuit... Please help me.. </p>
<p>there can be many things done in this circuit to see if the motor is running dry or not. One of the solution is that when a motor gets turned on, start a timer and if the motor stays on for more than expected time then we can switch off the motor and change the state of the system.</p>
<p>Thanks </p><p><a href="https://www.instructables.com/member/Samartist/" rel="nofollow"></a><a href="https://www.instructables.com/member/Samartist/" rel="nofollow">Samartist</a> for your replay....</p>
<p>How to detect motor &quot;dry run&quot; by using this circuit ? Please add the dry run detection section also in this circuit .... </p>
<p>Hi samartist ! I am new to the world of electronics and wish to make a similar circuit. Could you please help in suggesting a simple, cheapest, durable and an automated solution (with maximum safety) for prototyping the circuit below? Thank You !</p><p>I have two AC motors, one for storing water in underground tank and the other for filling up overhead tank.</p><p>I start storing water in the underground tank once it comes during designated timings on alternate days only and it takes 8-10 hrs for tank to fill completely.</p><p>Sometimes it even happens that pump for underground tank is left running (not knowingly) and the water supply from utility during the designated timings is over while filling up the tank. In this scenario, the motor uselessly runs, until someone physically see the the flow of water and then switches it off.</p><p>After I see that there is substantial amount of water present in the sump, then only i switch on the other motor to fill up overhead tank or it would burn down the motor. The tank fills up in 90mins, if it's completely empty. In this scenario too, one has to be there in time to switch off the motor once it has filled up completely to prevent overflow.</p><p>For this circuit, I would like to know the level of water using 5 LED indicators (EMPTY, 1/4, 1/2, 3/4, FULL) for both of my tanks.</p><p>More importantly, a manual switch in the circuit would be its plus point. So that if the circuit is malfunctioning, I would be able to connect the motors directly to mains.</p><p>Both are 2 HP motors and operate in 220V AC.</p>
OK i will think about your scenario... tell me can you work with microcontrollers?<br>
<p>Thank you for your support. Unfortunately, I don't know to work with microcontroller :/</p>
<p>i advice you to learn some circuit concepts...and things about microcontroller... then you can easily solve your problem...</p><p>i work on one of the cheapest microcontroller set = MSP430 Launchpad</p><p>you should learn stuff about this, and a simple comparator based water level indicator circuit too...</p>
<p>Thank you so much samartist for your reply...</p>
Dear author I don't get a few things as the ckt pic is not clear.what is the need of potentiometer here??and why have u wrttn PE instead of grnd??PE is bit confusing...Thankyou man for sharing such a great project with us bt if more description of the working of opamp and other ics will be given then I think I can do this for my home.actually the main problem is the quality of the photo is not good.so having difficulty to understand watching a cracked pic.if u can get a better quality pic then I will be very much helpful for me and others who r thinking to do this.once again thankyou so much for sharing this :)
potentiometers are there to set the sensitivity of the water sensor part...<br><br>and PE is nothing... it is same as ground....
What is the point of the comparators? Couldn't you just feed the sensor inputs into an unclocked flip-flop and cut your complexity in half while getting rid of 2 ICs?
<p>the work of the LM358 is that it gives output either 1 = 5v or 0 = 0v, if we feed the sensor directly input into the flipflop, then it wont be 0/1 but it will be in between these two...</p><p>the work of the clock is that it helps to save the input, the flip flop saves the input only on the rising edge or falling edge of the clock pulse, so we need to give it the rising edge constantly to feed in the inputs into the flipflop...</p>
Okay, I was assuming the sensor was just a switch with a pull-up resistor, if not then yeah I can see you would need the comparators. For the flip-flop, what I meant was that you can get a JK flip-flop that doesn't require a clock since you don't actually care about the timing.
<p>if you will not give it the clock pulse, then the JK flip flop will not work... it will give undesired output with nothing as the clock input...</p>
<p>You would use a S-R or J-K latch instead of a clocked flip-flop. your circuit up to the transistor could be simplified to this schematic.</p>
<p>i didnt have a NAND or NOR gate IC, so i didnt try it, you should try it in breadboard, and then see if it works, then only we should make any decision about it, But your scheme seems pretty convincing to me, but i can't say anything before seeing the physical implementation...</p>
Yes, these things always look better on paper ;)
<p>if you will not give it the clock pulse, then the JK flip flop will not work... it will give undesired output with nothing as the clock input...</p>
<p>there are a lot of circuits in the internet to do this stuff, but this is the best circuit, it is very secure and works everywhere...</p><p>all the other circuit are made of just 1 or 2 ICs, but they dont work as desired, whereas this is very neat and robust...</p>
how about a complete parts list?
<p>i have added the list in the instructable, you can see it now...</p>
<p>Very cool circuit!</p>

About This Instructable

36,546views

110favorites

License:

More by Samartist:2-Bit Arithmetic and Logic Unit Handheld Gameboy - Using Arduino (with Snake Game) Clap Switch 
Add instructable to: