You are on page 1of 4

10/5/12

Water level controller using 8051.

Home About Datasheets Lab Manual Testing Components

Electronic Circuits and Diagram-Electronics Projects and Design


Search
Custom Search

Ads by Google

Water Level Switch

Controller

Electronic Circuit

Sump Pump Alarm

Water level controller using 8051


admin August - 7 - 2012 20 Comments

TI's LM5027
Voltage Mode Active Clamp PWM Controller for High Speed Operation www.ti.com

Water level controller using 8051.


A water level controller based using 8051 is shown in this article. A lot of water level controller projects have been published in this website but the is the first one based on a microcontroller. This water level controller monitors the level of the over head tank and automatically switches on the water pump when ever the level goes below a preset limit. The level of the over head tank is indicated using 5 leds and the pump is switched of when the over head tank is filled. The pump is not allowed to start if the water level in the sump tank is low and also the pump is switched off when the level inside the sump tank goes low during a pumping cycle. The circuit diagram of the water level controller is shown below. The level sensor probes for the overhead tank are interfaced to the port 2 of the microcontroller through transistors. Have a look at the sensor probe arrangement for the overhead tank in Fig1. A positive voltage supply probe goes to the down bottom of the tank. The probes for sensing 1/4, 1/2, 3/4 and FULL levels are placed with equal spacing one by one above the bottom positive probe. Consider the topmost (full level) probe, its other end is connected to the base of transistor Q4 through resistor R16. Whenever water rises to the full level current flows into the base of transistor Q4 which makes it ON and so its collector voltage goes low. The collector of Q4 is connected to P2.4 and a low voltage at P2.4 means the over head tank is not FULL. When water level goes below the full level probe, the base of Q2 becomes open making it OFF. Now its collector voltage goes high and high at P2.4 means the tank is not full. The same applies to other sensor probes (3/4, 1/2, 1/4) and the microprocessor understands the current level by scanning the port pins P2.4 ,P2.5, P2.6 and P2.7. All these port pin are high (all sensor probes are open) means the tank is empty. Port pin P0.5 is used to control the pump. When ever it is required start pumping, the controller makes P0.5 low which makes transistor Q6 ON which in turn activates the relay K1 that switches the pump. Also the LED d6 glows indicating the motor is ON. LED D7 is the low sump indicator. When the water level in the sump tank goes low, the controller makes P0.7 low which makes LED D7 to glow. The circuit diagram of the water level controller is shown in the figure below. Circuit diagram.

www.circuitstoday.com/water-level-controller-using-8051

1/10

10/5/12

Water level controller using 8051.

Water level controller using 8051 Program.


AM| S c p c d |? oy oe

MVP,1111B/ iiitsP a sno ipt O 2#1111 / ntae 2 s esr nu MVP,1111B/ iiitsP a teotu pr O 0#1111 / ntae 2 s h upt ot MVA#0000 O ,0000B MI:CL SPK/ cek telvlo tesm tn ANAAL MC / hcs h ee f h up ak MVAP / mvstecretsau o P t A O ,2 / oe h urn tts f 2 p CN A#1100,AE1/ cek wehrtn i fl JE ,1100BLBL / hcs hte ak s ul ST P. EB 01 ST P. EB 02 ST P. EB 03 ST P. EB 04 CRP. / gosfl lvlLD L 00 / lw ul ee E ST P. EB 05 LBL:O AP AE1MV ,2 CN A#1100,AE2/ cek wehrtn i 34 JE ,1110BLBL / hcs hte ak s / ST P. EB 00

www.circuitstoday.com/water-level-controller-using-8051

2/10

10/5/12

Water level controller using 8051.

ST P. EB 02 ST P. EB 03 ST P. EB 04 CRP. / gos34lvlLD L 01 / lw / ee E LBL:O AP AE2MV ,2 CN A#1110,AE3/ cek wehrtn i 12 JE ,1110BLBL / hcs hte ak s / ST P. EB 00 ST P. EB 01 ST P. EB 03 ST P. EB 04 CRP. / gos12lvlLD L 02 / lw / ee E LBL:O AP AE3MV ,2 CN A#1110,AE4/ cek wehrtn i 14 JE ,1111BLBL / hcs hte ak s / ST P. EB 00 ST P. EB 01 ST P. EB 02 ST P. EB 04 CRP. / gos14lvlLD L 03 / lw / ee E J P.,AE4 B 06LBL CRP. / sice mtrO L 05 / wths oo N LBL:O AP AE4MV ,2 CN A#1111,AN/ cek wehrtn i epy JE ,1111BMI / hcs hte ak s mt ST P. EB 00 ST P. EB 01 ST P. EB 02 ST P. EB 03 CRP. / gosEPYLD L 04 / lw MT E J P.,AN/ cek wehrsm i lw B 06MI / hcs hte up s o CRP. / sice mtrO L 05 / wths oo N SM MI JP AN SPKJ P.,AE5/ cek wehrsm i lw MC:B 06LBL / hcs hte up s o

www.circuitstoday.com/water-level-controller-using-8051

3/10

10/5/12

Water level controller using 8051.

ST P. / etnuse tesm lwidctrLD EB 07 / xigihs h up o niao E SM LBL JP AE6 LBL:EBP. / sice tepm OF AE5ST 05 / wths h up F CRP. / gossm lwidctrLD L 07 / lw up o niao E LBL:E AE6RT ED N

Water Level Meters www.enoscientific.com


No more broken water level tapes! Try our acoustic meters risk free.

Light Controller Made-in-China.com/Light_Controller


China Light Controller Supplier. Contact us for More Details!

Thin-Film Pressure Sensor www.Tekscan.com/Pressure-Sensors


Measure Tactile Pressure and Force. Request a Free Custom Quote!

Metrix Setpoint Machinery www.metrixsetpoint.com


Protection System is alternative to older 3300 rack monitors

You may also like:


Voltmeter using 8051 Interfacing ADC to 8051

We recommend:
Remote Control Circuit Through RF Without Microcontroller Signal tracer circuit. Recycle your old electronic goods Announcing Winner of Suggest a Topic to Publish Contest Thin Film Solar Cell
Search
Custom Search

Posted in 8051 projects Tags: water level controller

Leave a Reply
Name (required) Mail (will not be published) (required) Website

www.circuitstoday.com/water-level-controller-using-8051

4/10

You might also like