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.📡 An object is 68 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 2.📡 An object is 289 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 3.📡 A robot is 130 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 5 seconds (in cm)?
- 4.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 1 km (b) 3 cm (c) 34 cm (d) 340 cm
- 5.📡 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)?
- 6.📡 A robot is 130 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 2 seconds (in cm)?
- 7.📡 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)?
- 8.📡 Which animal finds its way by echoes, like this sensor? (a) a bat (b) a cow (c) a goldfish (d) a snail
- 9.📡 What does an ultrasonic distance sensor send out? (a) radio music (b) sound too high to hear (c) water drops (d) bright light
- 10.📡 A robot is 230 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 23 seconds (in cm)?
- 11.📡 Why do we halve the echo’s total path? (a) to make it smaller (b) it goes there and back (c) sound is slow (d) the sensor is half
- 12.📡 A distance sensor sends a sound pulse and hears the echo 12 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 13.📡 A robot is 100 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)?
- 14.📡 A robot is 290 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 14 seconds (in cm)?
- 15.📡 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?
- 16.📡 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)?
- 17.📡 A robot is 230 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 18 seconds (in cm)?
- 18.📡 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)?
- 19.📡 Which object is hardest for an echo sensor to notice? (a) a metal door (b) a soft foam cushion (c) a flat wall (d) a wooden box
- 20.📡 A robot is 250 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 7 seconds (in cm)?
- 21.📡 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
- 22.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 1 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 23.📡 An object is 306 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 50 cm. Its distance sensor hears the echo after 8 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 25.📡 A robot is 130 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 24 seconds (in cm)?
- 26.📡 A robot is 220 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)?
- 27.📡 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
- 28.📡 A robot is 160 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 4 seconds (in cm)?
- 29.📡 An object is 340 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 30.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 7 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 31.📡 A distance sensor sends a sound pulse and hears the echo 11 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 32.📡 An object is 272 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 33.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 4 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 34.📡 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)?
- 35.📡 A robot is 160 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 7 seconds (in cm)?
- 36.📡 A distance sensor sends a sound pulse and hears the echo 20 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 37.📡 A robot is 130 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)?
- 38.📡 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?
- 39.📡 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) No (b) Yes
- 40.📡 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)?
Answer key
- 4
- 17
- 80
- 34 cm
- 34
- 90
- 323
- a bat
- sound too high to hear
- 115
- it goes there and back
- 204
- 20
- 80
- 15
- 136
- 50
- 272
- a soft foam cushion
- 215
- Yes
- Yes
- 18
- No
- 10
- 40
- Yes
- 80
- 20
- No
- 187
- 16
- Yes
- 17
- 125
- 340
- 25
- 6
- No
- 68
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids