Example Code for micro:bit-A Gift for Teacher's Day
This blog post offers a comprehensive guide on assembling a Teacher's Day gift using micro:bit, detailing hardware and software preparations, wiring diagrams, and sample code for programming and non-programming projects.
Hardware Preparation
![]() |
![]() |
![]() |
|---|---|---|
| BOS0013 Motion Sensor | BOS0017 LED Module | BOS0022 Voice Recorder Module |
![]() |
![]() |
![]() |
| BOS0030 Splitter Module | BOS0035 Mainboard-3IO | MBT0039 micro:bit |
![]() |
||
| BOS0040 micro:bit BOSON expansion Board |
Tip: micro:bit and micro:bit BOSON expansion board will be used in programming projects.
Software Preparation
Mind+、MakeCode
Wiring Diagram
Non-programming

Programming

Flowchart:

Result
Video Demo
| Non-programming | Programming |
|---|---|
![]() |
![]() |
Was this article helpful?









