The ground pin is shared amongst the module and the LED, with VCC taken within the Arduino's 5V pin. We'll method the Arduino to regulate the LED brightness depending on the water level detected because of the sensor. You can find differing kinds of water level sensors for each classification. https://controltechme.com/ultrasonic-level-sensor/