Home > Projects > IoT System To Monitor Soil Moisture With Arduino

IoT System To Monitor Soil Moisture With Arduino

Summary of IoT System To Monitor Soil Moisture With Arduino


This article details an IoT project monitoring soil moisture using an Arduino MKR1000 and a SparkFun Soil Moisture Sensor. The system reads analog data, connects to WiFi, and transmits values to the Carriots cloud platform. It integrates with IFTTT to send SMS alerts when moisture drops below a threshold, while also displaying status on an LED matrix.

Parts used in the IoT System To Monitor Soil Moisture With Arduino:

  • Arduino MKR1000
  • SparkFun Soil Moisture Sensor (with Screw Terminals)
  • YL-38 + YL-69 sensor
  • LEDs matrix

This IoT system monitors the soil moisture using Arduino and sensors. Data are sent to an IoT cloud platform to access it anywhere.

IoT System To Monitor Soil Moisture With Arduino

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
× 1
SparkFun Soil Moisture Sensor (with Screw Terminals)
SparkFun Soil Moisture Sensor (with Screw Terminals)
× 1

Software apps and online services

Maker service
IFTTT Maker service

Story

Quick Solutions to Questions related to IoT System To Monitor Soil Moisture With Arduino:

  • How does the system detect dry soil?
    The Arduino MKR1000 controls the sensor and sends data to the Carriots IoT platform, which detects when stored values fall under a specific threshold level.
  • What components are required to build this project?
    You need an Arduino MKR1000 or compatible board, a moisture sensor, a free Carriots account, and an IFFT account.
  • How is the humidity value calculated from the sensor?
    The code reads data from pin A1 and calculates humidity using the formula: (1023 - moistureHum) * 100 / 1023.
  • Can I access the sensor data from anywhere?
    Yes, data coming from sensors is sent to a cloud platform like Carriots, allowing you to access it anywhere.
  • Does the system send notifications automatically?
    Yes, when the soil gets too dry, the system invokes an IFFT service to send a short message alerting the user.
  • What programming language is used for the Carriots listener script?
    The Carriots platform uses Groovy as a scripting language to invoke external services within the listener process.
  • How do I configure the device on the Carriots platform?
    You must create a Project, Service, and Group hierarchy, then configure the device using a unique developer ID and API Key found in Settings.
  • Which service in IFTTT triggers the message sending?
    The Maker webhooks service is selected in IFTTT, where you configure an event name that triggers the sending message process.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top