Monitor Plant Health with Soil Moisture Sensors | evive

soil moisture sensor
Description
Learn how to monitor soil moisture for faster plant growth using a soil moisture sensor, PictoBlox programming, and evive TFT Display. Understand the importance of soil moisture understanding for plant health and fast growth.

Introduction

Monitoring plant health is very important for its fast growth. In this busy world, people usually forget to water their plants which leads to bad growth and health of their plants. For ensuring the complete development of plants it is necessary to know the amount of moisture present in the soil. Soil moisture sensor senses the amount of moisture present in the soil.

Soil Moisture sensor

Soil moisture sensors (Wikipedia) measure the volumetric water content in the soil. The two probes of the moisture sensor are connected to LM293 comparator. This sensor uses the two probes to pass current through the soil, and then it reads that resistance to get the moisture level.

Soil Moisture sensor

How does a Soil Moisture Sensor work?

The Soil Moisture Sensor uses capacitance to measure the water content of the soil (by measuring the dielectric permittivity of the soil, which is a function of the water content). The output from the sensor is an analog voltage value between 0 to 5V, which is linearly proportional to the moisture percentage of the soil.

Moisture Percentage = (Analog voltage * 100) / 1023 %

Circuit Diagram for the soil moisture sensor

The circuit of the soil moisture sensor is explained below:

  • + pin of the comparator is connected to the 5V pin of the evive board.
  • – pin of the comparator is connected to the GND pin of the evive board.
  • Out of AO(Analog output) and DO(digital output) AO pin is connected to the analog pin(here in our code we have used the A0 pin) of the evive board.

PictoBlox Code

In this example, we will display the moisture value on evive TFT Display:

  1. Open PictoBlox.
  2. Select the board as evive:
    Selecting Board
  3. Connect the evive.
    Select Port
  4. Make two variable to store the Sensor Value and Moisture Percentage:
    New Variable Pictoblox
  5. Create the following script using when evive starts up block:
    Soil Moisture
  6. Upload the code onto evive:
    Upload Code

You can download the PictoBlox program from here: Displaying soil moisture value on evive TFT Display

Output

The soil moisture percentage is displayed on the TFT Display.
soil moisture sensor

Conclusion

In conclusion, soil moisture sensors are important for monitoring the water content in the soil. They measure the volumetric water content in the soil by measuring the dielectric permittivity of the soil. The output from the sensor is an analog voltage value between 0 to 5V, which is linearly proportional to the moisture percentage of the soil. PictoBlox is used to program the soil moisture sensor and display the moisture value on evive TFT Display. Understanding soil moisture and monitoring it is essential for plant health and fast growth.

Table of Contents