# 9g Servo

![](https://kittenbothk.readthedocs.io/en/latest/_images/9gservo.png)

An entry level servo.

### Product Specifications

* Voltage: 3.3V\~6V
* Rated Voltage: 4.8V
* Torque: 1.6kg±0.2kg/cm(4.8V)
* Range: 0°\~180°
* Weight: 9g
* Connector: Dupont

### Hardware Connection

Connect the servo to the servo port.

![](https://kittenbothk.readthedocs.io/en/latest/_images/9gservo_con.png)

### MakeCode Programming Tutorial

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

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

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

#### The programming for ArmourBit and Robotbit are identical.

#### ArmourBit

***

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

#### [Loading Extension](/programming-platforms/makecode-tutorial/kittenbot-and-makecode.md)

#### RobotBit

***

#### Load Robotbit Extension:

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

***

#### Blocks for controlling servos:

![](https://kittenbothk.readthedocs.io/en/latest/_images/9gservo_block.png)

#### Programming

![](https://kittenbothk.readthedocs.io/en/latest/_images/9gservo_code.png)

[Sample Program](https://makecode.microbit.org/_XkbgVe1cjV9A)

#### Meowbit:

#### Load Robotbit extension:

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

#### Blocks

![](https://kittenbothk.readthedocs.io/en/latest/_images/9gservo_block1.png)

### Programming

![](https://kittenbothk.readthedocs.io/en/latest/_images/9gservo_code_meow.png)

Sample Program

### 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](/programming-platforms/makecode-tutorial/makecode-extension-updates.md)

#### Armourbit

#### Load Powerbrick extension

Select Powerbrick from the Hardware Menu.

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

#### Blocks for controlling servos:

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

#### Programming the servos:

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

[Sample Code Link](https://bit.ly/PowerbrickM12_01sb3)

***

#### 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 servos:

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

#### Programming the servos

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


---

# 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/actuators/9g-servo.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.
