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