# 平安浴缸

假如偵測到用家在浴缸中昏迷就會透過IoT平台警告家人。

### 搭建說明書

{% file src="/files/rkdofCHVbuZrsUptfIHv" %}

### 參考接線

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

### MakerCloud版參考程式

#### Micro:bit

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

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

#### 未來板

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

[參考程式](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/smart_home_iot/instructions/smartBathtub.sb3)

[參考圖檔下載](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/smart_home_iot/instructions/bathpic.rar)

### ObjectBlocks版參考程式

#### Micro:bit

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

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

#### 未來板

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

[參考程式](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/smart_home_iot/instructions/smartBathtub_objectblocks.sb3)

### ThingSpeak版參考程式

#### Micro:bit

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

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

#### 未來板

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

[參考程式](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/smart_home_iot/instructions/smartBathtub_thingspeak.sb3)

### 示範短片

{% embed url="<https://www.youtube.com/watch?t=1s&v=tRQiIUIZCpo>" %}

[示範短片](https://www.youtube.com/watch?v=tRQiIUIZCpo\&t=1s)


---

# 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/iot_make_easy/instructions/bathtub.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.
