← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

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

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