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