← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

Robotics lesson 17: The distance sensor · Set 234 · 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) it goes there and back (b) the sensor is half (c) to make it smaller (d) sound is slow
  2. 2.📡 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)?
  3. 3.📡 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)?
  4. 4.📡 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
  5. 5.📡 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?
  6. 6.📡 A robot is 210 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 17 seconds (in cm)?
  7. 7.📡 Which animal finds its way by echoes, like this sensor? (a) a bat (b) a goldfish (c) a snail (d) a cow
  8. 8.📡 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)?
  9. 9.📡 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
  10. 10.📡 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
  11. 11.📡 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)?
  12. 12.📡 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 5 seconds (in cm)?
  13. 13.📡 A robot stops if an object is closer than 30 cm. Its distance sensor hears the echo after 8 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
  14. 14.📡 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 27 seconds (in cm)?
  15. 15.📡 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) Yes (b) No
  16. 16.📡 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)?
  17. 17.📡 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)?
  18. 18.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 1 km (b) 34 cm (c) 3 cm (d) 340 cm
  19. 19.📡 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)?
  20. 20.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 5 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
  21. 21.📡 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)?
  22. 22.📡 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)?
  23. 23.📡 A robot is 120 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 3 seconds (in cm)?
  24. 24.📡 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?
  25. 25.📡 Which object is hardest for an echo sensor to notice? (a) a metal door (b) a flat wall (c) a soft foam cushion (d) a wooden box
  26. 26.📡 A robot is 100 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 5 seconds (in cm)?
  27. 27.📡 A distance sensor sends a sound pulse and hears the echo 9 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
  28. 28.📡 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)?
  29. 29.📡 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?
  30. 30.📡 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 17 seconds (in cm)?
  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 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
  33. 33.📡 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?
  34. 34.📡 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
  35. 35.📡 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
  36. 36.📡 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?
  37. 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. 38.📡 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) Yes (b) No
  39. 39.📡 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 8 seconds (in cm)?
  40. 40.📡 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)?

Answer key

  1. it goes there and back
  2. 323
  3. 170
  4. No
  5. 12
  6. 40
  7. a bat
  8. 136
  9. Yes
  10. Yes
  11. 51
  12. 120
  13. No
  14. 115
  15. No
  16. 289
  17. 68
  18. 34 cm
  19. 204
  20. No
  21. 119
  22. 34
  23. 90
  24. 10
  25. a soft foam cushion
  26. 75
  27. 153
  28. 17
  29. 16
  30. 145
  31. 1
  32. Yes
  33. 15
  34. No
  35. Yes
  36. 5
  37. 6
  38. No
  39. 60
  40. 255

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