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