Difference between revisions of "Moisture sensor"

From Geeetech Wiki
Jump to: navigation, search
(Created page with "==Overview== This Moisture Sensor can detect the moisture of the soil around the sensor, which is ideal for monitoring the indoor plants or the soil moisture in your garden. I...")
 
(Specification)
Line 11: Line 11:
 
*Value range:
 
*Value range:
  
    0 ~300 : dry soil<br>
+
0 ~300 : dry soil<br>
    300~700 : humid soil<br>
+
300~700 : humid soil<br>
    700~950 : in water<br>
+
700~950 : in water<br>
  
 
==Wiring diagram==
 
==Wiring diagram==

Revision as of 06:35, 17 September 2012

Overview

This Moisture Sensor can detect the moisture of the soil around the sensor, which is ideal for monitoring the indoor plants or the soil moisture in your garden. It can be very to use, just insert it into the soil and then read it.

This sensor uses the two probes to pass current through the soil, and then it reads that resistance to get the moisture level. More water makes the soil conduct electricity better, while dry soil conducts electricity is poor.

Specification

  • Power supply: 3.3v or 5v
  • Output voltage signal: 0~4.2v
  • Current: 35mA
  • Value range:

0 ~300 : dry soil
300~700 : humid soil
700~950 : in water

Wiring diagram

/*
 # 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(9600);
}
void loop()
{
 Serial.print("Moisture Sensor Value:");
 Serial.println(analogRead(0)); 
 delay(100);
}

How to buy

Click here to buy the Moisture Sensor