40khz- filtering-amplification-shaping-converted into trigger level and sent to the single chip microcomputer, which calculates the distance d according to the time t from transmitting the signal to receiving the return signal. The general principle calculation formula is: d = t * 340m/s.
This is the case with the ultrasonic rangefinder made before, and the accuracy reaches cm level.