← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

  1. 17
  2. 105
  3. 102
  4. 68
  5. 18
  6. 221
  7. No
  8. 170
  9. 9
  10. 11
  11. Yes
  12. 10
  13. 190
  14. Yes
  15. 3
  16. 306
  17. No
  18. Yes
  19. 5
  20. 255
  21. No
  22. Yes
  23. Yes
  24. 34
  25. 40
  26. 51
  27. 17
  28. 238
  29. 145
  30. a bat
  31. 8
  32. 2
  33. No
  34. 12
  35. a soft foam cushion
  36. 14
  37. sound too high to hear
  38. 170
  39. it goes there and back
  40. 140

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