Love Hearts Lesson 3
In this lesson students use their paper prototypes and algorithms from the previous lesson to create a micro:bit prototype of their heart rate monitor using the MakeCode editor.
- Computing: ccomputational thinking: algorithms, logical thinking, programming, debugging, iteration, loops, selection, variables, testing, debugging, creating effective presentations, evaluation
- Science: The heart
- P.E.: The importance of regular exercise
- PSHE: Healthy mind and body
- Design & Technology: Product design
It is assumed that you have first completed the Non-communicable disease introductory lesson and Lesson 1 and 2 of the Love Heart activity. Programming experience using micro:bit and creating presentations is assumed, though you can easily add additional time and explanation as required by your students.
In this lesson students use their paper prototypes and algorithms from the previous lesson to create a micro:bit prototype of their heart rate monitor using the MakeCode editor. If you wish of course, you can extend this so students create a mock up of their monitor using micro:bit boards.
- To follow an algorithm accurately to code a prototype using micro:bit
- To use iteration, selection, variables and effective coding techniques to create efficient code.
- To present a prototype effectively
- To evaluate a prototype and the design approach taken
- 介紹（2 分鐘）
- Programming (15 minutes)
- Creating paper prototypes (15 minutes)
- Presenting prototypes (15 minutes)
- Evaluation (10 minutes)
- 總結（3 分鐘）
- Remind students they will be creating their micro:bit prototypes (slide 2), ensure they have their paper prototypes and algorithms to follow and and share the learning objectives on slide 3 if you wish
- Remind students to use effective programming practices (e.g. paired programming, regular testing and debugging - slides 4 & 5).
- Ask students to open the MakeCode editor and start programming their heart rate monitor. If needed, use slides 6 & 7 to help students with the code and there is an example hex file included in resources.
- As they program, encourage students to work through the problems together, thinking about why the program is behaving that way and stepping through code to find any errors.
- As students finish, or if they encounter problems they cannot solve, ask them to work with other students to help them test and refine their code.
Screenshots of example code can be found in the lesson presentation slides above, or you may wish to download the example hex files.
Creating prototype presentation
- Once students have completed their programs, explain they are going to present their prototypes to the class and the requirements for their presentation (slide 8).
- Give students a short, focussed time to complete their presentation (in whatever format is best - encourage creativity) and ensure they are ready to present.
- Ask each pair/group to present their prototype and remind them of the requirements for the presentations. You could have a ‘timekeeper’ to keep time and give a 1 minute left signal.
- Give out the evaluation worksheets (see extension/homework) and highlight that next lesson they will be designing their own innovation for the micro:bit challenge (slide 10).
- 回顧學習目標（投影片 11）。
延伸 / 回家作業
- Ask students to complete the evaluation worksheets to evaluate their prototypes, their presentation and their approach to the task (slide 9).
- If students are creating an actual prototype, give them extra time and the materials to do so.
- Ensure students have appropriate support when programming and you may wish to make use of the example hex file to help them
- You could give a template for their presentation, or ask them to simply talk about their ideas.
- Encourage students to make simple evaluative statements (e.g. WWW/EBI)
延伸 / 挑戰活動：
Students can be challenged to add additional elements to their heart rate monitor, create code that is highly efficient, presentations that are slick and effective and evaluations that are considered and detailed.
- You could video students presenting their work and discussing their code for assessment.
- Paper prototypes, code, presentations and evaluation worksheets can all be informally or formally assessed to suit your needs.