Soil Moisture Sensor
WEATHER SENSOR

Soil Moisture Sensor

  • Vendor:TOMSON ELECTRONICS
  • Check Pincode Serviceability

     
Availability: In Stock
₹ 100.00
(All prices are tax inclusive)
Wishlist Compare

The Soil Moisture Sensor available at Tomson Electronics, Kochi, Kerala, India, is a simple breakout for measuring the moisture in soil or similar materials. The soil sensor is very easy to use, The two large exposed pads/leads function as probes for the sensor, together acting as a variable resistor. The more water that is in the soil means the better the conductivity between the pads will be and will result in a lower resistance, and a higher SIG out. It can be easily interfaced with your Arduino or Raspberry Pi ease for your home automation projects.

 

Copy the following Code to your Arduino device to get the reading from this Soil Moisture Sensor.

/*
Analog input, analog output, serial output

Reads an analog input pin, maps the result to a range from 0 to 255 and uses
the result to set the pulse width modulation (PWM) of an output pin.
Also prints the results to the Serial Monitor.

The circuit:
- Water Level Sensor connected to analog pin 0.
Signal pin of the Soil Moisture Sensor goes to the analog pin.
- LED connected from digital pin 9 to ground

by Tom, Tomson Electronics

This example code is in the public domain.
*/

// These constants won't change. They're used to give names to the pins used:
const int analogInPin = A0; // Analog input pin that the Soil Moisture Sensor is attached to
const int analogOutPin = 9; // Analog output pin that the LED is attached to

int sensorValue = 0; // value read from the sensor
int outputValue = 0; // value output to the PWM (analog out)

void setup() {
// initialize serial communications at 9600 bps:
Serial.begin(9600);
}

void loop() {
// read the analog in value:
sensorValue = analogRead(analogInPin);
// map it to the range of the analog out:
outputValue = map(sensorValue, 0, 1023, 0, 255);
// change the analog out value:
analogWrite(analogOutPin, outputValue);

// print the results to the Serial Monitor:
Serial.print("sensor = ");
Serial.print(sensorValue);
Serial.print("\t output = ");
Serial.println(outputValue);

// wait 2 milliseconds before the next loop for the analog-to-digital
// converter to settle after the last reading:
delay(2);
}

Operating voltage: 3.3V~5V
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 comparator chip, stable
Panel PCB Dimension: Approx.3cm x 1.5cm
Soil Probe Dimension: Approx. 6cm x 3cm
Cable Length: Approx.21cm
Interface Description(4-wire):
VCC: 3.3V-5V
GND: GND
DO: digital output interface(0 and 1)
AO: analog output interface