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

Introduction: Build an IoT Plant Monitoring System With MicroBit and Grove WiFi Module

About: Hello there, I'm Abdulrahman Ahamed, a mechatronic engineer at Universiti Malaysia Pahang. I love making cool projects using different types of microcontrollers!

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! 💦🌱

Supplies

Step 1: Connection

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

Step 2: Code

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
  • After completing the code, download it on microbit

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

Step 3: Data Logging and Monitoring Using ThingSpeak

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

Step 4: Project Complete

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.

Be the First to Share

    Recommendations

    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Science Fair Challenge

      Science Fair Challenge
    • Digital Fabrication Student Design Challenge

      Digital Fabrication Student Design Challenge

    3 Comments

    0
    CeciliaHillway
    CeciliaHillway

    Question 6 months ago

    Hi,
    This Instructable is perfect for a project I am working on, but I have a question. The Grove Wifi Module you have listed is out of stock. Do you happen to know if the Grove Wifi modules that are not made by Cytron are compatible with the Micro:bit/Reka:bit? From what I can see Seeedstudio had a V.1 with the ESP8266, but it's no longer available, and a V.2 with ESP8285. Would that one work?
    Thanks.
    Cecilia

    0
    Alhamed
    Alhamed

    Reply 6 months ago

    Hi Cecilia, the Grove WiFi module now is back in stock, you may check the product page again.
    Answering your question, in order for you to use the "ESP8266" extension made by Cytron, you need to work with the same exact wifi module I used in this instructable. The extension will enable you to use ThingSpeak, Blynk, and Telegram API.

    0
    CeciliaHillway
    CeciliaHillway

    Reply 5 months ago

    Thanks for the reply, I actually logged in to let you know that I had been able to get one after all. I was concerned it would take a long time to be available again (because of the crazy supply chain issues), but fortunately, it was not the case! Now I'll be able to use your Instructable as a guide. Thank you again.