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 5 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 2.📡 A robot is 190 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)?
- 3.📡 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)?
- 4.📡 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) Yes (b) No
- 5.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 1 km (b) 34 cm (c) 340 cm (d) 3 cm
- 6.📡 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?
- 7.📡 A robot is 200 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 9 seconds (in cm)?
- 8.📡 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)?
- 9.📡 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
- 10.📡 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
- 11.📡 A robot stops if an object is closer than 100 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.📡 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?
- 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 animal finds its way by echoes, like this sensor? (a) a goldfish (b) a snail (c) a bat (d) a cow
- 15.📡 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 7 seconds (in cm)?
- 16.📡 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?
- 17.📡 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
- 18.📡 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
- 19.📡 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)?
- 20.📡 Why do we halve the echo’s total path? (a) the sensor is half (b) sound is slow (c) it goes there and back (d) to make it smaller
- 21.📡 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 41 seconds (in cm)?
- 22.📡 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)?
- 23.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 5 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 24.📡 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)?
- 25.📡 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 2 seconds (in cm)?
- 26.📡 A robot is 210 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)?
- 27.📡 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)?
- 28.📡 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 5 seconds (in cm)?
- 29.📡 What does an ultrasonic distance sensor send out? (a) bright light (b) radio music (c) water drops (d) sound too high to hear
- 30.📡 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)?
- 31.📡 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?
- 32.📡 A robot is 110 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)?
- 33.📡 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?
- 34.📡 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 15 seconds (in cm)?
- 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.📡 A robot is 190 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)?
- 37.📡 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?
- 38.📡 A robot is 100 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)?
- 39.📡 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)?
- 40.📡 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 11 seconds (in cm)?
Answer key
- 85
- 140
- 289
- No
- 34 cm
- 13
- 20
- 204
- No
- No
- No
- 6
- Yes
- a bat
- 195
- 2
- No
- Yes
- 51
- it goes there and back
- 45
- 17
- Yes
- 102
- 200
- 20
- 238
- 70
- sound too high to hear
- 340
- 4
- 50
- 11
- 75
- Yes
- 60
- 18
- 95
- 136
- 85
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids