Objective: To understand how computer code can control physical objects like lights and sensors.
Lesson 1: The Magic Brain
Core Value: Resourcefulness (Investigate before you ask)
I. Learning Objectives
By the end of this lesson, my students will be able to:
1. Identify the Microcontroller as the "brain" of a machine.
2. Recognize the physical components of the Arduino Uno (USB, Reset, Pins).
3. Successfully Upload a basic "Handshake" program (Blink) using block coding.
II. The Lesson Flow
1. The Hook (5 Minutes)
I will hold up a standard TV remote or a battery-operated toy and ask:
· "If I press this button, why does the channel change? Who is making that decision?" I'll explain that inside almost every smart device is a "Magic Brain" just like the one on their desks.
2. Physical Exploration (10 Minutes)
I will instruct the students to look at their Arduino boards (without touching the pins yet!) and find the following:
· The Processor: The black rectangle. I’ll tell them, "This is where your Scratch blocks are stored once we hit 'Upload'."
· The USB Port: The "Ears." This is where the computer talks to the board.
· Pin 13: I’ll ask them to find the tiny LED next to the letter 'L'. We are going to make that blink today.
3. The "First Handshake" Coding (20 Minutes)
I will project my screen and show them how to build the logic. Since they know Scratch, I will use these specific blocks:
· Header: When Arduino Uno starts up
· Loop: Forever
· Action: Set Digital Pin 13 to HIGH (Explain: HIGH = Power/On)
· Wait: Wait 1 seconds
· Action: Set Digital Pin 13 to LOW (Explain: LOW = No Power/Off)
· Wait: Wait 1 seconds
4. The "Moment of Truth" (10 Minutes)
I will walk around the "Atelier" and help students click the Connect and Upload buttons.
· Teacher Tip: If a student's board doesn't blink, I’ll ask them: "Is your cable plugged in all the way? Did you select the right Serial Port?" (Encouraging that Lebanese curriculum focus on troubleshooting).
Lesson 2: First Light (External LEDs)
Core Value: Precision (One wrong hole and the circuit won't work!)
I. Learning Objectives
By the end of this lesson, my students will be able to:
Understand how a Breadboard connects components without solder.
Identify the positive (long) and negative (short) legs of an LED.
Use a Resistor to protect the LED from burning out.
Write a program to control an external pin (Pin 10).
II. The Lesson Flow
1. The Anatomy of an LED (5 Minutes)
I will show the students an LED and point out its "legs."
The Anode (Long Leg): The "Positive" side. It loves power.
The Cathode (Short Leg): The "Negative" side. It goes to Ground (GND).
Teacher Tip: I'll tell them: "Think of the long leg as a 'plus' sign because it has extra length!"
2. The Breadboard "Roads" (10 Minutes)
I'll explain that the holes in the breadboard are connected underneath like hidden tunnels.
The middle rows are connected horizontally.
The side rails (Red and Blue) are connected vertically for power.
3. The Circuit Build (15 Minutes)
I will guide the students to build this specific circuit:
Connect GND on the Arduino to the Blue Rail on the breadboard.
Place the LED in the middle of the board.
Connect a Resistor from the short leg to the Blue Rail.
Connect a jumper wire from Pin 10 to the long leg.
4. Coding the External Pin (10 Minutes)
In our block coding software, we will change our previous code:
Instead of "Set Built-in LED," we use: "Set Digital Pin 10 to HIGH."
This teaches them that the Arduino can control many different "arms" (pins) at once.