In order to ensure the safe supply of the drinking water the quality needs to be monitor in real time. In this paper we
present a design and development of a low cost system for real time monitoring of the water quality in IoT(internet of
things).The system consist of several sensors is used to measuring physical and chemical parameters of the water. The
parameters such as temperature, pH, turbidity can be measured. The measured values from the sensors can be processed by the
core controller. The Arduino model can be used as a core controller. The other part of this system includes Machine learning
algorithms which is applied on data collected by sensors for training a model and then can be used for the prediction of the new
data and also evaluates some current classification algorithms to model a water quality detection system. Various
algorithms are used and then only one algorithm which is best for this system is used to training the model with heights
accuracy among them. And this model will allow early