The Arizona STEM Acceleration Project
Autonomous Robot Series:
Using Color Sensors in Reaction to Lines
Using Color Sensors in Reaction to Lines
A 6-8 Grade STEM Lesson
Michael Allen
5-14-2024
Notes for Teachers
Preparation and Setup
General Tips
By following these notes, teachers can effectively guide their students through the lesson, ensuring a comprehensive understanding of using the Color Sensor to make the Driving Base autonomous.
List of Materials
Standards
NGSS�MS-ETS1-4�Develop a model to generate data for iterative testing and modification of a proposed object, tool, or process such that an optimal design can be achieved.
CSTA�2-AP-12 6-8�Design and iteratively develop programs that combine control structures, including nested loops and compound conditionals.
CCSS.ELA-LITERACY.SL.6.4�Present claims and findings, sequencing ideas logically and using pertinent descriptions, facts, and details to accentuate main ideas or themes; use appropriate eye contact, adequate volume, and clear pronunciation.
CCSS.MATH.CONTENT.6.NS.C.7.A�Interpret statements of inequality as statements about the relative position of two numbers on a number line diagram. For example, interpret -3 > -7 as a statement that -3 is located to the right of -7 on a number line oriented from left to right.
Ai generated image
Arizona Standards
Computer Science (AZ 2018)
Science (AZ 2018)
Mathematics (AZ Grade 6)
English Language Arts (AZ 2016)
Objective
This lesson involves writing programs using the Color Sensor to make the Driving Base autonomous. It is designed for beginner students in grades 6-8 and takes approximately 30-45 minutes.
Ai generated image
Agenda: 30-45 min. class period
1. Engage (5-10 minutes)
Objective: Start with a discussion and video to introduce the lesson, sparking student interest and understanding of objectives.
2. Explore (20 minutes)
Objective: Students build and program the Driving Base, observing its interaction with a black line.
3. Explain (5minutes)
Objective: Discuss how the Color Sensor detects lines, explaining the principles behind the programs.
4. Elaborate (Extension/Enrichment) (15 minutes)
Objective: Students optimize their line-following programs, improving accuracy and performance.
5. Evaluate
Assessment: Assess student performance with rubrics, and encourage self and peer evaluations for constructive feedback.
Engage: 5-10 minutes
Objective: The objective of the Engage section is to capture students' interest and introduce them to the lesson's key concepts. This initial engagement sets the context for the activities and helps students understand the relevance of the lesson.
Activity: Initiate a Discussion (5 Minutes):
Show a Video (5 Minutes):
By the end of the Engage section, students should be curious, understand the importance of the lesson, and be eager to begin the hands-on activities.
Engage: 5-10 minutes (continued)
Ai generated image
Discussion: Ask students Why do you think precise line following is important for robots?
Explore: 30 minutes
Objective: The objective of the Explore section is to provide students with hands-on experience in building and programming the Driving Base with the Color Sensor. This section encourages collaboration, experimentation, and practical application of concepts introduced during the Engage phase.
Activity:
1. Building the Driving Base (10 minutes):
2. Initial Programming Stack (10 minutes):
3. Experimenting with the Second Programming Stack (10 minutes):
Explore: 30 minutes (continued)
4. Collaborative Learning and Troubleshooting (5 minutes):
By the end of the Explore section, students should have a functional Driving Base equipped with a Color Sensor, and they should understand how different programming stacks affect the robot's behavior. This hands-on experience will prepare them for the Explain and Elaborate phases, where they will delve deeper into the principles and optimization of their programs.
Ai generated image
Explain: 20 minutes
Objective
The objective of the Explain section is to deepen students' understanding of how the Color Sensor works and how it interacts with the programming stacks to control the Driving Base.
Activity
1. Facilitated Discussion on Color Sensor Mechanics (10 minutes):
Ai generated image
Elaborate (Extension/Enrichment) 30 minutes
Objective
The objective of the Explore section is to give students hands-on experience in building and programming the Driving Base with the Color Sensor. This phase encourages collaboration, experimentation, and practical application of concepts introduced during the Engage phase.
Activity
1. Building the Driving Base (10 minutes):
2. Initial Programming Stack (10 minutes):
Elaborate 30 minutes (continued)
3. Collaborative Learning and Troubleshooting (5 minutes):
4. Optimization Challenge (5 minutes):
By the end of the Explore section, students should have a functional Driving Base equipped with a Color Sensor and a deeper understanding of how different programming stacks affect the robot's behavior. This hands-on experience will prepare them for the Explain and Elaborate phases, where they will delve deeper into the principles and optimization of their programs.
Ai generated image
Extension/Enrichment
Language Arts Extension
Writing Assignments for the Lesson
Reflective Journal
Objective: Encourage students to reflect on their learning experiences and articulate their thoughts and understanding of the concepts taught in the lesson.
Prompt: Write a one-page journal entry reflecting on today’s lesson. Include the following points:
Language Arts Extension
Writing Assignments for the Lesson
Creative Writing - Future Applications
Objective: Encourage creative thinking by having students envision future applications of the technology they are learning about.
Prompt: Imagine a future where autonomous robots with Color Sensors are a common part of everyday life. Write a short story (1-2 pages) that explores one specific application of this technology. Consider the following points:
These assignments will help students deepen their understanding of the lesson's concepts, practice their writing skills, and think critically about the applications and implications of the technology they are studying.
Evaluate: 20 minutes
Assessment
Rubric: Students demonstrate their robot's ability to complete the simple maze through a series of turns, and explain the code they used. Students will be assess with a rubric for the following categories, research, create, test.
Objective: Assess both the students’ understanding of the concepts and their ability to apply them.
Activity: Conduct a classroom competition where each group demonstrates their robot's abilities on the competition field. Provide a rubric that assesses their use of color sensors, the complexity of their programming, problem-solving skills, and teamwork. Additionally, have students complete an Exit Ticket on what they learned about sensors and motors and how they might use this knowledge in future projects.
Robotics Performance Rubric
Instructions for Use:
Differentiation
1. For Advanced Students:
- Challenge Task: Provide these students with minimal guidance and encourage them to explore additional programming concepts, such as loops or conditional statements, to enhance the robot's maneuverability.
- Extension Activities: Encourage them to create more complex follow-line tasks for the robot, like programming it to follow a specific pattern.
2. For Students Requiring More Support:
- Scaffolded Code Templates: Offer templates with partial code already filled in, where students need to complete only certain parts to make the robot turn. This helps them focus on understanding the impact of specific changes without being overwhelmed.
- Guided Practice: Pair these students with a more experienced peer or provide additional teacher guidance. Use step-by-step walkthroughs of the code to explain how each part influences the robot’s follow-line abilities.
Ai generated image
These strategies are designed to personalize learning and ensure that all students are engaged and appropriately challenged during the "Explore" stage of the lesson.