The ground pin is shared among the module and also the LED, with VCC taken in the Arduino's 5V pin. We are going to software the Arduino to adjust the LED brightness based upon the water level detected through the sensor. File L E X Prolonged collection Optimize your procedures https://controltechme.com/ultrasonic-level-sensor/