element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Forget Me Not Challenge Design Challenge Post 09: Soil Moisture Monitor
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: p-brane
  • Date Created: 23 Oct 2014 8:26 PM Date Created
  • Views 1022 views
  • Likes 0 likes
  • Comments 3 comments
  • forget_me_not
  • stm332u
  • soil_moisture_sensor
  • enocean
  • humidity_sensor
  • raspberrypi
  • iot_victorian
  • humidity_module
  • enoceanpi
  • hsm100
Related
Recommended

Forget Me Not Challenge Design Challenge Post 09: Soil Moisture Monitor

p-brane
p-brane
23 Oct 2014

Other Blogs in this project

Forget Me Not Design Challenge Week 01: The Introduction

Forget Me Not Design Challenge Week 02: The EnOcean Sensor Kit, EnOcean Pi, and Raspberry Pi Model B+ Unboxing

Forget Me Not Design Challenge Posting 03: The EnOcean Sensor Kit, EnOcean Pi, and Raspberry Pi Model B+ Setup, Configuration, and FHEM Operation

Forget Me Not Design Challenge Week 04: Tektronix TBS1052B-EDU Oscilloscope

Forget Me Not Design Challenge Post 05: EnOcean EOP-350 Universal Programmer Board

Forget Me Not Challenge Design Challenge Post 06: Cadsoft Eagle Schematics

Forget Me Not Challenge Design Challenge Post 07: Door Lock Monitor

Forget Me Not Challenge Design Challenge Post 08: Soldering Iron Monitor

Forget Me Not Challenge Design Challenge Post 10: Cat Feed Monitor

Forget Me Not Challenge Design Challenge Post 11: Project Summary

 

 

 

Overview

My original soil moisture monitor is shown in Figure 1. Moisture from the soil of a potted plant would enter the a housing through a tube containing a STM-332U Temperature Sensor module configured with a HSM-100 Humidity Sensor module to determine the moisture level of the soil.

 

image

Figure 1

 

Design Update

It was not clear that the humidity sensor would provide a good indication of the soil moisture so I added a soil resistance measurement to the soil moisture monitor (see Figure 2). The soil resistance measurement is made using a 10 k Ohm resistor and a soil resistance probe connected as a resistor divider connected between Switched Power (SWPWR) and ground. The center tap of the resistor divider is connected to the ADIO0 input of the STM-332U temperature sensor. The soil resistance probe is made out galvanized nails that as space close together. The two nails act as a variable resistor in the presents of water and ions in moist soil.

 

image

Figure 2

 

Temperature Sensor Modifications

I modified the STM-332U as shown in Figure 3. A 1206 size resistor was soldered between ADIO0 and ground. Wires with a connector on the end were soldered to ADIO0 and SWPWR. The connectors would allow the soil resistance probe to be easily attached. To protect the module form surges a 1k Ohm series resistor was added between the soil resistance probe and the connectors.

 

image

Figure 3

 

Temperature Sensor Configurations

The STM-332U was configuration was modified using DolphinView as shown in Figure 4. This module was set up to report temperature, humidity, set point, and occupancy (A5-10-10 EPP). I also reduced the threshold for reporting changes in humidity and set point. This did not provide a very fast update rate so I also set the module to wake up and report every 16 seconds.

 

image

Figure 4

 

Figure 5 shows the physical modifications to the STM-332U temperature sensor and the HSM-100 humidity sensor before and after it is installed.

 

image

Figure 5

 

Figure 6 shows the smallest transparent box I could find. It was in stock and available for immediate delivery. I though it was rather big from the specs at the time I ordered it but it turns out to be very well made and a good size for this prototype. I could not find rigid plastic pipe and fittings of the small enough diameter for the box at my local hardware store so I used flexible tubing and a press on fitting to couple the tubing to the box. To support the tubing and the soil resistance probe, I used a ¼ inch threaded rod.

 

