Crowtail- Moisture Sensor

From Elecrow
Revision as of 03:28, 23 October 2018 by Emma (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Description

This Moisture Sensor can be used to detect the moisture of soil or your pet plant's water level, let the plants in your garden reach out for human help. It is connected to Analog I/O port.

Model:CT0007MS

Crowtail- Moisture Sensor.JPG

Features

  • Soil moisture sensor based on soil resistivity measurement
  • Easy to use
  • 2.0cmX8.0cm grove module

Specification

Item Min Typical Max Unit
Voltage 3.3 / 5 V
Current 0 ~ 35 mA
Sensor in dry soil 0 ~ 300 /
Sensor in humid soil 300 ~ 500 /
Sensor in water 500 ~ 750 /

Application Ideas

  • Botanical gardening
  • Moisture sensoring

Usage

The following sketch demonstrates a simple application of sensing the moisture of the soil.

1.Connect this module to one of analog port A0 of Crowtail - Base Shield with the 3 pin Crowtail cable, and then insert the Sensor into the soil or place it anywhere you want.

2.Plug Crowtail - Base Shield into the Arduino/Crowduino and connnect Arduino to PC via a USB cable.

3.The hardware installation as shown below:

Mositure.jpgMositure1.jpg

4.Copy and paste code below to a new Arduino sketch.

int sensorPin = A0;    // select the input pin for the moisture Sensor
int sensorValue = 0;  // variable to store the value coming from the sensor

void setup() {
 // declare the ledPin as an OUTPUT:
  Serial.begin(9600);  
}

void loop() {
 // read the value from the sensor:
 sensorValue = analogRead(sensorPin);    
 delay(1000);          
 Serial.print("sensor = " );                       
 Serial.println(sensorValue);                   
}

5.The Result in different condition after open the serial monitor:

Mositureresult1.jpg Mositureresult2.jpgMositureresult3.jpgMositureresult4.jpg

Resource

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox