# 智能澆花裝置

大千世界，興趣各異，愛花花草草之人不乏。但難得出一趟遠門就不得不難為它們，時間長一點更是無法輓救。所以智能澆花裝置是必不可少，另外還帶有遠程報信功能，澆花完成通過郵件方式告知，另你更安心。

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

### 搭建說明書與參考程式資源包:

[資源包下載](http://bit.ly/AIOTKit_SH_ResourcsePack)

### 參考接線:

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

### Micro:bit參考程式:

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

[參考程式下載](https://makecode.microbit.org/_MD5hwK62VK6L)

### 加入插件:

IoT:

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

### IoT參考程式:

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

### 啟動本地MQTT伺服器

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

### 程式流程

1. 將Micro:bit程式上載到Micro:bit。
2. 等待Wifibrick連上網絡。
3. 當泥土土壤濕度太低，灑水器會自動啟動，並通知伺服器。
4. IoT程式的小貓會說出灑水次數。


---

# 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/kits/aiot/info/flowerpot.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.
