Click to expand full text
HC-SR04 User Guide
1. Ultrasonic Distance Measurement Principles
The transmitter emits a 8 bursts of an directional 40KHz ultrasonic wave when triggered and starts a timer. Ultrasonic pulses travel outward until they encounter an object, The object causes the the wave to be reflected back towards the unit. The ultrasonic receiver would detect the reflected wave and stop the stop timer. The velocity of the ultrasonic burst is 340m/sec. in air. Based on the number of counts by the timer, the distance can be calculated between the object and transmitter The TRD Measurement formula is expressed as: D = C X T which is know as the time/rate/distance measurement formula where D is the measured distance, and R is the propagation velocity (Rate) in air (speed of sound) and T represents time.