Description: The SparkFun Soil Moisture Sensor is a simple breakout for measuring the moisture in soil and similar materials. The soil moisture sensor is pretty straight forward 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 and will result in a lower resistance, and a higher SIG out.
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) and 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). We recommend either a simple 3-pin screw pin terminal or a 3-pin jumper wire assembly (both can be found in the Recommended Products section below) to be soldered onto the sensor for easy wiring.
Note: Check the Hookup Guide below for assembly and weatherproofing instructions as well as a simple example project that you can put to together yourself!
Based on 9 ratings:
1 of 1 found this helpful:
We can integrate it with our PLC or another circuit for our project . It is easy to use with or without an arduino board. The only thing we need now is something like this to use as a PH sensor :)
1 of 1 found this helpful:
It was easy to get it setup and configured. I’m working on solar power and bluetooth le for it, for some outdoor planters I’d like to keep an eye on. A fun little project to hack on!
Only 5 minutes after unpacking I had the sensor set up in soil and was running a barebones program to display the reading on the serial plotter. Easy for beginners and a great sensor to try things out on the Arduino.
With your tutorial it says that both the sensor and the LCD light should be connected to the 5 volt input. The tutorial doesn’t give us an idea of how the LCD should be connected with the RedBoard along with the sensor. If you guys can explain how to connect everything, that would be helpful.
Hey sorry to hear about the difficulty with the LCD. It is a little tricky of us not to show the pin connections I agree.
If you’re looking for a quick solution though, you can look at the code real quick on the LCD, where it declares which pins are connected to the LCD: // Attach the serial display’s RX line to digital pin 2 SoftwareSerial mySerial(3,2); // pin 2 = TX, pin 3 = RX (unused)
That, and making sure that the device has power and common ground would be what you need to do to hookup the LCD in the setup.
Hope that helps!
Like the fact that the reading is zero when there is no water but goes the reading goes 800+ when dipped in water. Wish Sparkfun also sold three post terminals that can be soldered to the moisture sensors.
Easy to wire and use, super sensible to humidity, even if you touch it, but you just set the threshold and you’ll be ok!
soldered a few wires on and it worked like a charm connected to and A/D then to a RasPi for a Smart Gardening Project.
It is stable. But when I wait 3 sec. after activating the sensor it gives considerably lower readings. Best regards torben
Having the chip right on the sensor is handy for protoyping w/o extra wires/boards