# 9g小舵機

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

這是一款小型舵機，是製作入門機械人不可或缺的配件之一。

### 產品參數

* 工作電壓：3.3V\~6V
* 額定電壓：4.8V
* 最大扭力：1.6kg±0.2kg/cm(4.8V)
* 角度範圍：0°\~180°
* 重量：9g
* 接口：橙紅啡線

### 接線方法

將舵機的橙紅啡線連接至RobotBit的舵機接口。

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

```
啡色接負極，紅色接正極，橙色接數據
```

### MakeCode編程教學

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

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

#### 此模組可供Microbit和Meowbit使用。

#### RobotBit

#### 加載RobotBit插件：

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

#### 舵機積木塊:

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

#### 舵機編程

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

[參考程式網址](https://makecode.microbit.org/_XkbgVe1cjV9A)

#### Meowbit:

#### 加載Powerbrick插件：

#### 在擴展頁直接搜尋Powerbrick (powerbrick已經過微軟認證，可以直接搜尋)

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

#### [詳細方法](/programmingplatforms/makecode/kittenbotandmakecode.md)

#### 舵機積木塊:

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

### 舵機編程

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

[參考程式網址](https://makecode.com/_bg8TEK38jP6a)

### 插件版本與更新

插件可能會不定時推出更新，改進功能。亦有時候我們可能需要轉用舊版插件才可使用某些功能。

詳情請參考: [Makecode插件版本更換](/programmingplatforms/makecode/makecodeextupdate.md)

### KittenBlock編程教學

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

#### Armourbit，Robotbit與Meowbit編程方法一樣，請加載相應插件

#### 這教學使用Microbit作例子，每款擴展板/主控板的使用教學請參考相應頁面。

#### Robotbit

#### 加載Robotbit插件

在左上角小貓logo旁邊的硬件欄選擇Microbit，加載Microbit與Robotbit插件。

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

#### 舵機積木塊

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

#### 舵機編程

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

### FAQ

1：為什麼我點擊積木塊沒有反應呢？

首先確保已經連接好Microbit，然後上載韌體再試一試。


---

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