> 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/iot-make-easy-smart-home-education-kit/iot-make-easy-building-instructions/remote-security-door.md).

# Remote Security Door

Control the opening and closing of the window through an IoT platform.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/door.jpg)

### Building Instructions

[Building Instructions](https://github.com/kittenbothk/kittenbothk-Eng/raw/master/Kits/smart_home_iot/images/stove.pdf)

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

### Sample Wiring

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

### MakerCloud Version

#### Micro:bit

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

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

#### Futureboard

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

[Sample Program](https://github.com/kittenbothk/kittenbothk-Eng/raw/master/Kits/smart_home_iot/instructions/smartWindow_makercloud.sb3)

[Sample Image Files](https://github.com/kittenbothk/kittenbothk-Eng/raw/master/Kits/smart_home_iot/instructions/windowpic.rar)

### ObjectBlocks Version

#### Micro:bit

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

#### Futureboard

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

[Sample Program](https://github.com/kittenbothk/kittenbothk-Eng/raw/master/Kits/smart_home_iot/instructions/smartWindow_objectblocks.sb3)

[Sample Image Files](https://github.com/kittenbothk/kittenbothk-Eng/raw/master/Kits/smart_home_iot/instructions/windowpic.rar)

### Thingspeak Version

#### Micro:bit

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

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

#### Futureboard

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

[Sample Program](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/smart_home_iot/instructions/smartWindow_thingspeak.sb3)

[Sample Image Files](https://github.com/kittenbothk/kittenbothk/raw/master/Kits/smart_home_iot/instructions/windowpic.rar)

#### How to publish ThingSpeak data manually

Copy and paste the following link to the browser and change the field to field5, substitute the desired value(0/1/2) into after the = sign.

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

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

### Demonstration Video

{% embed url="<https://www.youtube.com/watch?v=nLj0LCgN1Uk>" %}

[Demonstration Video](https://www.youtube.com/watch?v=nLj0LCgN1Uk)
