Soil Moisture Sensor With Watering Warning

Introduction: Soil Moisture Sensor With Watering Warning

About: Cloud services for IoT projects

We are creating a device that measures soil moisture, based on a WEMOS D1 mini and a Capacitive Soil Moisture sensor.

With cloud integration the measurement of the sensor sent to the IoT Guru Cloud, where we get fancy graphs and we can set a warning that we need to watering the plant.

Supplies:

WEMOS D1 mini

Capacitive Soil Moisture sensor

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Connection of the Hardware

The Capacivite Soil Moisture sensor has three pin:

  1. Ground
  2. Vcc
  3. Analog output

You can connect this pins to the WEMOS D1 mini in same order:

  1. D5
  2. D0
  3. A0

Step 2: Arduino Source Code

The source code is contains an IoT Guru Cloud integration, you can check out our Tutorials about the integration. You will need:

  • userShortId

  • deviceShortId

  • deviceKey

  • nodeShortId

  • fieldName
The code will send an analog measurement in every one minute.

Step 3: Check the Graph in Your Account

If your device can connect and can send data, you will be see something like this:

https://iotguru.live/field/9e8df7a0-f01e-11e9-a95e-071b2aa4809f/analog

Step 4: Watering Warning

You can set range alert and the IoT Guru Cloud will be alert you whenever the measurement is less than the minimum or greater than the maximum.

Be the First to Share

    Recommendations

    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    Discussions