Development of Microcontroller Based Water Quality Monitoring and Water Level Control Device

  • Nnamdi S. Okomba Department of Computer Engineering, Federal University Oye-Ekiti, Ekiti State, Nigeria
  • Adebimpe O. Esan
  • Bolaji A. Omodunbi
  • Sobowale A. Adedayo
  • Fajimi D. Iyoaye
  • Lois O. Nwobodo
  • Ujunwa I. Nduanya


Access to clean and safe water is not only a fundamental human right but also a vital requirement for electronics industries, chemicals industries, pharmaceuticals, food and beverage production, fisheries and aquatic farming. This project addresses the pressing issue of water quality monitoring and efficient water usage within the context of these industries. The study's identification of problem areas for water quality can lead to more efficient interventions and solutions to safeguard the environment, and prevent waterborne diseases. This paper presents the design and implementation of microcontroller-based system for monitoring water quality and water level in the thank, the water in the thank is refilled when it goes beyond a set threshold with the aid of an automatic switch control. The system is a hybrid of 3 subsystems: a Water Level Checker, a Water Quality Monitoring System and an Automatic Switch control system. The Water level checker consists of Ultrasonic sensors. The Water Quality Monitoring system consists of pH sensors, TDS (Total Dissolved Solids) sensors and Turbidity sensors. The continuous (Analog) data from the water quality sensors used would be outputted via an LCD (Liquid Crystal Display). The Automatic Switch control system consists of 5v Relay modules and a 12v Pump that would automatically switch ON/OFF depending on the level of water in the tank. The values of EC (Electrical Conductivity) and TDS spike drastically to the introduction of salt from as low as 138 -906 for TDS and 0.34 – 2.04 for EC, signifying increase in water capacity of electrical conductivity. Temperature rise in the afternoon also increases TDS values from 142 for clean water to 920 for the salty water while it ranges from 138 for clean water to 906 for salt water at both morning and evening time. 


Prasad A. N, Kabir Al Mamun, Islam F. R., and Haqva H., (2015), Smart Water Quality Monitoring System, Conference: 2nd IEEE Asia Pacific World Congress on Computer Science and Engineering, Fiji Islands. DOI:10.1109/APWCCSE.2015.7476234

Abdolmajid Fadaei and Mehraban Sadeghi, (2014), Evaluation and Assessment of Drinking Water Quality in Shahrekord, Iran, Resources and Environment, vol 4(3), pp168-172, DOI: 10.5923/

Akanksha Purohit, and Ulhaskumar Gokhale. (2014). Real Time Water Quality Measurement System based on GSM, IOSR Journal of Electronics and Communication Engineering (IOSR-JECE), vol 9(3), pp63-67. DOI:10.9790/2834-09356367

Arvin Anthony S. Araneta, D. (2022). Design of an Arduino-Based Water Quality Monitoring System. IJCSMC, Vol. 11(3), pp152-165. DOI:

Banna M H, Imran S, Francisque A, Najjaran H, Sadiq R, Rodriguez M and Hoorfar M (2014). Online drinking water quality monitoring: Review on available and emerging technologies, Critical Reviews in Environmental Science and Technology, vol 44(12), pp1370-1421. DOI:10.1080/10643389.2013.781936

Gaikwad M. A., and Vaishnavi V. Daigavane, (2017), Water Quality Monitoring System Based on IOT, Advances in Wireless and Mobile Communications, Vol 10(5), pp1107-1116

Mohd Aminudin Jamlos, Suthan Subramaniam, Wan Azani Mustafa, and Syed Zulkarnain Syed Idrus, (2023), Water quality monitoring system using Raspberry Pi, AIP Conference. Proceedings. Vol 2608(1),

Geetha S., and Gouthami S., (2017), Internet of things enabled real time water quality monitoring system, Smart Water, vol 2(1), R E V I E W Open Access, DOI 10.1186/s40713-017-0005-y

Vijayakumar, M., & Aravindhan, K. (2016), Automatic water level controller and motor pump starter using GSM. International Journal of Electrical and Electronics Research, vol 4(2), 43-47.

Hutton, G. 2012. Global costs and benefits of drinking-water supply and sanitation interventions to reach the MDG target and universal coverage. WHO/HSE/WSH/12.01.

Joby T. Titus T., Vishnu Vardhan J., Sivanesan S., Rishi M. (2021), Aqua Monitoring System for Fish Farming using Raspberry pi, International Journal of Innovative Research in Science, Engineering and Technology (IJIRSET), Vol 9(9), pp 8181-8185.

Okomba, N. S., Esan, A. O., Omodunbi, B. A., Sobowale, A. A., Adanigbo, O. O. and Oguntuase, O. O. (2023), IOT BASED SOLAR POWERED PUMP FOR AGRICULTURAL IRRIGATION AND CONTROL SYSTEM, FUDMA Journal of Sciences (FJS), Vol. 7(6), pp 192–199, DOI:

Andrew D. E., Lenore S. C. and Arnold E. G. (1995), Standard Methods for the Examination of Water and Wastewater, 19th edn. American Public Health Association, American Water Works Association and Water Environment Federation, Washington, DC, USA