Microbit Smart Home Kit: Auto Plant Watering System

Microbit Smart Home Kit: Auto Plant Watering System

Introduction

Smart Home Kit is a product about smart home projects base on micro:bit which is developed by ELECFREAKS. This kit includes components commonly used at home as a TMP36 temperature sensor, sound sensor, crash sensor, servo, motor. You can build scenes like windowsill, wardrobe and fish tank, create yourself smart sweet home and programming to intelligently driving them using micro:bit. In this tutorial, we will share how to develop an automatic plant watering system.

Video

This video shows how to develop an auto plant watering system project using Microbit Smart Home Kit.

Hardware Preparation

This is the list of hardware used in the video.

OR

Optional

Sample Program

This is the MakeCode sample program for smart fan project. You need to install an additional extension called "smarthome".

Capture 1
Figure 1: Sample Code

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."