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