Advertisement

Quick Links

Grove - Moisture Sensor
User Manual
Release date:
Version:
Wiki:
http://seeedstudio.com/wiki/Grove_-_Moisture_Sensor
Bazaar:
http://www.seeedstudio.com/depot/Grove-Moisture-Sensor-
p-955.html?cPath=25_27
2015/9/22
1.0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Grove Moisture Sensor and is the answer not in the manual?

Questions and answers

Summary of Contents for Seeed Grove Moisture Sensor

  • Page 1 Grove - Moisture Sensor User Manual Release date: 2015/9/22 Version: Wiki: http://seeedstudio.com/wiki/Grove_-_Moisture_Sensor Bazaar: http://www.seeedstudio.com/depot/Grove-Moisture-Sensor- p-955.html?cPath=25_27...
  • Page 2: Document Revision History

    Document Revision History Revision Date Author Description Sep 22, 2015 Jiankai.li Create file...
  • Page 3: Table Of Contents

    Contents Document Revision History · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2 1.
  • Page 4 Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice.
  • Page 5: Introduction

    1. Introduction This Moisture Sensor can be used to detect the moisture of soil or judge if there is water around the sensor, let the plants in your garden reach out for human help. They can be very easy to use, just insert it into the soil and then read it.
  • Page 6: Features

    2. Features  Soil moisture sensor based on soil resistivity measurement  Easy to use  2.0cmX6.0cm grove module...
  • Page 7: Specification

    3. Specification Item Condition Typical Unit Voltage Current Sensor in dry soil Output Value Sensor in humid soil Sensor in water...
  • Page 8: Application Ideas

    4. Application Ideas  Botanical gardening  Moisture sensoring Consistency measurement ...
  • Page 9: Usage

    5. Usage With Arduino This is a summary of the moisture sensor which can be used to detect the moisture of the soil. When the soil moisture deficits, the sensor output value will decrease. You can know whether a plant needs water or not by observing the results that the sensor outputs. The following sketch demonstrates a simple application of sensing the moisture of the soil.
  • Page 10: With Ti Launchpad

    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); here  Upload the code, please click if you do not know how to upload. ...
  • Page 11 Moisture-Sensor The following sketch demonstrates a simple application of sensing the moisture of the soil. You can know whether a plant needs water or not by observing the results that the sensor outputs. The circuit: * Moisture-Sensor attached to pin 24 (J6 plug on Grove Base BoosterPack) * one side pin (either one) to ground * the other side pin to +VCC * LED anode (long leg) attached to RED_LED...
  • Page 12 #define ON HIGH /* led on */ #define OFF /* led off */ #define _handle_led(x) digitalWrite(BLINK_LED, x) /* handle led */ /* Global Varibles */ TM1637 tm1637(CLK, DIO); /* 4-digital display object */ int analog_value = 0; /* varible to store the value coming from rotary angle sensor */ int8_t bits[4] = {0};...
  • Page 13: With Raspberry Pi

    4.Navigate to the demos' directory: cd yourpath/GrovePi/Software/Python/ To see the code nano grove_moisture_sensor.py # "Ctrl+x" to exit # import time import grovepi # Connect the Grove Moisture Sensor to analog port A0 # SIG,NC,VCC,GND sensor = 0 while True: try: print grovepi.analogRead(sensor) time.sleep(.5)
  • Page 14: Resources

    6. Resources Grove-_Moisture_Sensor_Eagle_File ...

Table of Contents