Million Whys Press logo
Million Whys PressToronto
← Book 15 videos

Book 15, Question 28

How Does a Robot’s Ultrasonic Sensor Find How Far Away a Wall Is?

An ultrasonic sensor finds distance by timing how long a sound pulse takes to bounce back, much like bats do.

An ultrasonic sensor finds how far away a wall is by sending out sound and listening for the echo! The sound is too high-pitched for us to hear. The longer the echo takes, the farther away the wall is.

Quick answers

What is time of flight?

The time a sound pulse takes to bounce back.

Does temperature matter?

The speed of sound in air changes with temperature, so careful sensors check how warm the air is.

Source: ti.com

More fun facts

Sources: ti.com

Questions kids ask

Why does the robot use half of the echo time?

The sound travels to the wall and back again, so the round trip covers the distance twice.

Why I wrote this