SunFounder 3in1 Kit
You only need to supply a short 10us pulse for the trigger input to start the ranging, and then the module will send
out an 8 cycle burst of ultrasound at 40 kHz and raise its echo. You can calculate the range through the time interval
between sending trigger signal and receiving echo signal.
Formula: us / 58 = centimeters or us / 148 =inch; or: the range = high level time * velocity (340M/S) / 2; you are
suggested to use measurement cycle over 60ms in order to prevent signal collisions of trigger signal and the echo
signal.
Example
• 5.8 User-defined Function (Basic Project)
• 7. Follow Your Hand (Car Project)
• 6. Play with Ultrasonic Module (Car Project)
1.28. Ultrasonic Module 51