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