1 / 11

Global Challenge Love Heart Lesson 2

Design a prototype heart rate monitor using micro:bit that detects and monitors the user's heart rate, provides audio and visual output, and helps users track their fitness and progress. Learn how to create and debug algorithms using iteration, selection, and variables.

larrypowell
Download Presentation

Global Challenge Love Heart Lesson 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Global Challenge Love Heart Lesson 2

  2. Learning objectives: • to understand how technology can help monitor heart rates accurately and conveniently • to create a prototype micro:bit heart monitor • to write, test and debug detailed, accurate and efficient algorithms including iteration, selection and variables

  3. Electronic heart rate monitors • detect and monitor the heart rate • tell the user what their heart rate is • helps monitor fitness and progress • heart rate gets lower as fitness improves • help user learn about how their heart responds to different activities

  4. Your challenge • Design a prototype heart rate monitor using micro:bit

  5. Micro:bit heart rate monitor • the micro:bit heart rate monitor must: • use the accelerometer to detect movement of heart • give audio output of user’s heart rate • give visual output of user’s heart rate • be easy to use

  6. Prototyping An initial, basic version of an innovation. It allows you to quickly and easily: • show how your innovation would work • test and trial it • get feedback • decide what works and what doesn’t

  7. Micro:bit prototype ideas • our prototype will • be able to be attached to the chest • detect movement of the heart • make a beep in time with heart movement • flash LEDs in the shape of a heart in time to heart movement

  8. Paper Prototyping • On large paper: • Sketch your heart rate monitor prototype • Add feature labels and explanations • Include a detailed, accurate algorithm (pseudocode and/or flowchart)

  9. Sample algorithm heart rate monitor REPEAT FOREVER INPUT sense IF moving IF moving, then OUTPUT ‘heartbeat’ sound OUTPUT ‘heartbeat’ visual ELSE, OUTPUT ‘on’ visual On START OUTPUT ‘on’ visual

  10. Iteration • The repetition of a sequence. Loops are a form of iteration (repeat until a certain condition is met) Selection • a decision to be made according to whether a condition is met. e.g. If, then, else Variables • used to store information, e.g. light level

  11. Learning objectives: • to understand how technology can help monitor heart rates accurately and conveniently • to create a prototype micro:bit heart monitor • to write, test and debug detailed, accurate and efficient algorithms including iteration, selection and variables

More Related