The SparkFun Soil Moisture Sensor is a simple breakout for measuring the moisture in soil and similar materials. The soil moisture sensor is pretty straightforward to use. The two large, exposed pads function as probes for the sensor, together acting as a variable resistor. The more water that is in the soil means the better the conductivity between the pads will be, resulting in a lower resistance and a higher SIG out. This version of the Soil Moisture Sensor includes a 3-pin screw pin terminal pre-soldered to the board for easy wiring and setup.
To get the SparkFun Soil Moisture Sensor functioning, all you will need is to connect the VCC and GND pins to your Arduino-based device (or compatible development board). You will receive a SIG out, which will depend on the amount of water in the soil. One commonly known issue with soil moisture senors is their short lifespan when exposed to a moist environment. To combat this, we’ve had the PCB coated in gold finishing (ENIG, or Electroless Nickel Immersion Gold).
Note: Check the Hookup Guide below for assembly and weatherproofing instructions, as well as a simple example project that you can put together yourself!
If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.
Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels
Based on 4 ratings:
Hello, I am using this part since a couple of weeks. I am tetsing it with my plant and I am suprised to see some stange value (if it is). First I mesure the value with the sensor outside of the soil. It return me something like 12. The I insert in glass of fully dreid soil. It return me a value of 860. Then into a soil humid. It return me something like 700, and a soil dry. Instead of a value close to 100 or below 300, it return a value of 700.
Then I tried with my plant. I gave to my plant a lot of water and then inserted the sensor into soil for one week. At the begining, the sensor return me a value of 779. During the week, I expected to see the value going down, but not. Now the soil is fully dried and the sensor return me a value of 650. It's strange because it should print a value below 300. If I remove the sensor from the soil, it print me a value of 12.
I do not understand when the soil is fully dried, I do not have a value below 300 or around 100.
FYI: I inserted the 3/4 of the "legs" into the soil. If I insert only 50% of the legs, the values seam to be better...
Sorry to hear about the trouble with the moisture sensor. Have you reached out to our technical support department? They can be reached at firstname.lastname@example.org - they're usually very good at helping make sense out of abnormal readings.
Easy to use and gives better readings than similar-looking sensors from other suppliers. The documentation is excellent and easy to follow.
The addition of the screw terminals made the physical installation easy (and easy to rewire w/ longer cables) in flower pots. Once it was wired, I used a RPi to get the various readings I needed to control water pumps.
Used this little guy for my first year engineering final project, and had no issues. Pretty easy to setup, just three pins, and a useful little gadget to play around with.