HC-SR04 Ultrasonic Principle
Send Ping (10µs)
Obstacle Distance:
Distance = (Time × Speed of Sound) / 2