Ks0108 keyestudio EASY plug Soil Humidity Sensor

From Keyestudio Wiki
Revision as of 11:29, 15 November 2017 by Keyestudio (talk | contribs) (→‎Buy from)
Jump to navigation Jump to search

EASY plug Soil humidity Sensor


thumb

Introduction

This is a simple soil humidity sensor aims to detect the soil humidity. If the soil is in lack of water, the analog value output by the sensor will decrease, otherwise, it will increase. If you use this sensor to make an automatic watering device, it can detect whether your botany is thirsty to prevent it from withering when you go out. Using the sensor with Arduino controller makes your plant more comfortable and your garden smarter.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Power Supply Voltage: 3.3V or 5V
  • Working Current: ≤ 20mA
  • Output Voltage: 0-2.3V (When the sensor is totally immersed in water, the voltage will be 2.3V) 5V power supply,the higher humidity, the higher the output voltage
  • Sensor type: Analog output
  • Size: 65.5*20mm
  • Weight: 5g


Connection Diagram


thumb


Sample Code

/*
 # Example code for the moisture sensor
 # 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(0)); 
 delay(100);
}

Resources

Datasheet

http://www.keyestudio.com/files/index/download/id/1463988668/

Buy from

Official Website

http://www.keyestudio.com/keyestudio-easy-plug-soil-humidity-sensor-module-for-arduino.html