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