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) to make it smaller (b) sound is slow (c) it goes there and back (d) the sensor is half
- 2.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 1 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 30 cm. Its distance sensor hears the echo after 3 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 4.📡 A robot is 200 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 distance sensor sends a sound pulse and hears the echo 18 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 6.📡 A robot stops if an object is closer than 60 cm. Its distance sensor hears the echo after 4 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 7.📡 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?
- 8.📡 In these lessons, sound travels about how far in 1 millisecond? (a) 3 cm (b) 1 km (c) 340 cm (d) 34 cm
- 9.📡 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)?
- 10.📡 What does an ultrasonic distance sensor send out? (a) sound too high to hear (b) radio music (c) bright light (d) water drops
- 11.📡 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?
- 12.📡 Which animal finds its way by echoes, like this sensor? (a) a goldfish (b) a snail (c) a bat (d) a cow
- 13.📡 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)?
- 14.📡 A robot is 160 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 15 seconds (in cm)?
- 15.📡 A robot is 130 cm from a wall and drives straight at it at 5 cm per second. How far from the wall is it after 23 seconds (in cm)?
- 16.📡 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)?
- 17.📡 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
- 18.📡 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)?
- 19.📡 A robot is 220 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 15 seconds (in cm)?
- 20.📡 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?
- 21.📡 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)?
- 22.📡 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
- 23.📡 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?
- 24.📡 A robot is 160 cm from a wall and drives straight at it at 10 cm per second. How far from the wall is it after 15 seconds (in cm)?
- 25.📡 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) No (b) Yes
- 26.📡 A robot is 110 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)?
- 27.📡 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
- 28.📡 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?
- 29.📡 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)?
- 30.📡 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?
- 31.📡 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
- 32.📡 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
- 33.📡 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 4 seconds (in cm)?
- 34.📡 A robot is 290 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)?
- 35.📡 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)?
- 36.📡 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?
- 37.📡 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) Yes (b) No
- 38.📡 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 13 seconds (in cm)?
- 39.📡 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)?
- 40.📡 A robot is 200 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)?
Answer key
- it goes there and back
- Yes
- No
- 160
- 306
- No
- 3
- 34 cm
- 221
- sound too high to hear
- 20
- a bat
- 68
- 85
- 15
- 153
- a soft foam cushion
- 289
- 70
- 16
- 255
- No
- 5
- 10
- No
- 65
- No
- 14
- 34
- 13
- No
- Yes
- 20
- 220
- 170
- 18
- Yes
- 35
- 85
- 50
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids