Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Water Motor Control System with Water Level Indicator

Status
Not open for further replies.

shimanto

Newbie level 4
Joined
Aug 21, 2009
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Bangladesh
Activity points
1,325
I want to build a water motor control system which will display the level of water in an LCD. When the tank is full motor will be switched OFF automatically and when the water level is below a certain level, the motor will be switched ON. Please help me to build the circuitry :?:
 

You have to use Potentiometic float or eTape for sensing the liquid level. Check what ADC value you get for water low and high levels for Over Head Tank and water low level for SUMP. Two ADC channels are needed. If water in SUMP is not low and water in Over Head Tank (OHT) is low then turn ON pump. If water in OHT is high then turn OFF pump.


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
while(1) {
 
    sumpVal = adc_read(0);
    ohtVal = adc_raed(1);
 
    if(sumpVal > sumpLowVal) {
 
        if(ohtVal <= ohtLowVal) {
            //turn ON pump
        }
        else if(ohtVal >= ohtHighVal) {
            //turn OFF pump     
        }
    }
    else {
        //pump off
    }
 
}

 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top