Are you a teacher?
Lesson plan
Courses
- Grades 3-12
- Courses from 3rd grade to 12th grade
Materials
- Cell phone, tablet, or computer
- Internet connection
Description
In this activity, students can experiment with Protobject, learning visual programming and computer science safely and playfully with a device.
Educational Objectives
- Understand the concept of an event.
- Create a technological object (prototype) using a device.
- Identify relationships between technology and the surrounding world.
- Evaluate personal and others’ work in individual or team efforts.
- Engage in dialogue and reflection on improvement ideas.
Beginning (10 minutes)
Welcome students to the class and briefly introduce the activity of the day:
Today, we will learn how to create a simple alarm that plays a sound when you press a button.
We will start the class by providing technical knowledge to the students for meaningful learning in the practical activity.
To kick off the class, we can begin with a question:
Do you know how a button works?
In practice and in the world of computing, there is the well-known binary system. This is a numbering system where numbers are represented using only the digits 0 and 1, meaning only 2 digits.
Generally, the operation of these looks like this:
0: off, deactivated.
1: on, activated.
With this in mind, we will add a touch button that allows us to sound an alarm based on whether we activate or deactivate it. Additionally, we can choose the alarm sound ourselves.
Development (20-30 minutes)
Connect your device to the Protobject platform; this will enable us to use the button we want to create from the programming command screen and control the alarm.
To carry out the practical part of the activity, follow the steps in the “Prototyping” section. Remember to experiment yourself in advance before asking the students to experiment with Protobject. This way, you can anticipate questions that may arise in the students.
Conclusion (5-10 minutes)
Now that you’ve created a touch-button alarm, ask yourself:
How could we have more than one button?
What other prototype can you think of creating with this new information?
Where else could we find events?
We are ready to continue programming!
To solve the challenge presented, simply create a variable that increments each time the switch is activated.
Check the solution to this challenge.