Journal of Computer Science and Informatics Engineering
Vol 5 No 4 (2026)

IoT-Based Aquarium Water Quality Monitoring System Using Mamdani Fuzzy Logic Method

Saifullah Hidayat (Universitas Pamulang)
Agung Siswopranoto (Universitas Pamulang)



Article Info

Publish Date
30 Sep 2026

Abstract

Water quality is a crucial factor affecting the health and survival of freshwater ornamental fish. Manual monitoring is often ineffective because changes in water conditions can occur rapidly and numerical sensor readings are difficult to interpret directly. This study aims to implement the Mamdani Fuzzy Logic method in an Internet of Things (IoT)-based aquarium water quality monitoring system using Total Dissolved Solids (TDS) and temperature sensors. Sensor data are processed through fuzzification, rule-based inference, and defuzzification to classify water quality into three categories: poor, normal, and good. The monitoring results are then displayed in real time through a web-based dashboard. Experimental results indicate that the TDS sensor achieved an average error of 3%, while the temperature sensor achieved an average error of 2.6%. Furthermore, the implementation of the Mamdani Fuzzy Logic method produced an average error of only 0.6% compared with MATLAB simulation results. These findings demonstrate that the proposed system is capable of monitoring aquarium water quality accurately and providing clear decision support for users in maintaining optimal water conditions. The main contribution of this study is the integration of the Mamdani Fuzzy method into an IoT-based monitoring system, implemented directly on the ESP32 microcontroller for real-time inference, unlike previous studies that typically process fuzzy data on servers or cloud platforms. This approach achieves accuracy comparable to MATLAB simulation with an average error of only 0.6%.

Copyrights © 2026






Journal Info

Abbrev

cosie

Publisher

Subject

Computer Science & IT

Description

Artificial Intelligence Machine Learning Natural Language Processing Computer Vision Text Speech Text Mining Data mining Cryptography Data visualization Expert System Deep Learning Fuzzy Logic IoT and smart environments Neural Networks Pattern Recognition Image Processing Optimization Digital Signal ...