The ground pin is shared in between the module as well as the LED, with VCC taken in the Arduino's 5V pin. We'll program the Arduino to adjust the LED brightness determined by the water level detected by the sensor. An alternate approach for ongoing optical level sensing will involve https://controltechme.com/ultrasonic-level-sensor/