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