Which is exactly what this Water Level Sensor permits you to do! It might evaluate the water level, keep an eye on a sump pit, detect rainfall, and detect leaks. S (Sign) pin: is an analog output that could be connected to one of several analog inputs with your Arduino. https://controltechme.com/ultrasonic-level-sensor/