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