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.📡 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)?
- 2.📡 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)?
- 3.📡 What does an ultrasonic distance sensor send out? (a) bright light (b) water drops (c) sound too high to hear (d) radio music
- 4.📡 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?
- 5.📡 A robot is 170 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 4 seconds (in cm)?
- 6.📡 A robot stops if an object is closer than 50 cm. Its distance sensor hears the echo after 5 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 7.📡 Why do we halve the echo’s total path? (a) it goes there and back (b) to make it smaller (c) the sensor is half (d) sound is slow
- 8.📡 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) No (b) Yes
- 9.📡 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)?
- 10.📡 A robot is 150 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 1 second (in cm)?
- 11.📡 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)?
- 12.📡 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 26 seconds (in cm)?
- 13.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 6 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 14.📡 A robot is 170 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 15 seconds (in cm)?
- 15.📡 Which object is hardest for an echo sensor to notice? (a) a flat wall (b) a soft foam cushion (c) a metal door (d) a wooden box
- 16.📡 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 4 seconds (in cm)?
- 17.📡 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)?
- 18.📡 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?
- 19.📡 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) Yes (b) No
- 20.📡 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)?
- 21.📡 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)?
- 22.📡 A robot is 230 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 9 seconds (in cm)?
- 23.📡 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?
- 24.📡 A robot is 130 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)?
- 25.📡 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)?
- 26.📡 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 45 seconds (in cm)?
- 27.📡 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?
- 28.📡 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 35 seconds (in cm)?
- 29.📡 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) No (b) Yes
- 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.📡 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 9 seconds (in cm)?
- 32.📡 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?
- 33.📡 A robot is 240 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)?
- 34.📡 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)?
- 35.📡 A robot is 130 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)?
- 36.📡 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
- 37.📡 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?
- 38.📡 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?
- 39.📡 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?
- 40.📡 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?
Answer key
- 51
- 20
- sound too high to hear
- 2
- 130
- No
- it goes there and back
- Yes
- 238
- 145
- 34
- 100
- No
- 20
- a soft foam cushion
- 230
- 17
- 4
- No
- 170
- 323
- 140
- 12
- 115
- 68
- 25
- 17
- 15
- Yes
- 7
- 85
- 1
- 90
- 120
- 30
- Yes
- 3
- 18
- 6
- 8
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids