The measurement of hydrogen ion activity in the solution is known as pH. In the process of treating wastewater, pH determination is crucial. The most frequent issues with wastewater are extreme volumes, the presence of particle matter, the accumulation of harmful substances, and rising alkalinity levels.