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