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