Build an IoT Plant Monitoring System with MicroBit and Grove WiFi Module

Build an IoT Plant Monitoring System with MicroBit and Grove WiFi Module

IoT-based Smart Farming improves the entire Agriculture system by monitoring the field in real-time. Come join me in this tutorial to learn how to keep track of your plant soil moisture with the use of the MicroBit and Grove WiFi Module, from anywhere in the world!

Video Tutorial

Components Requird

Connection

compressjpgcircuit diagram plant mon system

By following the diagram above:

  • Connect the grove wifi module to P15 and P16
  • Connect the analog pin (A0) of soil moisture sensor to P1

Code

microbit screenshot 3 (1)

Now, connect your REKA:BIT to your device and open MakeCode editor to start programming.

  • Add “ESP8266 Cytron” extension and follow the code block in the picture above
  • Follow the steps here to create a channel in ThingSpeak, and get the API key to store your data in the cloud.
    If you want to learn more on how to send data to ThingSpeak using MicroBit with grove WiFi module, please check the video tutorial here
  • After completing the code, download it on microbit

You can also view and edit the code by clicking here!

Project Completed

compressjpgscreenshot 270 (1)

Upon completing the project successfully, the reading value of the sensor should appear in your channel at ThingSpeak.
Note: The dryer the soil, the higher the reading value.

Related Products