# Sugar二期 環境氣壓模組

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

這個是環境氣壓模組，除了溫度之外它還可以探測到氣壓數值。

### 產品參數

接口: I2C接口

類型：I2C 模組

### 產品接線

#### Robotbit Edu

用4PIN連接線將模組連接到Robotbit上的I2C接口。

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

#### Robotbit 2.2

用4PIN連接線將模組連接到Robotbit 2.2接口。

<figure><img src="/files/DoDaqAA9Iq8qnibaLeu3" 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/_UHs8PafkARch>" %}

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


---

# 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/functional_modules/sugar/env2.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.
