Robotics Worksheet: Ultrasonic Distance Sensor
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.📡 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.📡 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?
- 3.📡 An object is 17 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 4.📡 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)?
- 5.📡 An object is 289 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 6.📡 Which object is hardest for an echo sensor to notice? (a) a flat wall (b) a wooden box (c) a metal door (d) a soft foam cushion
- 7.📡 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
- 8.📡 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
- 9.📡 A robot is 180 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 27 seconds (in cm)?
- 10.📡 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) No (b) Yes
- 11.📡 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)?
- 12.📡 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?
- 13.📡 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)?
- 14.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 4 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 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.📡 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 3 seconds (in cm)?
- 17.📡 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 3 seconds (in cm)?
- 18.📡 A robot is 190 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)?
- 19.📡 What does an ultrasonic distance sensor send out? (a) sound too high to hear (b) water drops (c) bright light (d) radio music
- 20.📡 A robot is 150 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 5 seconds (in cm)?
- 21.📡 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?
- 22.📡 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
- 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.📡 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) No (b) Yes
- 25.📡 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
- 26.📡 A robot is 180 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)?
- 27.📡 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?
- 28.📡 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)?
- 29.📡 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
- 30.📡 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 3 seconds (in cm)?
- 31.📡 A robot is 190 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)?
- 32.📡 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 5 seconds (in cm)?
- 33.📡 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
- 34.📡 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 5 seconds (in cm)?
- 35.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 1 km (b) 340 cm (c) 3 cm (d) 34 cm
- 36.📡 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?
- 37.📡 A robot is 180 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 8 seconds (in cm)?
- 38.📡 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
- 39.📡 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?
- 40.📡 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?
Answer key
- it goes there and back
- 6
- 1
- 136
- 17
- a soft foam cushion
- No
- No
- 45
- No
- 272
- 3
- 289
- No
- 15
- 210
- 195
- 85
- sound too high to hear
- 100
- 18
- Yes
- 16
- No
- No
- 45
- 7
- 238
- Yes
- 140
- 50
- 105
- Yes
- 85
- 34 cm
- 8
- 60
- Yes
- 13
- 4
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids