This sensor is just not intended to be entirely submerged. So, when installing it, Ensure that only the exposed traces over the PCB arrive into contact with the water. Optical level sensors operate by converting light-weight rays into electrical alerts. They measure a Actual physical part of mild then translate https://controltechme.com/ultrasonic-level-sensor/