← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

  1. it goes there and back
  2. a bat
  3. 30
  4. 34
  5. sound too high to hear
  6. No
  7. 3
  8. a soft foam cushion
  9. 35
  10. 20
  11. 30
  12. 20
  13. 204
  14. 51
  15. 170
  16. 17
  17. 120
  18. 100
  19. 238
  20. 100
  21. 20
  22. No
  23. 16
  24. 221
  25. 272
  26. 9
  27. 80
  28. 340
  29. No
  30. 7
  31. 195
  32. 19
  33. 12
  34. 70
  35. 120
  36. Yes
  37. No
  38. 130
  39. Yes
  40. No

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