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