Example Code for micro:bit-Heart Rate Monitor Display

Explore the comprehensive guide for setting up a heart rate monitor display with micro:bit, including detailed hardware preparation, software platforms like MakeCode and Mind+, and step-by-step programming instructions for both coding and non-coding projects.

Hardware Preparation

Mainboard
BOS0043 Heart Rate Monitor Sensor BOS0035 Mainboard-3IO BOS0044 OLED Module
micro:bit microbit expansion board
MBT0039 micro:bit BOS0040 micro:bit BOSON Expansion Board

Tip: micro:bit and its expansion board will be used in programming projects.

Software Preparation

Supports graphical programming platforms such as MakeCode, and Mind+.

Wiring Diagram

Non-programming Project

Programming Project

Other Preparation Work

Non-programming Project

Click the black button on the OLED module to switch the display mode to heart rate sensor.

Programming Project

Program Flowchart:

Result

Non-programming Programming

Was this article helpful?

TOP