> 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/kits/sensegreen-nurture-hub/iot-ban-shuo-ming-shu-yu-can-kao-cheng-shi.md).

# IoT版說明書與參考程式

## 接線圖

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

## 參考程式

### MakerCloud 設定教學

建立IoT主題然後設定以下4個數據類型。

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

MakerCloud會自動生成數據圖表。

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

建立4個按鍵用於控制培植系統。

<div><figure><img src="/files/Xg7KHYbY49ewDV8COGJi" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="/files/9Yyx321IPKYtm5gm5Ps3" alt=""><figcaption></figcaption></figure></div>

### MakerCloud版 參考程式

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

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

### ObjectBlocks 設定教學

按照下圖建立相應的渠道。

{% hint style="info" %}
請剔選Generate Webhook。
{% endhint %}

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

在儀錶板加入工具，用於顯示感應器所讀到的數據。

<div><figure><img src="/files/MV63sQe2O9pXvEa3aBG9" alt=""><figcaption></figcaption></figure> <figure><img src="/files/SnbJgMTEw5brznx3LH08" alt="" width="563"><figcaption></figcaption></figure></div>

在儀錶板加入工具，用於發送訊息到Micro:bit控制培植系統。

<div><figure><img src="/files/PJ3Zs2LbkbIp0NP3jjzY" alt=""><figcaption></figcaption></figure> <figure><img src="/files/C1zL6ULDwuaV4JrEY3na" alt="" width="563"><figcaption></figcaption></figure></div>

### ObjectBlocks版 參考程式

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

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


---

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

```
GET https://sharinghub.kittenbot.hk/kits/sensegreen-nurture-hub/iot-ban-shuo-ming-shu-yu-can-kao-cheng-shi.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.
