Sanika D. Gaikwad,
Sakshi A. Chavan,
Mayuri V. Jadhav,
Rutuja K. Shinde,
A.C. Jadhav,
- Student, Department of Computer Engineering, Shri Chhatrapati College of Engineering, Pune, Maharashtra, India
- Student, Department of Computer Engineering, Shri Chhatrapati College of Engineering, Pune, Maharashtra, India
- Student, Department of Computer Engineering, Shri Chhatrapati College of Engineering, Pune, Maharashtra, India
- Student, Department of Computer Engineering, Shri Chhatrapati College of Engineering, Pune, Maharashtra, India
- Professor, Department of Computer Engineering, Shri Chhatrapati College of Engineering, Pune, Maharashtra, India
Abstract
Tank Water quality is a critical factor for public health, agriculture, as well as industry. Continuous monitoring of tank water quality: temperature, humidity, water level, CO2 concentration, and pH, is vital for safe usage. Using machine learning, real-time data analysis can detect anomalies, predict issues, and optimize water management, ensuring timely responses and improved safety. This intelligent approach enhances decision-making and maintains water quality effectively in various environments.We develop an IoT-based system using ESP32/Node MCU and multiple sensors to monitor water parameters in a tank. The Python Flask web application is used to retrieve the gathered data once it has been sent to the Firebase cloud platform. A machine learning algorithm, specifically a Decision Tree Classifier (DTC) and Convolution Neural Network (CNN), is employed to predict water quality based on the gathered data and showing the quality of water. If poor water quality is detected, the system provides suggestions for precautionary measures to improve water conditions. This approach offers real-time, automated water quality analysis and can be easily expanded for large-scale applications in smart water management systems.
Keywords: Tank water quality analysis, ESP32, Node MCU, humidity sensor, DHT11, ultrasonic sensor, CO2 gas sensor, pH sensor, Firebase, Wi-Fi, Python Flask, machine learning, Decision Tree Classifier algorithm, water quality prediction, IoT sensors, data transmission, data fetching, precaution system, water monitoring, real-time analysis, Flask web
[This article belongs to Journal of Control & Instrumentation ]
Sanika D. Gaikwad, Sakshi A. Chavan, Mayuri V. Jadhav, Rutuja K. Shinde, A.C. Jadhav. Tank Water Quality Analysis Using Machine Learning. Journal of Control & Instrumentation. 2025; 16(02):27-34.
Sanika D. Gaikwad, Sakshi A. Chavan, Mayuri V. Jadhav, Rutuja K. Shinde, A.C. Jadhav. Tank Water Quality Analysis Using Machine Learning. Journal of Control & Instrumentation. 2025; 16(02):27-34. Available from: https://journals.stmjournals.com/joci/article=2025/view=0
References
1. Saravanan K, Anusuya E, Kumar R, Son LH. Real-time water quality monitoring using Internet of Things in SCADA. Environ Monit Assess. 2018 Sep; 190(9): 556.
2. Huang S, Xia J, Wang Y, Lei J, Wang G. Water quality prediction based on sparse dataset using enhanced machine learning. Environ Sci Ecotechnology. 2024 Jul 1; 20: 100402.
3. Solanki A, Agrawal H, Khare K. Predictive analysis of water quality parameters using deep learning. Int J Comput Appl. 2015 Sep; 125(9): 29–34.
4. Vergina SA, Kayalvizhi S, Bhavadharini R, Kalpana Devi S. A real time water quality monitoring using machine learning algorithm. Eur J Mol Clin Med. 2020; 7(8): 2035–41.
5. Khan Y, See CS. Predicting and analyzing water quality using machine learning: a comprehensive model. In 2016 IEEE Long Island Systems, Applications and Technology Conference (LISAT).2016 Apr 29; 1–6.
6. Jibrin AM, Al-,J,,,,Sammen SS. Machine learning predictive insight of water pollution and groundwater quality in the
Eastern Province of Saudi Arabia. Sci Rep. 2024 Aug 28; 14(1): 20031.
7. Hu XC, Dai M, Sun JM, Sunderland EM. The utility of machine learning models for predicting chemical contaminants in drinking water: Promise, challenges, and opportunities. Curr Environ Health Rep. 2023 Mar; 10(1): 45–60.
8. Zhu M, Wang J, Yang X, Zhang Y, Zhang L, Ren H, Wu B, Ye L. A review of the application of machine learning in water quality evaluation. Eco-Environ Health. 2022 Jun 1; 1(2): 107–16.
9. Ahmed AN, Othman FB, Afan HA, Ibrahim RK, Fai CM, Hossain MS, Ehteram M, Elshafie A. Machine learning methods for better water quality prediction. J Hydrol. 2019 Nov 1; 578: 124084.
10. Valarmathi K, Vinoth R, Sneka T, Srinivethitha S, Venkadeswari V. Machine learning based automatic water tank cleaner. In: Kaur S, Kamboj S, Kumar M, Dagur A, Shukla DK, editors. Computational Methods in Science and Technology: Proceedings of the 4th International Conference on Computational Methods in Science & Technology (ICCMST 2024), 2–3 May 2024, Mohali, India. Volume 1. London (UK): CRC Press; 2024. p. 7. doi: 10.1201/9781003501244-26.
11. Lowe M, Qin R, Mao X. A review on machine learning, artificial intelligence, and smart technology in water treatment and monitoring. Water. 2022 Apr 24; 14(9): 1384.

Journal of Control & Instrumentation
| Volume | 16 |
| Issue | 02 |
| Received | 01/04/2025 |
| Accepted | 25/04/2025 |
| Published | 16/05/2025 |
| Publication Time | 45 Days |
[first_name] [last_name]