1k Ohm protection resistors were soldered into each lead of the cable going to the soil resistance probe. These resistors would protect the temperature sensor IC from static discharges. The soil resistance probe was made from galvanized nails. Heat shrink tubing was used to protect the solder connections and some of the tubing was used to hold the nails in place. The wires from the nails were run through the tubing into the box. Tie-wraps were used to hold the tubing to the threaded rod.

 

image

Figure 6

 

With the moisture monitor assembly complete, the modified STM-333U and HSM-100 were attached to the soil resistance probes and placed in the housing (see Figure 7).

 

image

Figure 7

 

The soil moisture monitor is approximately 2 feet long (see Figure 8) and should be easily placed in most medium to large potted plants.

 

image

Figure 8

 

Moisture Monitor Tests

Figure 9 shows my first soil test. The soil moisture monitor was placed into a previously opened bag of potting soil. The FHEM reports the set point at 141 which would indicate a soil resistance of around 10 K ohms (9.98k produces a set point reading of 130). For some reason, FHEM would not report both the set point and humidity in real time. I am still troubleshooting my FHEM configuration to determine the cause.

 

image

Figure 9

 

I used DolphinView to view real time changes in the humidity and soil resistances. Figure 10 shows my test to determine how well the two moisture monitor techniques work. I cleaned the soil probe after the soil test and placed it a shallow bucket of clean tap water and let it sit for a while. The set point reading for soil resistance ranged between 174 and 177. The humidity sensor reported 62% during this test.

 

I clean and dried the soil probe and let it sit for a while. The set point reading for soil resistance was 0 as expected and the humidity reading spiked to 66% and slowly settled to around 59% (It’s raining here today).

 

Then I placed the moisture monitor into the soil of an actual potted plant. The set point reading jumped up to 181 and the humidity reading is about 59%.

 

image

Figure 10

 

Figure 11 shows the moisture monitor operating and measuring the soil resistance and humidity of a potted plant.

 

image

Figure 11

 

Summary

The soil moisture monitor was able to measure humidity and soil resistance, but the sensitivity is very course. The humidity sensor in this configuration is not effective at all at determining the soil moisture. My guess is that the moisture flow into the plastic box housing is too low. The soil resistance probe worked way better than I expected but still need work to know what soil moisture levels make for a health plant [1] [2] [3].

 

Video

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

References

[1] Wikipedia, Soil Resistivity

[2] GardonBot, Soil Moisture Sensor

[3] UMassAmherst, Measuring Soil Moisture

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 10 years ago +1
    NIce work. Your design shows no means of air flow, so effectively there is likely to be little change from the air trapped inside the housing. With the smaller tube, and nothing 'forcing' the air to exchange…
  • janisalnis
    janisalnis over 10 years ago

    Nice idea about moisture sensor for soil humidity measurement, but the sensor would need to be placed inside the soil, however it would get wet then. So there seems to be no streight forward solution.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • p-brane
    p-brane over 10 years ago in reply to mcb1

    Hi Mark,

    I was expecting that moisture from the soil would diffuse into the box because the soil moisture concentration should be higher most of the time. The concentration difference in theory should equalize so that the humidity in the box should be same as the humidity in the soil. I'd like to measure the soil moisture and humidity to make a look up table for the water me reminders but done have the test equipment to make the measurements. I would also like to do a leak and airflow measurement on the box based on you comments.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago

    NIce work.

     

    Your design shows no means of air flow, so effectively there is likely to be little change from the air trapped inside the housing.

    With the smaller tube, and nothing 'forcing' the air to exchange, it is unlikely to reflect the soil moisture.

     

    Possibly an air bleed top and bottom might help with sucking it up, but the container is going to be influenced by temperature and therfore impact on the RH reading.

     

    Your Humidity v Moisture measurement will let you know overall transvaporation and be able to adjust an automatic reminders accordingly.

    ie water me before I dry out....

     

    Mark

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube