Robotics Worksheet: Ultrasonic Distance Sensor
Robot tip (Half the echo path): Distance (cm) = 17 × echo time (ms), because 34 cm per ms ÷ 2 for there and back. Echo time (ms) = distance × 2 ÷ 34. Distance after driving = distance now − speed × time.
NameDateTime takenScore ___ / 40
- 1.📡 A distance sensor sends a sound pulse and hears the echo 2 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 2.📡 A robot stops if an object is closer than 50 cm. Its distance sensor hears the echo after 1 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 3.📡 A distance sensor sends a sound pulse and hears the echo 13 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 4.📡 Why do we halve the echo’s total path? (a) sound is slow (b) the sensor is half (c) to make it smaller (d) it goes there and back
- 5.📡 An object is 255 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 6.📡 A robot is 300 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 21 seconds (in cm)?
- 7.📡 A distance sensor sends a sound pulse and hears the echo 16 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 8.📡 A robot is 110 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 5 seconds (in cm)?
- 9.📡 What does an ultrasonic distance sensor send out? (a) sound too high to hear (b) water drops (c) radio music (d) bright light
- 10.📡 A robot is 150 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 3 seconds (in cm)?
- 11.📡 A robot stops if an object is closer than 50 cm. Its distance sensor hears the echo after 2 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 12.📡 A distance sensor sends a sound pulse and hears the echo 19 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 13.📡 A robot is 160 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 4 seconds (in cm)?
- 14.📡 A distance sensor sends a sound pulse and hears the echo 4 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 15.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 3 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 16.📡 A distance sensor sends a sound pulse and hears the echo 6 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 17.📡 A distance sensor sends a sound pulse and hears the echo 15 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 18.📡 An object is 34 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 19.📡 A robot is 160 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 8 seconds (in cm)?
- 20.📡 A robot is 210 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 10 seconds (in cm)?
- 21.📡 An object is 153 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 22.📡 Which animal finds its way by echoes, like this sensor? (a) a bat (b) a cow (c) a snail (d) a goldfish
- 23.📡 An object is 187 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 24.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 5 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 25.📡 A robot is 240 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 15 seconds (in cm)?
- 26.📡 Which object is hardest for an echo sensor to notice? (a) a wooden box (b) a flat wall (c) a soft foam cushion (d) a metal door
- 27.📡 A distance sensor sends a sound pulse and hears the echo 5 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 28.📡 A robot is 270 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 7 seconds (in cm)?
- 29.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 8 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 30.📡 An object is 119 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 31.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 7 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 32.📡 A robot is 140 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 26 seconds (in cm)?
- 33.📡 A robot is 250 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 9 seconds (in cm)?
- 34.📡 A robot stops if an object is closer than 30 cm. Its distance sensor hears the echo after 1 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 35.📡 A distance sensor sends a sound pulse and hears the echo 1 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 36.📡 A distance sensor sends a sound pulse and hears the echo 14 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 37.📡 An object is 102 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 38.📡 A distance sensor sends a sound pulse and hears the echo 7 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 39.📡 A distance sensor sends a sound pulse and hears the echo 8 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 40.📡 A distance sensor sends a sound pulse and hears the echo 3 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
Answer key
- 34
- Yes
- 221
- it goes there and back
- 15
- 90
- 272
- 35
- sound too high to hear
- 90
- Yes
- 323
- 120
- 68
- Yes
- 102
- 255
- 2
- 80
- 60
- 9
- a bat
- 11
- Yes
- 15
- a soft foam cushion
- 85
- 165
- No
- 7
- No
- 10
- 70
- Yes
- 17
- 238
- 6
- 119
- 136
- 51
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids