Monitoring Soil Moisture Using Blynk and micro:bit

Monitoring Soil Moisture Using Blynk and micro:bit

With this IoT system, you can monitor the soil moisture of your plants using micro:bit and soil moisture sensor. The sensor readings are collected and transmitted to Blynk cloud server, therefore, you will be able to keep an eye on your soil moisture level from anywhere using your phone.

 

Video Tutorial

 

Components Required

 

Connection

By following the diagram above:

  • Connect the grove Wi-Fi module to P15 and P16
  • Connect Maker Soil Moisture sensor to P2

 

Blynk Setup

    1. go to Blynk website, create a new account and log in
    2. create a new template

       
    3. from datastream add a virtual pin 


       
    4.  then add a new device


       
    5. select the template that you have created
    6. now copy the token and paste it into the micro:bit code
    7. on your phone, open Blynk app and click on micro:bit device
    8. from the widget box, add a Gauge and select virtual pin 0

     

    Code

    Connect your micro:bit to your computer and open MakeCode editor to start programming.

    • Add “ESP8266 Cytron” extension and follow the code block in the picture above
    • Type in the name and password of your WiFi
    • Paste the Token that you have copied from Blynk, and type in "V0" in Pin section
    • After completing the code, download it on microbit

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

     

    Project Complete

    Now you can monitor the soil moisture using Blynk app on your phone. The higher the value, the dryer the soil.

    Related Products


    Related Posts

    RBT Automatic Plant Watering Project - Automatic Pet Feeder

    RBT Automatic Plant Watering Project - Automatic Pet Feeder

    Do you know that by using the same component from the Auto Plant Watering Project Kit can be turned into an automatic pet feeder?....
    RBT Auto Plant Watering Kit Project - Not Enough Water!

    RBT Auto Plant Watering Kit Project - Not Enough Water!

    Nooooo, my plant is dying because I didn't refill the cup of water eventhough I turned on the auto plant watering system for days! What should I do?....
    RBT Automatic Plant Watering IoT Project Using Blynk IoT

    RBT Automatic Plant Watering IoT Project Using Blynk IoT

    Turning RBT Automatic Plant Watering Project Kit into an IoT project that allows users to control and monitor using Blynk IoT...