SKU: BSK ULTRASONIC SENSOR HC-SR04
If you are sourcing a ultrasonic ranging module, the stable performance and high ranging accuracy of the HC-SR04 is a good choice. A little more expensive than the Sharp IR ranging module, but has the same ranging accuracy and longer ranging distance.
A short ultrasonic pulse is transmitted at the time 0, reflected by an object. The senor receives this signal and converts it to an electric signal. The next pulse can be transmitted when the echo is faded away. This time period is called cycle period. The recommend cycle period should be no less than 50ms. If a 10μs width trigger pulse is sent to the signal pin, the Ultrasonic module will output eight 40kHz ultrasonic signal and detect the echo back. The measured distance is proportional to the echo pulse width and can be calculated by the formula above. If no obstacle is detected, the output pin will give a 38ms high level signal