Are you a teacher?
Lesson Plan
Courses
- Grades 3-12
- Courses 3rd grade – 12th grade
Materials
- Cellphone, tablet, or computer
- Internet connection
Description
In this activity, students can experiment with Protobject, learning about visual programming and computer science safely and playfully using a device.
Educational Objectives
- Understand the concept of “loop,” both general and nested.
- Develop a technological object (prototype) using a device.
- Identify relationships between technology and the surrounding environment.
- Evaluate one’s own work and that of others, both individually and in teams.
- Participate in dialogues and reflections to propose improvements.
Introduction (10 minutes)
Welcome students to the class and briefly introduce the day’s activity:
“Today, we will learn how to time an LED lamp.”
We’ll start the class by providing technical knowledge to students for meaningful understanding of the practical activity.
Do you remember how we created a traffic light in the previous activity?
“To make the traffic light work, we assigned on and off times. But what if we wanted the yellow light to flash before turning green? We could simply add more blocks to turn the yellow light on and off several times, but that would make the code very long!”
“To solve this problem, we use Loops. In the previous activity, we saw the main Loop, and this time, we’ll explore the concept of a more general Loop. It’s important to understand that the main Loop is just one type of Loop. Specifically, we’ll address the topic of a numbered Loop, which repeats a block of code a fixed number of times.”
Then, engage the students:
“Are you ready to learn how to use Loops to make the traffic light flash?”
Development (20-30 minutes)
Connect the equipment to the Protobject platform so that students can interact with the LED on the screen using programming commands.
Guide the students through the steps of the “Prototyping” section. Ensure you’ve experimented beforehand to anticipate student questions.
Conclusion (5-10 minutes)
Now that you’ve learned to use milliseconds,
Where can we see Loops in everyday life?
What other prototype can you think of creating with this new information?
Can you think of another way to use Loops?
How can we stop a Loop?
That’s what we’ll tackle next!
The challenge is to add a second synchronized traffic light to simulate an intersection. The process is similar to the one we did earlier, with the addition of another Loop to control the flashing of the yellow light.
Check out the suggested solution..