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 stops if an object is closer than 100 cm. Its distance sensor hears the echo after 1 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 2.📡 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?
- 3.📡 Why do we halve the echo’s total path? (a) sound is slow (b) it goes there and back (c) to make it smaller (d) the sensor is half
- 4.📡 A robot is 210 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)?
- 5.📡 Which object is hardest for an echo sensor to notice? (a) a flat wall (b) a soft foam cushion (c) a wooden box (d) a metal door
- 6.📡 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
- 7.📡 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)?
- 8.📡 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)?
- 9.📡 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) No (b) Yes
- 10.📡 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)?
- 11.📡 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?
- 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 is 180 cm from a wall and drives straight at it at 15 cm per second. How far from the wall is it after 9 seconds (in cm)?
- 14.📡 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)?
- 15.📡 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?
- 16.📡 Which animal finds its way by echoes, like this sensor? (a) a goldfish (b) a cow (c) a snail (d) a bat
- 17.📡 A robot stops if an object is closer than 30 cm. Its distance sensor hears the echo after 6 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 18.📡 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?
- 19.📡 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)?
- 20.📡 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 1 second (in cm)?
- 21.📡 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?
- 22.📡 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?
- 23.📡 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
- 24.📡 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 3 seconds (in cm)?
- 25.📡 A robot is 300 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)?
- 26.📡 A robot is 220 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)?
- 27.📡 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)?
- 28.📡 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 7 seconds (in cm)?
- 29.📡 A distance sensor sends a sound pulse and hears the echo 12 ms later. Sound travels about 34 cm every millisecond. How far away is the object (in cm)?
- 30.📡 An object is 68 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 170 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)?
- 32.📡 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?
- 33.📡 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)?
- 34.📡 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)?
- 35.📡 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)?
- 36.📡 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
- 37.📡 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)?
- 38.📡 A robot stops if an object is closer than 100 cm. Its distance sensor hears the echo after 4 ms (sound: about 34 cm per ms). Does the robot stop? (a) Yes (b) No
- 39.📡 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
- 40.📡 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?
Answer key
- Yes
- 1
- it goes there and back
- 165
- a soft foam cushion
- No
- 140
- 340
- Yes
- 187
- 12
- 7
- 45
- 85
- 10
- a bat
- No
- 14
- 17
- 170
- 15
- 19
- No
- 140
- 180
- 120
- 34
- 100
- 204
- 4
- 110
- 2
- 51
- 238
- 153
- Yes
- 170
- Yes
- Yes
- 3
Free robotics lessons, practice and worksheets at talentjr.in/robotics-for-kids