Design Of A Hybrid System For Automated Monitoring And Control Of Water Levels In Tanks Utilizes PIC16F877A HC-SR04 And LCSA6 Sensors

Authors

  • Tahani Abdalmawla Department of Computer Science, Faculty of Science, University of Omar Al-Mukhtar, El-Bieda, Libya Author
  • Masouda Mohammed Department of Computer Science, Faculty of Science, University of Omar Al-Mukhtar, El-Bieda, Libya Author
  • Othman Mohammed Higher Institute of Science and Technology, Electrical Engineering, Control System, Cyrene, Libya Author

DOI:

https://doi.org/10.58916/jhas.v11i1.1084

Keywords:

HC-SR04 sensor, LCD display, LCSA6 sensor, C language, PIC16F877A

Abstract

This paper presents the design, simulation, and evaluation of a monitoring and automatic control system utilizing the PIC16F877A microcontroller. The simulation is offering a system for monitoring and managing the level of water in both the overhead and lower tanks. The ultrasonic sensor (HC-SR04) and the conductive probes (LCSA6) are attached to the overhead and lower storage tanks respectively. This hybrid sensing method affords accuracy and reliability across several applications. The liquid crystal display (LCD) provides the situation for both tanks in real-time. It displays in the first line the continuous upper sensor readings "water level" of the overhead tank and the second line demonstrates the discrete values of water level of the lower storage tank. An automated pumping mechanism ensures the overhead tank continues at the desired level (10% - 100%), with consideration stopping dry running of the pump by tracking the lower tank's water availability (water level >2%). The system's design emphasizes efficiency, reliability, and protection of pumping infrastructure. The PIC16F877A microcontroller serves as the important processing unit, managing sensor records acquisition, processing, and controlling a liquid pump via a transistor-relay circuit. The firmware is written in C language using MikroC Pro for the PIC, and the simulation is performed via Proteus software. The simulation shows the system's capacity to reveal the water level in tanks, respond directly to adjustments, and successfully alter the water pump, thereby preventing overflow and depletion. This paper details the design technique, including hardware interfacing and software. The paper additionally provides recommendations to enhance performance and expand applicability. 

Downloads

Download data is not yet available.

Downloads

Published

2026-06-25

Issue

Section

Applied Sciences

How to Cite

Tahani Abdalmawla, Masouda Mohammed, & Othman Mohammed. (2026). Design Of A Hybrid System For Automated Monitoring And Control Of Water Levels In Tanks Utilizes PIC16F877A HC-SR04 And LCSA6 Sensors. مجلة جامعة بني وليد للعلوم الإنسانية والتطبيقية, 11(1), 152-161. https://doi.org/10.58916/jhas.v11i1.1084

Most read articles by the same author(s)

1 2 3 4 5 6 7 8 9 10 > >> 

Similar Articles

1-10 of 61

You may also start an advanced similarity search for this article.