This drawing shows the structure of the sensor.
The following one the Ultrasonic sensor from Arduino:
A test parcour for research.