← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

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

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