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