Related Experiment Video
Updated: Jun 4, 2025

Continuous Hydrologic and Water Quality Monitoring of Vernal Ponds
Published on: November 13, 2017
An Optimal Internet of Things-Driven Intelligent Decision-Making System for Real-Time Fishpond Water Quality
Saima Kanwal1,2, Muhammad Abdullah3, Sahil Kumar4
1Engineering Research Centre of Optical Instrument and Systems, Ministry of Education and Shanghai Key Lab of Modern Optical System, University of Shanghai for Science and Technology, No. 516 Jun Gong Road, Shanghai 200093, China.
Abstract:
Smart fish farming faces critical challenges in achieving comprehensive automation, real-time decision-making, and adaptability to diverse environmental conditions and multi-species aquaculture. This study presents a novel Internet of Things (IoT)-driven intelligent decision-making system that dynamically monitors and optimizes water quality parameters to enhance fish survival rates across various regions and species setups. The system integrates advanced sensors connected to an ESP32 microcontroller, continuously monitoring key water parameters such as pH, temperature, and turbidity which are increasingly affected by climate-induced variability. A custom-built dataset comprising 43,459 records, covering ten distinct fish species across diverse pond environments, was meticulously curated. The data were stored as a comma-separated values (CSV) file on the IoT cloud platform ThingSpeak and synchronized with Firebase, enabling seamless remote access, control, and real-time updates. Advanced machine learning techniques, with feature transformation and balancing, were applied to preprocess the dataset, which includes water quality metrics and species-specific parameters. Multiple algorithms were trained and evaluated, with the Decision Tree classifier emerging as the optimal model, achieving remarkable performance metrics: 99.8% accuracy, precision, recall, and F1-score, a 99.6% Matthews Correlation Coefficient (MCC), and the highest Area Under the Curve (AUC) score for multi-class classification. Our framework's capability to manage complex, multi-species fishpond environments was validated across diverse setups, showcasing its potential to transform fish farming practices by ensuring sustainable climate-adaptive management through real-time water quality optimization. This study marks a significant step forward in climate-smart aquaculture, contributing to enhanced fish health, survival, and yield while mitigating the risks posed by climate change on aquatic ecosystems.

