← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

  1. it goes there and back
  2. 289
  3. 14
  4. 102
  5. No
  6. 68
  7. 18
  8. 15
  9. 17
  10. 240
  11. Yes
  12. Yes
  13. No
  14. 90
  15. Yes
  16. Yes
  17. No
  18. No
  19. 90
  20. a bat
  21. 4
  22. 16
  23. 100
  24. a soft foam cushion
  25. 272
  26. 34 cm
  27. 70
  28. 55
  29. 10
  30. 13
  31. 34
  32. 135
  33. 11
  34. No
  35. No
  36. No
  37. 85
  38. No
  39. 119
  40. 51

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