Cyber Robotics 101 Teacher's Guide
How can sensors input be combined to create more complex programs?
This lesson introduces the ultrasonic sensor, which is used to detect objects from a distance. Students initially encounter objects that must be detected before they are touched, then learn how to access data from the ultrasonic sensor to detect them, first with Manual Control and then programmatically. Using inequalities to specify minimum or maximum distances, they practice using the ultrasonic sensor at the front of the robot before learning to access the one on the side as well and using both in conjunction.
Use inequalities to determine whether a condition has been met
Use the ultrasonic sensor to detect objects at a distance
Combine various sensors to make more complex programs
Use inequalities to determine whether a condition has been met
Check for mission success in ‘Diagonal Dilemma Dos’ and ‘Ultraside’. If neither of those missions are completed, ‘Red is the New Green’ may be used as an alternate assessment activity.
Use the ultrasonic sensor to detect objects at a distance
Check for mission success in ‘Diagonal Dilemma Dos’ and ‘Ultraside’. If neither of those missions are completed, ‘Red is the New Green’ may be used as an alternate assessment activity.
Combine various sensors to make more complex programs
Check for mission success in ‘Diagonal Dilemma Dos’ and ‘Ultraside’
Slideshow: Object Detection II
Wait Until support article
The Wait Blocks video tutorial
Ultrasonic sensor support article
What’s one way the ultrasonic sensor is more like the touch sensor, and one way it is more like the gyroscope?
Student answers may vary, but should reflect the way that the three sensors work. Students may notice that the touch sensor and ultrasonic sensor are both used to detect objects in the environment (while the gyroscope detects rotational displacement), and that the ultrasonic sensor and the gyroscope both provide numbers as data (while the touch sensor provides True/False which is Boolean data).
Why is it important that the robot have different ways to detect objects in its environment?
Students should describe an advantage of multiple detection systems, rather than just one. For example, students may refer to the multiple ultrasonic sensors on the robot, which are important for the robot to detect objects both in front and to the side of it. They also may refer to different types of detection system, noting that the limitations of one (such as the distance sensor only detecting objects closer than 2.5 meters, or a camera only operating when there is sufficient light) can be compensated for by another.
The ultrasonic sensor bounces sound waves off objects to detect them. What’s another way a sensor could detect objects from a distance?
Student answers will vary, but may include examples such as cameras, radar, or lidar. Ensure that all examples are of sensors that can be used at a distance.
Description
Let students complete Missions: 1-9
Pack: Object Detection II
Timing
30 minutes
Description
Go through slides 6-8
Timing
5 minutes
Description
Let students complete Mission 10
Pack: Object Detection II
Timing
10 minutes
Familiarize yourself with the above resources.
Allow students to complete the missions on their own time.
Use the ‘U’ key to show the Ultrasonic beam in the simulation.
Q1. What does the ultrasonic sensor detect?
A1. Distance.
Q2. What is the maximum distance the ultrasonic sensor can detect?
A2. 250cm.
Q3. Which direction does the ultrasonic sensor face?
A3. Forward.