> For the complete documentation index, see [llms.txt](https://sharinghub-eng.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-eng.kittenbot.hk/educational-kit-sets/micro-bit-inventor-education-kit/micro-bit-inventor-kit-iot-upgrade/iot-streetlight.md).

# IoT Streetlight

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

### Building Instructions

[Download Building Instructions](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/classroom_inventor/iot_instructions/images/streetlamp.pdf)

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

### Demo Program(MakerCloud)

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

[Sample Program](https://makecode.microbit.org/_F629j8DTKAe0)

### MakerCloud Set Up

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

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

### Model Instructions

1. Fill in WiFi credentials and MakerCloud topic information
2. Light Value will be updated to MakerCloud automatically.
3. Streetlight turns on when it is dark.

### Sample Program(ObjectBlocks)

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

[Sample Program](https://makecode.microbit.org/_YrJELVRmmJMm)

### ObjectBlocks Set Up

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

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

### Model Instructions

1. Fill in WiFi credentials and ObjectBlocks credentials.
2. Light Value will be updated to MakerCloud automatically.
3. Streetlight turns on when it is dark.
