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