The output value of the sensor is dependent upon not simply the water level but additionally the water's conductivity. The pure water isn't conductive. The water consists of minerals and impurities is conductive. Optical level sensors function by changing mild rays into electrical indicators. They evaluate a Actual physical part https://controltechme.com/ultrasonic-level-sensor/