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 6 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 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
- 3.📡 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
- 4.📡 A robot is 160 cm from a wall and drives straight at it at 20 cm per second. How far from the wall is it after 2 seconds (in cm)?
- 5.📡 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?
- 6.📡 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) No (b) Yes
- 7.📡 Which animal finds its way by echoes, like this sensor? (a) a cow (b) a bat (c) a snail (d) a goldfish
- 8.📡 A robot is 230 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)?
- 9.📡 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) No (b) Yes
- 10.📡 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)?
- 11.📡 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)?
- 12.📡 Why do we halve the echo’s total path? (a) it goes there and back (b) to make it smaller (c) sound is slow (d) the sensor is half
- 13.📡 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)?
- 14.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 1 km (b) 340 cm (c) 3 cm (d) 34 cm
- 15.📡 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)?
- 16.📡 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?
- 17.📡 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)?
- 18.📡 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) No (b) Yes
- 19.📡 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
- 20.📡 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)?
- 21.📡 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?
- 22.📡 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
- 23.📡 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?
- 24.📡 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) Yes (b) No
- 25.📡 A robot is 270 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)?
- 26.📡 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)?
- 27.📡 A robot is 180 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)?
- 28.📡 Which object is hardest for an echo sensor to notice? (a) a wooden box (b) a flat wall (c) a metal door (d) a soft foam cushion
- 29.📡 A robot is 230 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)?
- 30.📡 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
- 31.📡 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
- 32.📡 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 6 seconds (in cm)?
- 33.📡 A robot is 250 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 5 seconds (in cm)?
- 34.📡 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
- 35.📡 A robot is 200 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 7 seconds (in cm)?
- 36.📡 A robot is 100 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)?
- 37.📡 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)?
- 38.📡 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 20 seconds (in cm)?
- 39.📡 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?
- 40.📡 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) No (b) Yes
Answer key
- 102
- No
- Yes
- 120
- 20
- No
- a bat
- 150
- Yes
- 323
- 100
- it goes there and back
- 17
- 34 cm
- 153
- 9
- 340
- No
- No
- 68
- 5
- No
- 14
- No
- 190
- 255
- 100
- a soft foam cushion
- 170
- Yes
- Yes
- 20
- 175
- No
- 165
- 30
- 51
- 120
- 8
- No
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids