← The distance sensor lesson New set →

Robotics Worksheet: Ultrasonic Distance Sensor

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

Answer key

  1. 40
  2. 238
  3. 80
  4. 20
  5. 7
  6. 160
  7. 34 cm
  8. 34
  9. 323
  10. 8
  11. 6
  12. 5
  13. Yes
  14. 11
  15. 306
  16. 51
  17. 70
  18. 10
  19. No
  20. 4
  21. 255
  22. a bat
  23. 65
  24. 110
  25. it goes there and back
  26. 15
  27. Yes
  28. 19
  29. No
  30. No
  31. 17
  32. Yes
  33. 18
  34. 85
  35. 60
  36. 170
  37. 119
  38. 204
  39. No
  40. a soft foam cushion

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