Example Code for micro:bit-Smart Fan
This guide offers example code and detailed instructions for assembling a smart fan using a micro:bit, including hardware and software setup, wiring diagrams, and video demonstrations for both programming and non-programming approaches.
Hardware Preparation
![]() |
![]() |
![]() |
|---|---|---|
| BOS0013 Motion sensor | BOS0021 Fan Module | BOS0035 Mainboard-IO |
![]() |
![]() |
|
| BOS0040 micro:bit BOSON expansion board | MBT0039 micro:bit |
Software Preparation
Mind+、MakeCode
Wiring Diagram
Non-programming

Programming

Flowchart

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







