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