"It’s Here! The BFCM Sale of the Year – Grab Your Favorites!"

micro:bit Remote Monitoring and Controlling System

Hi, in this project we will use the microbit to make a system that can remotely monitor the light value and remotely control the lights in the home. Its principle is very simple, we only need to connect the microbit to WiFi and upload the light value in the room to the KidsIot platform, we can remotely monitor the light value in the home through the KidsIot platform, and use the remote control button in the KidsIot to control the light switch in our home.

Materials required

Remote Monitoring and Controlling System
BBC micro:bit V2 x 1

Remote Monitoring and Controlling System
IoT:bit : Internet WIFI extension board for micro:bit x 1

Remote Monitoring and Controlling System
Octopus Single RGB Rainbow LED x 1

Remote Monitoring and Controlling System
Octopus light sensor x 1

Remote Monitoring and Controlling System

Go to MakeCode: (makecode.microbit.org/)

Reference in this program: https://www.elecfreaks.com/learn-en/microbitKit/iot_kit/how_to_use_kidsiot.html

Code:

Remote Monitoring and Controlling System

Remote Monitoring and Controlling System

Link:

Result:

Connect WIFI when on start. Continuously judge if the WIFI is connected successfully, if yes, a tick will be shown. Continuously judge if the connection to KidsIoT is ready, if yes, a small icon will be shown or it continues connecting. Continuously judge if the connection to KidsIoT is a success, if yes, the data (given by the light sensor connected to P1) will be uploaded. If the switch of the platform is on, it plays a music of “Power Up”. If the switch of the platform is off, it plays a music of “Power Down”

Remote Monitoring and Controlling System

If you have any ideas or opinions, please feel free to contact us via [email protected].

Leave a Reply

images
In March, ELECFREAKS supported 5 schools to carry out school science and technology festival activities
images
Children’s Programming Education is the Future Trend
images
Technical verification! Nezha series products can complete WRO competition tasks
images
Let's take part in the Ceremony of the New Factory of ELECFREAKS together!
images
Bluetooth Bee(HC-05 and HC-06) User Guide
images
In March, ELECFREAKS supported 5 schools to carry out school science and technology festival activities
Monthly Archive