International Journal on Advanced Science, Engineering and Information Technology, Vol. 12 (2022) No. 5, pages: 2105-2111, DOI:10.18517/ijaseit.12.5.15996

Water Quality Monitoring System Based on Fuzzy Algorithm

Mutiara Andara, Eko Purwanto, Awang Hendrianto Pratomo, Rudi Kurniawan, Hendri Himawan Triharminto


Water is one of the essential things in our life, especially for daily needs such as cooking, bathing, drinking, etc. Therefore, water quality is vital to keep humans stay healthy. The water fountain is one of the sources of water. This research designs a water monitoring device to determine the feasibility level of water produced in a water fountain using two sensors. The device measures water acidity using a pH sensor and water turbidity using a turbidity sensor. Both data measurements, water acidity, and turbidity, are processed on the Arduino nano microcontroller based on a fuzzy algorithm. The proposed fuzzy algorithm uses the Tsukamoto Fuzzy model method. The fuzzy inference system is implemented for each sensor to control the valve. There are three membership functions for the fuzzy set of pH and turbidity sensors. The model determines nine fuzzy rules that affect the solenoid valve. The solenoid valve will open if the water condition is suitable for drinking and close if the water condition is not suitable for drinking. The experimental setup is conducted for each pH and turbidity sensor. The turbidity sensor experiment used three water conditions, i.e., clean water, slightly cloud water, and dirty water. Differently, pH sensor considers three water conditions, i.e., acid, neutral, and alkaline water. Based on the result, the fuzzy inference system is determined and generates nine rules for solenoid valves as a defuzzification process. The result shows that implementing a fuzzy algorithm can be used as a filter to detect water conditions.


Water monitoring, Arduino nano, fuzzy method.

Viewed: 308 times (since abstract online)

cite this paper     download