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