← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

  1. 6
  2. 204
  3. No
  4. it goes there and back
  5. a soft foam cushion
  6. 102
  7. 140
  8. 7
  9. No
  10. 20
  11. 16
  12. 75
  13. No
  14. 3
  15. a bat
  16. Yes
  17. 60
  18. 9
  19. Yes
  20. 17
  21. sound too high to hear
  22. 20
  23. 4
  24. 272
  25. No
  26. 50
  27. No
  28. No
  29. 11
  30. 5
  31. 15
  32. Yes
  33. 34 cm
  34. Yes
  35. 51
  36. 150
  37. 323
  38. 20
  39. 50
  40. Yes

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