> 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/safety-bathtub.md).

# Safety Bathtub

If the user faints when taking a bath, the system sends an alert to the family members.

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

### Building Instructions

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

### Sample Wiring

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

### MakerCloud Version

#### Micro:bit

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

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

#### Futureboard

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

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

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

### ObjectBlocks Version

#### Micro:bit

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

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

#### Futureboard

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

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

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

### ThingSpeak Version

#### Micro:bit

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

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

#### Futureboard

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

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

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

### Demo Video

{% embed url="<https://www.youtube.com/watch?t=1s&v=tRQiIUIZCpo>" %}

[Demo Video](https://www.youtube.com/watch?v=tRQiIUIZCpo\&t=1s)
