Automatic Water Pump Controller (ON/OFF) using AT89C2051 microcontroller


Project Name: Automatic Water Pump Controller (ON/OFF).

Objective of Project:
Automatic Water Pump ON/OFF using P3 and P1 of AT89C2051 Microcontroller.

Circuit Diagram:






List of components:


SL
Name and Description
Quantity
1
MCU 89C2051
1
2
LED
2
3
Resistance 1K Ohm
4
4
Capacitors 30pf
(10 uf 50Volt(1),100uf 50Volt(1))
2
5
Crystal Q11.059A1
1
6
Voltage regulator 7805
1
7
Bread board
2
8
Connecting wires

9
Battery 9 Volt
1
10
Display
3
11
Transistor
3
12
Water
-


Flow Chart of Program:




Printout of Program:



Brief Description of Program:
We declare the bit P3.0 as Lo and bit P3.1 as Hi. Then we define the code for Pump ON and Display O. And define the code for Pump OFF and Display F. We send FF to P3 to make it as input. And we send C0 to P1 so that pump remains ON in case of exception. We connected +5V common in the water tank. So, if water touches Lo or Hi, it will get High Voltage (1). If none of the wires gets High, then pump will be ON and display O. If Lo gets High and Hi gets nothing, then pump will remain ON. If both wires get High, then pump will be OFF and display F. If Hi gets out of the touch of water and Lo stay connected to water, then pump will remain OFF. If both wires get nothing again, Pump will be turned On.

Achievements (Result):
If no water, pump ON. If half water, pump still ON. If full water, pump OFF. If water half again, pump still OFF. If the tank becomes empty again, pump will be turned ON.

See the project: https://youtu.be/f-zHtNEFIXg


Comments

  1. Nice blog dear... thank u for valuable blog. Solar Water Pump

    ReplyDelete
  2. Hello sir...... Best Solar pump with good quality. i also use dis solar pumps india. Thanks
    ........................................
    Solar Submersible Pump

    ReplyDelete
  3. Hello .... I see your blog, blog is awesome. i get the best details of solar water pump controller in your blog.
    ........................................
    Solar Pump Controller

    ReplyDelete

Post a Comment