>>> This is Soil Moisture Meter, Soil Humidity Sensor, Water Sensor, Soil Hygrometer for Arduino. With this module, you can tell when your plants need watering by how moist the soil is in your pot, garden, or yard. The two probes on the sensor act as variable resistors. Use it in a home automated watering system, hook it up to Io T, or just use it to find out when your plant needs a little love. Installing this sensor and its PCB will have you on your way to growing a green thumb
>>> The soil moisture sensor consists of two probes which are used to measure the volumetric content of water. The two probes allow the current to pass through the soil and then it gets the resistance value to measure the moisture value.
When there is more water, the soil will conduct more electricity which means that there will be less resistance. Therefore, the moisture level will be higher. Dry soil conducts electricity poorly, so when there will be less water, then the soil will conduct less electricity which means that there will be more resistance. Therefore, the moisture level will be lower.
Wiring Connection
VCC: 3.3V-5V
GND: GND
DO: Digital output interface(0 and 1)
AO: Analog output interface
Features:
-Dual output mode, analog output more accurate
-A fixed bolt hole for easy installation
-With power indicator (red) and digital switching output indicator (green)
-Having LM393 compactor chip, stable.
SPECIFICATIONS:
Operating Voltage(VDC) :3.3 to 5
PCB Dimension :Approx.3cm x 1.5cm
Soil Probe Dimension :Approx. 6cm x 3cm
Cable Length :20 cm
Shipment Weight :0.105 kg
Shipment Dimensions :8 × 6 × 3 cm
OVERVIEW:
-Dual output mode, analog output more accurate
-A fixed bolt hole for easy installation
-With power indicator (red) and digital switching output indicator (green)
-Having LM393 compactor chip, stable.
-Operating Voltage: 3.3V~5V
-₹ 103.00 (inc GST)
-₹ 87.29 (+18% GST extra)
PACKAGE INCLUDES:
1 PCS x Soil Moisture For Arduino
//SOURCE CODE TAKEN FROM BELOW LINK
//https://create.arduino.cc/projecthub/electropeak/complete-guide-to-use-soil-moisture-sensor-w-examples-756b1f
/*
Soil Moisture Sensor
modified on 21 Feb 2019
by Saeed Hosseini @ Electropeak
https://electropeak.com/learn/
*/
#define SensorPin A0
float sensorValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
for (int i = 0; i <= 100; i++)
{
sensorValue = sensorValue + analogRead(SensorPin);
delay(1);
}
sensorValue = sensorValue/100.0;
Serial.println(sensorValue);
delay(30);
}