> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/functional_modules/sugar/co2.md).

# Sugar二期 二氧化碳感應器模組

<figure><img src="/files/G7YVDjXZ4AC2vqiGWEmR" alt=""><figcaption></figcaption></figure>

這是一個二氧化碳感應器，它可以感測到空氣中二氧化碳及環境溫度與濕度。

### 產品參數

* 尺寸：24 x 24 x 23 mm
* 類型：I2C 模組

### 產品接線

#### Robotbit Edu

用4Pin 連接線將模組與Robotbit Edu連接起來。

![](/files/H98ccvrX5SJRbqrbtTzC)

#### Robotbit 2.2

用4Pin 連接線將模組與Robotbit 2.2連接起來。

<figure><img src="/files/JFpUxo3akOQ1TKbwuVgl" alt=""><figcaption></figcaption></figure>

### 編程教學

#### MakeCode編程教學

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

#### 加載Sugar插件：

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

![](https://kittenbothk.readthedocs.io/en/latest/_images/sugar_search.gif)

#### 你亦可以用插件地址搜尋

Sugar插件：<https://github.com/KittenBot/pxt-sugar>

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

### 參考程式

{% embed url="<https://makecode.microbit.org/_HAU0AiEy7R9j>" %}

[參考程式](https://makecode.microbit.org/_HAU0AiEy7R9j)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://sharinghub.kittenbot.hk/functional_modules/sugar/co2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
