> 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-hanger.md).

# IoT Hanger

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

### Building Instructions

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

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

### Sample Program(MakerCloud)

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

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

### MakerCloud Set Up

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

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

### Model Instructions

1. Fill in WiFi and MakerCloud credentials.
2. Publish message "IN" or "OUT" to control the hanger.

### Sample Program(ObjectBlocks)

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

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

### ObjectBlocks Set Up

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

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

### Model Instructions

1. Fill in WiFi and ObjectBlocks credentials.
2. Publish message "IN" or "OUT" to control the hanger.
