An automated system leveraging an 8051 microcontroller to monitor and control rooftop water tank levels. It ensures water management efficiency and reduces manual intervention by automatically managing the motor pump based on water levels.
- Automated pump control based on water levels.
- Real-time feedback on system status via LCD display.
- Prevents water wastage and ensures adequate availability.
- Easy integration and scalability for IoT-based remote monitoring.
- Microcontroller: AT89C52 (8051 family)
- Sensors: Float sensors for water level detection
- Actuators: 5V DC submersible pump controlled via L293D motor driver
- Power Supply: 9V DC external source
- Others: LCD display, op-amp IC741, resistors, jumper wires
The firmware includes logic to:
- Read water levels from sensors.
- Control the pump based on defined operational states.
- Display real-time system status.
- Assemble the circuit as per the diagram.
- Flash the firmware onto the AT89C52 microcontroller using a compatible programmer.
- Power the system with the external DC source.
- Monitor and test the system under different water levels.
| Top Sensor | Bottom Sensor | Previous State | Current State |
|---|---|---|---|
| 0 | 0 | X | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 1 | X | 0 |

