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.📡 Which object is hardest for an echo sensor to notice? (a) a metal door (b) a wooden box (c) a soft foam cushion (d) a flat wall
- 2.📡 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 1 second (in cm)?
- 3.📡 A robot is 140 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)?
- 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 1 second (in cm)?
- 5.📡 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?
- 6.📡 A robot is 200 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 9 seconds (in cm)?
- 7.📡 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
- 8.📡 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 1 second (in cm)?
- 9.📡 What does an ultrasonic distance sensor send out? (a) radio music (b) sound too high to hear (c) water drops (d) bright light
- 10.📡 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?
- 11.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 340 cm (b) 3 cm (c) 1 km (d) 34 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.📡 Why do we halve the echo’s total path? (a) sound is slow (b) the sensor is half (c) it goes there and back (d) to make it smaller
- 14.📡 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) No (b) Yes
- 15.📡 A robot is 300 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 4 seconds (in cm)?
- 16.📡 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?
- 17.📡 A robot is 290 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.📡 A robot is 160 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)?
- 19.📡 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)?
- 20.📡 Which animal finds its way by echoes, like this sensor? (a) a bat (b) a goldfish (c) a snail (d) a cow
- 21.📡 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)?
- 22.📡 A robot is 290 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 23 seconds (in cm)?
- 23.📡 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?
- 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.📡 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 6 seconds (in cm)?
- 26.📡 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
- 27.📡 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)?
- 28.📡 A robot is 270 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 6 seconds (in cm)?
- 29.📡 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 11 seconds (in cm)?
- 30.📡 A robot is 260 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 16 seconds (in cm)?
- 31.📡 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)?
- 32.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 5 ms (sound: about 34 cm per ms). Does the robot stop? (a) No (b) Yes
- 33.📡 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)?
- 34.📡 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)?
- 35.📡 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)?
- 36.📡 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
- 37.📡 A robot is 230 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 9 seconds (in cm)?
- 38.📡 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?
- 39.📡 A robot is 180 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 1 second (in cm)?
- 40.📡 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?
Answer key
- a soft foam cushion
- 175
- 80
- 160
- 20
- 155
- Yes
- 190
- sound too high to hear
- 5
- 34 cm
- 3
- it goes there and back
- No
- 280
- 6
- 230
- 70
- 120
- a bat
- 170
- 175
- 13
- 221
- 100
- No
- 85
- 180
- 65
- 20
- 204
- Yes
- 102
- 289
- 306
- No
- 50
- 15
- 170
- 9
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids