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