Log in to LMS
Back to Tech Explorer
Sensor Echo distance

How Ultrasonic Sensors Work

An ultrasonic sensor measures distance by sending a high-frequency sound pulse and measuring how long the echo takes to return.

SignalSound pulse
MeasuresTime
OutputDistance
Electronics project representing ultrasonic sensor learning

The sensor has a transmitter and receiver. The transmitter sends a short sound burst. If an object is in front of it, the sound bounces back as an echo.

The controller measures the travel time. Since sound speed is known, the distance can be calculated from the echo time.

1

Trigger pulse

The microcontroller sends a short trigger signal to start the measurement.

2

Sound travels

The sensor sends ultrasonic sound waves forward through the air.

3

Echo returns

The receiver detects the sound after it reflects from an object.

4

Distance is calculated

Distance is found from time and speed of sound, then divided by two because the sound travels out and back.

Obstacle avoiding robots, parking sensors, water-level measuring systems, smart dustbins, and distance measuring tools.

Chat with us