← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

Robotics lesson 17: The distance sensor · Set 32 · 40 questions
TalentJR

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

Answer key

  1. sound too high to hear
  2. 85
  3. 340
  4. 60
  5. a bat
  6. a soft foam cushion
  7. 20
  8. 34 cm
  9. No
  10. Yes
  11. 68
  12. 50
  13. it goes there and back
  14. Yes
  15. 10
  16. Yes
  17. 255
  18. 11
  19. 170
  20. 136
  21. 110
  22. 240
  23. 100
  24. No
  25. No
  26. 187
  27. 80
  28. 120
  29. No
  30. 289
  31. Yes
  32. Yes
  33. No
  34. 306
  35. 130
  36. 100
  37. Yes
  38. 9
  39. 272
  40. 15

Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids