The ground pin is shared among the module as well as LED, with VCC taken within the Arduino's 5V pin. We'll application the Arduino to adjust the LED brightness dependant on the water level detected with the sensor. The basic principle at the rear of magnetic, mechanical, cable, along with https://controltechme.com/ultrasonic-level-sensor/