Lego Fan Module

This is an electric fan compatible with Lego building bricks.

../_images/fan2.png

Wiring Diagram

Connect the fan module to the motor pins on the Robotbit or Armourbit.

../_images/fan1.jpg

../_images/2kmotorConRB1.jpg

../_images/fan_wire1.png

Reversing the connection is ok but the rotate direction will be changed too.

MakeCode Coding Tutorial

../_images/mcbanner.png

../_images/acbanner.png

This module can be used with Microbit and Meowbit.

ArmourBit


Load Powerbrick extension: https://github.com/KittenBot/pxt-powerbrick

Loading Extensions

Motor blocks:

../_images/motorblocks1.png

Controlling the motor:

../_images/motor1.png

Sample Code Download

Sample Code Link

Robotbit


Load Robotbit extension: https://github.com/KittenBot/pxt-robotbit

Loading Extensions

Motor blocks:

../_images/2kmotorblocks_rb.png

Controlling the motor

../_images/2kmotorcode_rb.png

Sample Code Link

Meowbit:

Load Robotbit expansion: https://github.com/KittenBot/meow-robotbit

Motor Blocks:

../_images/motorblocks1.png

Controlling the motor

../_images/2kmotorcode_meow.png

Sample Code Link

Extension Version and Updates

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

Makecode Extension Update

KittenBlock Coding Tutorial

../_images/kbbanner1.png

Armourbit


Load Powerbrick Extension

Select Powerbrick from the hardware column.

../_images/addextension2.png

Motor blocks

../_images/kbmotorblocks1.png

Controlling the motor

../_images/kbmotor1.png

Robotbit


Load Robotbit Extension

Select Micro:bit from the hardware column.

../_images/addRB1.png

Motor blocks

../_images/rbmotorblocks.png

Controlling the motor

../_images/rbmotorcode.png

FAQ

1:Why is there no reaction when I click the blocks?

Make sure you have connected the Micro:bit correctly and flash the firmware again.