The output value of the sensor depends upon not just the water level but in addition the water's conductivity. The pure water is just not conductive. The water incorporates minerals and impurities is conductive. You can find differing types of water level sensors for every classification. This portion of the https://controltechme.com/ultrasonic-level-sensor/