Ks0108 keyestudio EASY plug Soil Humidity Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==EASY plug Soil humidity Sensor==
[[image:ks0108图.jpg|thumb|600px|right|Keyestudio EASY plug Soil Moisture Sensor]]
<br>[[File:ks0108-1.png|500px|frameless|thumb]]<br>


==Introduction==
==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.<br>
The EASY Plug soil moisture sensor can read the amount of moisture present in the soil surrounding it. It's an ideal for monitoring an urban garden, or your pet plant's water level.<br>
Note: this module needs to be used together with EASY plug control board.<br>
This soil moisture sensor uses the two probes to pass current through the soil, and then it reads that resistance to get the moisture level. <br>
More water makes the soil conduct electricity more easily (less resistance), while dry soil conducts electricity poorly (more resistance).<br>
If you use this sensor to make an automatic watering device, it will be helpful to remind you to water your indoor plants or to monitor the soil moisture in your garden. <br>
<span style="color: red">'''Note: '''  this module should be used together with EASY plug control board.<br>
<br>


 
==Features==
==Specification==
* Connector: Easy plug
* Interface: Easy plug
* Power Supply: 3.3V or 5V
* Power Supply Voltage: 3.3V or 5V
* Working Current: ≤ 20mA
* 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
* Output Voltage: 0-2.3V  
* Sensor type: Analog output
* Sensor type: Analog output
* Size: 65.5*20mm
* Surface finish: immersion tin
* Weight: 5g


<br>
==Technical Details==
* Dimensions: 66mm*20mm*18mm
* Weight: 4.8g


==Connection Diagram ==
<br>
<br>[[File:ks0108-2.png|500px|frameless|thumb]]<br>
==Connect It Up ==
Connect the EASY Plug soil sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
<br>[[File:KS0108.jpg|500px|frameless|thumb]]<br>


 
<br>
==Sample Code==
==Upload the Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.
<pre>
<pre>
/*
/*
  # Example code for the moisture sensor
  # Example code for the moisture sensor
  # Connect the sensor to the A0(Analog 0) pin on the Arduino board
  # Connect the sensor to the A0(Analog 0) pin on the control board
 
  # the sensor value description
  # the sensor value description
  # 0 ~300    dry soil
  # 0 ~300    dry soil
  # 300~700    humid soil
  # 300~700    humid soil
  # 700~950    in water
  # 700~950    in water
*/
*/
void setup(){
void setup(){
 
Serial.begin(57600);
Serial.begin(57600);
 
}
}
 
void loop()
void loop(){
{
 
Serial.print("Moisture Sensor Value:");
Serial.print("Moisture Sensor Value:");
Serial.println(analogRead(0));
Serial.println(analogRead(0));  
delay(100);
delay(100);
}
}
</pre>
</pre>


==Resources ==
<br>
==What You Should See==
Done uploading the code, open the serial monitor and set the baud rate to 57600, you can see the analog value is 0.
When place the two probes of moisture sensor into your plant soil, you can see the value change.
<br>[[File:ks0108 Result.png|500px|frameless|thumb]]  [[File:ks0108 Result1.png|500px|frameless|thumb]]<br>


'''PDF'''
<br>


==Resources ==
'''PDF'''<br>
https://drive.google.com/open?id=173shntqpkcu6_Mlxf6eEv9vE6Am_vPbh
https://drive.google.com/open?id=173shntqpkcu6_Mlxf6eEv9vE6Am_vPbh


<br>
==Buy from ==
==Buy from ==
'''Official Website'''
'''Official Website'''<br>
http://www.keyestudio.com/keyestudio-easy-plug-soil-humidity-sensor-module-for-arduino.html


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


[[category:EASY Plug]]
[[category:EASY Plug]]

Revision as of 08:43, 23 November 2018

Keyestudio EASY plug Soil Moisture Sensor

Introduction

The EASY Plug soil moisture sensor can read the amount of moisture present in the soil surrounding it. It's an ideal for monitoring an urban garden, or your pet plant's water level.
This soil moisture 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 more easily (less resistance), while dry soil conducts electricity poorly (more resistance).
If you use this sensor to make an automatic watering device, it will be helpful to remind you to water your indoor plants or to monitor the soil moisture in your garden.
Note: this module should be used together with EASY plug control board.

Features

  • Connector: Easy plug
  • Power Supply: 3.3V or 5V
  • Working Current: ≤ 20mA
  • Output Voltage: 0-2.3V
  • Sensor type: Analog output
  • Surface finish: immersion tin


Technical Details

  • Dimensions: 66mm*20mm*18mm
  • Weight: 4.8g


Connect It Up

Connect the EASY Plug soil sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb


Upload the Code

Copy and paste below code to Arduino IDE and upload.

/*
 # Example code for the moisture sensor
 # Connect the sensor to the A0(Analog 0) pin on the control 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);
}


What You Should See

Done uploading the code, open the serial monitor and set the baud rate to 57600, you can see the analog value is 0. When place the two probes of moisture sensor into your plant soil, you can see the value change.
thumb thumb


Resources

PDF
https://drive.google.com/open?id=173shntqpkcu6_Mlxf6eEv9vE6Am_vPbh


Buy from

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