Lesson 5 SDG - Climate Action: Code &Test a Wind Power System Model
1.Recap: Connecting to Last Class
Review Previous Learning: Last class, we explored how land ecosystems depend on clean, renewable energy and brainstormed designs for a wind power system that can generate, store, and use energy. Today, we’ll turn those ideas into a functional device that simulates a real-world wind farm!
Key Question
How can we create a system that generates wind energy, stores it for later use, and powers small devices efficiently?
This leads into today’s focus: Connect → Program → Test → Demonstrate
2.Engage: Hardware Connection
Let’s start by setting up our core components. Each group will receive a micro:bit, a rotation sensor, and a Geekservo.
Activity 1: Hardware Setup Challenge
Divide into groups of 3-4. Assign roles:
Hardware Specialist: Leads wiring the components
Checker: Verifies connections against the table below
The first group to finish wiring correctly wins a "Quick Connector" sticker!

3.Experience-Challenge: Program the Energy System
Activity 2: Upload Code
Import the project:

Connect your micro:bit to the computer and download the code to it.

Take a moment to review the starter code. Look for the following elements:
How the motor spins: Locate the block labeled "set motor M3 direction forward speed" that controls the motor.

How the RGB light turns on: Locate the conditional statement (triggered by button A/B press).

How the battery_level value increases: Locate the block labeled "change Battery_level by 1" that charges the battery.

How the battery_level value decreases: Locate the block labeled "change Battery_level by -1" that depletes the battery.

4.Debug & Test: Adjust Energy Efficiency
Key Question
How could we improve the charging efficiency?
Activity 3
Modify the code that can make the charging more efficiency.

Discuss with your group: How can we adjust the code to avoid wasting the stored energy? (Hint: Lower the LED energy use or raise the turn-on threshold)
5.Demonstrate & Explain: Demonstrate Your Wind Simulator
Activity 4
Each group presents for 2 minutes:
1.Spin the turbine to simulate wind flow
2.Show how energy is stored and LEDs turn on
3.Explain one key part of your program logic (e.g., "Our wind power system stores energy at a rate of 2 units of electricity per second.")
6.Extension: Are You an Energy-Saving Guard?
Daily Energy Discussion
As a class, discuss these questions:
What are 3 simple things you can do at home to save electricity? (e.g., turn off lights when leaving a room, unplug chargers not in use)
How does saving electricity help protect land ecosystems? (Less fossil fuel use reduces pollution and habitat destruction)
Activity 5
Complete the Self-Evaluation Checklist on the Activity Sheet.
Evaluate your level:
4 habits: Top Energy-Saving Guard
2-3 habits: Energy-Saving Apprentice
0-1 habit: Start Small—Pick one habit to try this week!
Final Thought: Wind power is a clean way to protect our land ecosystems and fight climate change. By building this system, you’re not just learning code—you’re becoming a champion of our planet!









