> 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/inventorkit/iotupgrade/iot-zhi-neng-fang-huo-jing-bao.md).

# IoT智能防火警報

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

### 組裝說明書下載

[下載組裝說明書](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/classroom_inventor/iot_instructions/images/firealarm.pdf)

![../../../\_images/firealarm\_wire1.png](https://kittenbothk.readthedocs.io/en/latest/_images/firealarm_wire1.png)

### 參考程式(MakerCloud版本)

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

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

### MakerCloud平台設定

![../../../\_images/fire\_makercloud1.png](https://kittenbothk.readthedocs.io/en/latest/_images/fire_makercloud1.png)

![../../../\_images/fire\_makercloud2.png](https://kittenbothk.readthedocs.io/en/latest/_images/fire_makercloud2.png)

### 模型玩法

1. 填入Wifi登入資料與MakerCloud主題名稱。
2. 探測器會左右擺動，當感應器探測到火焰時(可以電筒模擬)，就會響起警報並且在物聯網平台警告用家。

### 參考程式(ObjectBlocks版本)

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

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

### ObjectBlocks平台設定

![../../../\_images/fire\_objectblocks1.png](https://kittenbothk.readthedocs.io/en/latest/_images/fire_objectblocks1.png)

![../../../\_images/fire\_objectblocks2.png](https://kittenbothk.readthedocs.io/en/latest/_images/fire_objectblocks2.png)

### 模型玩法

1. 填入Wifi登入資料、ObjectBlocks登入資料與ObjectBlocks主題名稱。
2. 探測器會左右擺動，當感應器探測到火焰時(可以電筒模擬)，就會響起警報並且在物聯網平台警告用家。
