Example Code for micro:bit-Temperature Indicator
This article provides comprehensive guidance on setting up a temperature indicator using micro:bit, including hardware requirements, wiring diagrams, and sample code for both Mind+ and MakeCode platforms, ideal for educational projects.
Hardware Preparation
![]() |
![]() |
![]() |
|---|---|---|
| BOS0011 Temperature Sensor | BOS0017 LED module(Red/green/blue) | MBT0039 micro:bit |
![]() |
||
| BOS0040 micro:bit BOSON expansion board |
Wiring Diagram
Connection Diagram:

Result
Video Demo
| Programming |
|---|
![]() |
Additional Information
Flowchart:

Was this article helpful?





