# IoT智能路燈

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

### 組裝說明書下載

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

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

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

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

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

### MakerCloud平台設定

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

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

### 模型玩法

1. 填入Wifi登入資料與MakerCloud主題名稱。
2. 路燈會將環境亮度的數值上傳到物聯網平台。
3. 當環境轉暗時，路燈就會自動點亮。環境越暗路燈就會越亮。

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

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

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

### ObjectBlocks平台設定

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

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

### 模型玩法

1. 填入Wifi登入資料、ObjectBlocks登入資料與ObjectBlocks主題名稱。
2. 路燈會將環境亮度的數值上傳到物聯網平台。
3. 當環境轉暗時，路燈就會自動點亮。環境越暗路燈就會越亮。


---

# 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/inventorkit/iotupgrade/iot-zhi-neng-lu-deng.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.
