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