Water quality is one of the important factors in various sectors, such as agriculture, industry, and natural ecosystems. One crucial water quality parameter is pH, which measures the acidity or alkalinity of the water. The pH value of water can affect the survival of aquatic organisms, as well as chemical processes in a variety of industrial applications. Therefore, continuous monitoring of the…