Go Down

Topic: Problems with the Moisture Sensor (SKU:SEN0114) (Read 225 times) previous topic - next topic


Hi, I'm doing a project with the Arduino YUN or Arduino micro (I'm still experimenting with both), and the humidity sensor SKU: SEN0114,

I expect that somebody can help me, with the sampler code.

/ *
   # Example code for the moisture sensor
   # Editor: Lauren
   # Date: 13.01.2012
   # Version: 1.0
   # Connect the sensor to the A0 (Analog 0) pin on the Arduino board
   # The sensor value description
   # 0 ~ 300 dry soil
   # 300 ~ 700 humid soil
   # 700 ~ 950 in water
* /
void setup () {
   Serial.begin (57600);
void loop () {
   Serial.print ("Moisture Sensor Value");
   Serial.println (analogRead (A0));
   delay (100);

This is the sampler code I'm using to play with the moisture sensor, which is that they have give me on the web where I bought the sensor,

Proving it with different soils, and the monitor give me range of values from 400 to 700, and in theory would have to go from 0 to 1000, if I can help with this would be very grateful!

A greeting !


Cross-posted in Spanish section : http://forum.arduino.cc/index.php?topic=172735.msg2496042#msg2496042
That is confusing for us, now we don't know where to answer.

Those moisture sensors are very inaccurate. The capacitive sensors are more accurate : http://wemakethings.net/chirp/

For myself I use two metal strips and measure the resistance, but I measure that in both ways by reversing the voltage. That is to avoid electrolysis.

Your values of 400 to 700 are okay. That is because they are so inaccurate.


Dec 09, 2015, 07:10 pm Last Edit: Dec 09, 2015, 07:16 pm by polboixader
Ok, Thanks !!

if anyone can give me more information i will be grated !!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131