SunFounder ESP32 Starter Kit
• Using IO trigger for at least 10us high level signal.
• The module sends an 8 cycle burst of ultrasound at 40 kHz and detects whether a pulse signal is received.
• Echo will output a high level if a signal is returned; the duration of the high level is the time from emission to
return.
• Distance = (high level time x velocity of sound (340M/S)) / 2
Formula:
• us / 58 = centimeters distance
• us / 148 = inch distance
• distance = high level time x velocity (340M/S) / 2
Note: This module should not be connected under power up, if necessary, let the module’s GND be connected first.
Otherwise, it will affect the work of the module.
The area of the object to be measured should be at least 0.5 square meters and as flat as possible. Otherwise, it will
affect results.
Example
• 5.12 Measuring Distance (Arduino Project)
• 6.3 Reversing Aid (Arduino Project)
• 5.12 Measuring Distance (MicroPython Project)
• 6.4 Reversing Aid (MicroPython Project)
• 2.15 GAME - Flappy Parrot (Scratch Project)
5.32. Ultrasonic Module 753