🎄Merry Christmas🎄Coolest Christmas Gift Received Ever!
🌟All products' price reduced by 15% off
🎁Hot-Selling Items: Buy 10 Get 1 Free

micro:bit Smart Arier Projects

Hi, we’ve showed the assembly of the Smart Airier last week, now let’s begin with the program part to make it work!

Video of the project:https://youtu.be/bq2q_1O8dEA

Materials required:

micro:bit

Wukong expansion board

360 degrees servo

Go to MakeCode editor:(https://makecode.microbit.org),click Advanced in the drawer to see more choices.

Smart Arier Projects

We need to add extensions for programming, click “Extensions” in the bottom of the drawer and search with “Wukong” and “IoT” latter to download them.

Smart Arier Projects

Smart Arier Projects

Smart Arier Projects

In the “on start” brick, set “rain” to “false”

Smart Arier Projects

While pressing button A, set to open the door and window, and the airier stretches out with the “rain” status in “false”.

Smart Arier Projects

While pressing button B, set to close the door and window, and the airier retracts with the “rain” status in “true”.

Smart Arier Projects

In forever brick, detecting if the value is over 10 from the water level sensor, and judge if the “rain” status is “false”, if yes, set to close the window and door and the airer retracts, then set the rain status in “true”

Smart Arier Projects

Program: https://makecode.microbit.org/_8C5cxMYcJLAa

Screenshots of the code:

Smart Arier Projects

Download the program to your micro:bit to finish your project!

If you have any ideas or opinions, please feel free to contact us via [email protected].

Leave a Reply

Frame 422188
Meet ELECFREAKS at BETT 2025!
Frame 422521
Our New Distributor——BERRYBASE
images
In March, ELECFREAKS supported 5 schools to carry out school science and technology festival activities
Frame 422188
Meet ELECFREAKS at BETT 2025!
Frame 422521
Our New Distributor——BERRYBASE
images
How to make a counter with micro:bit?
Monthly Archive