# 非接觸式紅外線測溫魔塊

非接觸式紅外線測溫魔塊 (HKBM6002A)

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

這是一個非接觸式紅外線測溫魔塊，它可以偵測環境或人體的溫度。

### 產品參數

* 工作電壓：3.3V\~5V
* 型號：MRT-311
* 工作溫度：-30°C\~100°C
* 感測面積：0.35x0.35mm

### 接線教學

將紅外線測溫魔塊用4pin排線連接至Armourbit的I2C接口。

![](https://kittenbothk.readthedocs.io/en/latest/_images/infraCon.jpg)

### MakeCode編程教學

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

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

#### 加載PowerBrick插件：<https://github.com/KittenBot/pxt-powerbrick>

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

#### 紅外線測溫積木塊：

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

#### 紅外線測溫魔塊編程

**測溫編程：**

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

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

**LED編程：**

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

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

### 插件版本與更新

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

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


---

# 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/pwmodules/infratemp.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.
