# GeekServo Fan

This is an electric fan compatible with Lego building bricks.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/fan2.png)

### Wiring Diagram

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

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/fan1.jpg)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/2kmotorConRB1.jpg)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/fan_wire1.png)

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

### MakeCode Coding Tutorial

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/mcbanner.png)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/acbanner.png)

#### This module can be used with Microbit and Meowbit.

#### ArmourBit

***

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

[Importing Extensions Tutorial](/programming-platforms/makecode-tutorial/kittenbot-and-makecode.md)

#### Motor blocks:

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/motorblocks1.png)

### Controlling the motor:

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/motor1.png)

[Sample Code Download](https://bit.ly/PowerbrickM11_01Hex)

[Sample Code Link](https://makecode.microbit.org/_RYHivyayYL4q)

#### Robotbit

***

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

#### [Loading Extensions](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/powerBrickMC.html)

#### Motor blocks:

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/2kmotorblocks_rb.png)

#### Controlling the motor

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/2kmotorcode_rb.png)

[Sample Code Link](https://makecode.microbit.org/_33HMywgx9H97q)

#### Meowbit:

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

#### Motor Blocks:

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/motorblocks1.png)

### Controlling the motor

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/2kmotorcode_meow.png)

[Sample Code Link](https://makecode.com/_2z0C8v6XAC5y)

### 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](https://kittenbothk-eng.readthedocs.io/en/latest/Makecode/makecode_extensionUpdate.html)

### KittenBlock Coding Tutorial

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbbanner1.png)

#### Armourbit

***

#### Load Powerbrick Extension

Select Powerbrick from the hardware column.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/addextension2.png)

#### Motor blocks

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbmotorblocks1.png)

#### Controlling the motor

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbmotor1.png)

#### Robotbit

***

#### Load Robotbit Extension

Select Micro:bit from the hardware column.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/addRB1.png)

#### Motor blocks

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/rbmotorblocks.png)

#### Controlling the motor

![](https://kittenbothk-eng.readthedocs.io/en/latest/_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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/functional_module/geekfan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
