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