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

The Energy Conservation Fan

Purpose

A fan is very helpful in this hot summer, I’ve built an energy conservation fan which would work when I sit down and stop when I leave from my seat.

Build-up

Building steps:

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

The Energy Conservation Fan

Please download the io. File if you have Lego studio: The-Energy-Conservation-Fan.io

After assembly, connect with Nezha breakout board, fan, sonar:bit and the PIR sensor.

 

The Energy Conservation Fan

Hardware connections

The Energy Conservation Fan

Software Programm

Click “Advanced” in the MakeCode to see more choices.

The Energy Conservation Fan

For programming, we need to add a package: click “Extensions” at the bottom of the MakeCode drawer and search with “PlanetX” in the dialogue box to download it.

The Energy Conservation Fan

Notice: If you met a tip indicating that some codebases would be deleted due to incompatibility, you may continue as the tips say or create a new project in the menu.

Code:

The Energy Conservation Fan

Link: https://makecode.microbit.org/_PsxagTgCkfDk

Result

If the sonar:bit detects objects and the PIR sensor detects the movement, the fans starts working or it stops driving.

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