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 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)?
- 2.📡 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 10 seconds (in cm)?
- 3.📡 A distance sensor sends a sound pulse and hears the echo 14 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 4.📡 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)?
- 5.📡 What does an ultrasonic distance sensor send out? (a) water drops (b) radio music (c) bright light (d) sound too high to hear
- 6.📡 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)?
- 7.📡 Which animal finds its way by echoes, like this sensor? (a) a goldfish (b) a snail (c) a cow (d) a bat
- 8.📡 A robot stops if an object is closer than 50 cm. Its distance sensor hears the echo after 6 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.📡 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?
- 11.📡 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?
- 12.📡 An object is 119 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 13.📡 A robot stops if an object is closer than 30 cm. Its distance sensor hears the echo after 5 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 14.📡 A robot is 150 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)?
- 15.📡 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?
- 16.📡 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)?
- 17.📡 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
- 18.📡 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)?
- 19.📡 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?
- 20.📡 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)?
- 21.📡 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)?
- 22.📡 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
- 23.📡 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 3 seconds (in cm)?
- 24.📡 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)?
- 25.📡 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?
- 26.📡 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
- 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.📡 An object is 306 cm from a distance sensor. Sound travels about 34 cm every millisecond. After how many milliseconds does the echo come back?
- 29.📡 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?
- 30.📡 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 10 seconds (in cm)?
- 31.📡 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)?
- 32.📡 A robot is 150 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)?
- 33.📡 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
- 34.📡 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)?
- 35.📡 A robot is 110 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)?
- 36.📡 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?
- 37.📡 A robot is 100 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)?
- 38.📡 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)?
- 39.📡 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
- 40.📡 A robot is 250 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)?
Answer key
- 60
- 170
- 238
- 68
- sound too high to hear
- 323
- a bat
- No
- it goes there and back
- 20
- 2
- 7
- No
- 130
- 15
- 187
- Yes
- 340
- 12
- 136
- 85
- No
- 95
- 119
- 13
- No
- No
- 18
- 10
- 130
- 34
- 45
- Yes
- 130
- 10
- 14
- 70
- 105
- a soft foam cushion
- 210
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids