The ground pin is shared among the module and the LED, with VCC taken from your Arduino's 5V pin. We will method the Arduino to regulate the LED brightness according to the water level detected by the sensor. An alternate technique for steady optical level sensing entails using a laser. https://controltechme.com/ultrasonic-level-sensor/