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 BOS0021 BOS0035
BOS0013 Motion sensor BOS0021 Fan Module BOS0035 Mainboard-IO
BOS0040 MBT0039
BOS0040 micro:bit BOSON expansion board MBT0039 micro:bit

Software Preparation

Mind+、MakeCode

Wiring Diagram

Non-programming

Connection 1

Programming

Connection 2

Flowchart

Flowchart 1

Result

Video Demo

Non-programming Programming
Video 1 Video 2

Was this article helpful?

TOP