The module automatically sends 8 square waves of 40KHz, and automatically detects whether there is a signal returning;
When a signal returns, a high level is output through IO, and the duration of the high level is the time from ultrasonic emission to return. Test distance = (high horizontal time * sound speed (340 m/s))/2;