Smart Bedroom

Modern home appliances are able to be controlled via IoT, in this example a smart bedroom equipped with smart appliances is simulated.

../../../../_images/ex6.png

Building Instructions and Sample Programs

Download Resource Pack

Sample Wiring:

../../../../_images/bedroom_wire_1.87.png

IoT extension:

IoT:

../../../../_images/iot.png

Micro:bit Sample Program:

../../../../_images/bedroom_code_1.87.png

Sample Program Download

IoT Sample Program:

../../../../_images/bedroom_iot_code_1.87.png

Activating the local IoT server

../../../../_images/mqtt_1.87.png

Model Procedure

  1. In the IoT Program on KittenBlock, turn on the local server.

  2. Power on the model and wait for the WifiBrick to connect to the internet.

  3. The character will report the current temperature and moisture periodically after pressing A on the Micro:bit.

  4. Use the IoT program to control the appliances.