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.
Watch the videoWatch on YouTubeSee the series on Amazon
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
- An ultrasonic sensor uses sound waves above 20 kHz, much like bats do.
- It times how long a sound pulse takes to bounce back, which is called time of flight.
- In dry air at 20°C (68°F), sound travels 343 meters per second, or a kilometer in 2.91 seconds.
- The speed of sound in air changes with temperature, so careful sensors check how warm the air is.
- Ultrasonic sensors can find objects no matter their shape or color, and even see-through glass.
- Hard surfaces send back strong echoes, but soft things like foam and carpet soak up much of the sound.
- Right after it sends a sound, the sensor keeps ringing for a moment, so it can't sense things that are very close.
- Cars use 4 to 16 ultrasonic sensors to spot obstacles while parking.
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.