![]() if P0.0 is HIGH, display the water level as “LOW” and continue to run the motor.Ī HIGH pulse on the pin P0.1 indicates that water has reached half level. If all the pins are low, then display tank as “EMPTY” on the LCD and make P0.7 pin HIGH to run the motor automatically. It is connected to the Relay and the input to the relay is fed from P0.7 through a transistor.Īlgorithm for Water Level Controller Circuitįirst configure the controller pins P0.0, P0.1 and P0.2 as inputs and P0.7 as output.Ĭontinuously check the water level input pins P0.0, P0.1 and P0.2. ![]() PORT1 of the microcontroller is connected to the data pins of LCD and the control pins RS, RW and EN of the LCD Display are connected to the P3.6, GND, and P3.7 respectively.įor demonstration purpose, we have used a simple DC Motor Pump. ![]() The Collector terminals of the Transistors are connected to VCC and the Emitter terminals are connected to PORT0 terminals (P0.0, P0.1, and P0.2). P0.0 for LOW level, P0.1 for HALF Level and P0.2 for HIGH Level. ![]() The water level probes are connected to the P0.0, P0.1, and P0.2 through the transistors (they are connected to the base of the transistors through corresponding current limiting resistors). The heart of the Water Level Controller using 8051 Microcontroller project is the AT89C51 Microcontroller.
0 Comments
Leave a Reply. |