# T/T DC Motors

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

This is a DC motor with a low noise and high torque output.

### Connection

#### ArmourBit

Connect the motor to the motor ports on the Armourbit.

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

```
Plugging the motor in the reverse way will not damage the motor, but the rotating direction will be reversed.
```

#### RobotBit

Connect the motor to the motor ports on the Robotbit.

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

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

```
Plugging the motor in the reverse way will not damage the motor, but the rotating direction will be reversed.
```

### MakeCode Coding Tutorial

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

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

#### This module can be used by both Micro:bit and Meowbit.

***

#### ArmourBit

#### Load PowerBrick Extension: <https://github.com/KittenBot/pxt-powerbrick>

#### [Loading Extensions](https://sharinghub-eng.kittenbot.hk/wifibrick_iot/makecode/mckb)

#### Blocks for controlling motors:

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

#### Programming the motors[](https://kittenbothk-eng.readthedocs.io/en/latest/motors/ttmotor.html#programming-the-motors)

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

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

#### Makecode Tutorial Video

{% embed url="<https://www.youtube.com/watch?v=gUR2DbgVTCQ>" %}

***

#### RobotBit

#### Load Robotbit Extension

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

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

#### Blocks for controlling motors:

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

#### Programming the motors

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

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

***

#### Meowbit:

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

#### [Loading Extensions](https://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/kittenbot-and-makecode)

#### Blocks for controlling motors:

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

#### Programming the motors

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/2kmotorcode_meow1.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://sharinghub-eng.kittenbot.hk/programming-platforms/makecode-tutorial/makecode-extension-updates)

### KittenBlock Coding Tutorial

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

***

#### Armourbit

#### Load Powerbrick Extension

Open the hardware menu and select Powerbrick to load the extension for Micro:bit and Powerbrick.

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

#### Blocks for controlling motors:

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

#### Programming the motors

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

***

#### Robotbit

#### Load Robotbit Extension

Open the hardware menu and select Micro:bit to load the extension for Micro:bit and Robotbit.

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

#### Blocks for controlling motors:

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

#### Programming the motors

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

### FAQ

1: The Micro:bit does not react when I click the programming blocks.

Make sure the Micro:bit has been connected to the Kittenblock and then try flashing the firmware.
