Lesson 1 - micro:bit: The Brain of Wind Power System Model
1. Engage: Let's Talk About Our Warming Planet
Show students images or videos of the effects of global warming, and lead them to figure out these effects.

Key Question
Did you know the Earth is getting warmer every year? Let's look at some data!
Show a simple line graph of global temperature rise.

Give students sticky notes to write down "things that get hot" (e.g., "No snow this winter!" "More people are using air conditioners in summer.")
Discuss: What tools could we use to measure how hot the environment is?

2. Explore: How Can We Sense Rising Temperatures?
Show the micro:bit and say:" This tiny board is our weather detective today! It has a sensor to measure temperature—just like a digital thermometer!"
Demonstrate a simulation program that lets the students know the micro:bit can sense how the temperature changes.
Steps:
●Import the program.

●Adjust the simulated thermometer and observe the bar graph changes.

Key Question
This program is only a simulation. The micro:bit can really sense the temperature, where do you think the temperature sensor is? Let's find it!
Demonstrate where the temperature is: The micro:bit's processor is its brain, fetching, decoding and carrying out your instructions. It also contains a temperature sensor so you can measure how warm or cold your environment is.

Activity 1
Find the temperature sensor and see how it works.
Prepare a micro:bit with this simulation program for each group.
Assign the micro:bit to each group, and guide them to find out where the processor (temperature sensor) is on the back of the micro:bit.
Ask students to connect their micro:bit to a computer and place their hands gently on the temperature sensor for 10 seconds. Does the temperature number go up? (Explain: Body heat warms the sensor.)
Discuss: "Do we know the specific temperature through this program? Why?”
3. Engineer: Program to Display Temperature
Demonstrate on MakeCode:"Let's teach the micro:bit to show the temperature it senses!"
Coding Steps:
1.Open Microsoft MakeCode through the link below.
https://makecode.microbit.org/
2.Create a new project.

3.Drag a show number block into the forever loop from Basic.

4.Drag a temperature block from Input and connect it to the show number block.

Discuss Question:
What happens if we put show number [temperature] in on start? (It updates the number only once!)
Test the Code: Plug the micro:bit into a computer with a Micro-USB cable. Click "Download" to send the code. Watch the LED screen show the room's temperature!


4. Experience & Challenge: Upload, Test, and Upgrade!
Experience: Your Turn to Code!
Activity 2
Students follow the steps to build the code, connect and download it.

Test the code:
Hold a finger on the micro:bit's temperature sensor (does the temp rise? Why?)
Place it in a cool environment (what happens?).

Group discussion: can we make the micro:bit beep if it gets too warm? Let's try!
Activity 3
Goal: Make the micro:bit beep when the temperature rises above a "warning level" (e.g., 30°C).
Steps to guide:
Import the program which can be found in the attachment.

Modify the condition such as setting "temperature > 30".

Connect and download it.
Test Steps:
●Put your warm finger on the temperature sensor.
●Does it beep? If not, adjust the number (e.g., 23°C).
5. Elaborate: How Can We Protect the Earth?
Key Question
Global warming is a big problem—but what can we do to help?
Activity 4
Students create posters with ideas, such as using green energy.
Evaluate your GREEN level:

Wrap Up:" Today, we used micro:bit to sense and respond to temperature—just like real climate scientists! Next lesson, we'll build an eco-friendly wind power model with our micro:bit brain!"








