<p>The ultrasound sensor measures the distance between itself and the surface of water. This sensor is frequently used in similar applications, such as measuring liquid level or detecting presence. The sensor emits ultrasonic waves which rebound in the water and offers the system the distance between the node and the water. The water level of the river can be known by applying simple calculations.</p>