Zbotic Logo Zbotic Logo
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

  • Shop
  • About Us
  • Contact Us
  • Reseller
  • Blogs
020 69134444
1800 209 0998
[email protected]
Help Desk
Facebook Twitter Instagram Linkedin YouTube
Zbotic Logo Zbotic Logo
0 0

View Wishlist Add all to cart

0 0
0 Shopping Cart
Shopping cart (0)
Subtotal: ₹0.00

View cartCheckout

All departments
  • 3D Print Service
  • 3D Printer
  • Batteries & Chargers
  • Development Boards
  • Drone Parts
  • EBike parts
  • Sensor Modules
  • Electronic Components
  • Electronic Modules
  • IoT and Wireless
  • Mechanical Parts and Workbench Tools
  • Motors & Drivers & Pumps & Actuators
  • DIY and Robot Kits
  • Show more
  • Home
  • Shop
  • Sale
  • 3D Print Service
  • PCB Service
  • B2B
  • Blogs
  • Contact Us
Return to previous page
Home Weather & Environmental Monitoring

Soil Moisture and Temperature: Sensor Combo for Gardens

Soil Moisture and Temperature: Sensor Combo for Gardens

March 11, 2026 /Posted byJayesh Jain / 0

Selecting the right soil moisture and temperature sensor combo for gardens is the first step toward smart, automated irrigation that saves water and improves plant health. In India, where water scarcity affects large parts of Rajasthan, Gujarat, Maharashtra, and the Deccan Plateau, precision garden irrigation using sensors can reduce water usage by 30-50% compared to scheduled watering. This buying guide covers resistive and capacitive soil moisture sensors, soil temperature probes, and how to combine them into an effective garden monitoring system.

Table of Contents

  • Resistive vs Capacitive Soil Moisture Sensors
  • Soil Temperature Sensors
  • Best Sensor Combos for Indian Gardens
  • Wiring to Arduino and ESP32
  • Calibration for Indian Soil Types
  • Simple Watering Automation
  • Sensor Placement in Garden Beds
  • Frequently Asked Questions

Resistive vs Capacitive Soil Moisture Sensors

Two fundamental technologies measure soil moisture in hobbyist sensors:

Resistive sensors (like YL-69, FC-28) use two exposed metal probes to measure the electrical resistance of soil. Wet soil conducts electricity better than dry soil, so lower resistance means higher moisture. These sensors cost ₹15-50 and are extremely popular for beginners. However, they have significant drawbacks: the metal probes corrode rapidly in Indian soil (especially laterite and black cotton soil), making them unreliable within weeks. The electrolysis caused by DC measurement also accelerates corrosion. Some sellers use AC measurement to reduce this, but the problem remains.

Capacitive sensors measure the dielectric constant of soil, which changes with moisture content. They use no exposed metal — only a coated PCB sensing surface — making them corrosion-resistant and far more durable. They cost ₹80-200 and last years rather than weeks. Capacitive sensors are the recommended choice for any garden project intended to run more than a few months.

Key differences in Indian conditions:

  • Resistive sensors corrode within 2-4 weeks in Indian garden soil, especially in acidic soils (pH below 6.0)
  • Capacitive sensors last 2-5 years with minimal maintenance
  • Resistive sensors output 0-1023 analog values that vary significantly between units — each must be individually calibrated
  • Capacitive sensors also require calibration but have more consistent unit-to-unit output
Recommended: Capacitive Soil Moisture Sensor — Corrosion-free capacitive design lasts far longer than resistive sensors in Indian garden conditions; analog output compatible with Arduino and ESP32.
Recommended: Soil Moisture Hygrometer Detection Humidity Sensor Module — Budget resistive sensor suitable for short-term projects and learning; replace with a capacitive sensor for permanent garden installations.

Soil Temperature Sensors

Soil temperature significantly affects plant growth — seeds germinate poorly in cold soil, and roots take up nutrients efficiently only within specific temperature ranges. For Indian gardens, soil temperature is especially relevant for:

  • Winter vegetable timing: Tomatoes, peppers, and cucurbits need soil above 18°C for germination
  • Summer protection: Soil above 35°C inhibits root growth; mulching and shade cloth reduce soil temperatures by 5-10°C
  • Vermicompost beds: Earthworms become inactive below 10°C and die above 35°C

The most common soil temperature sensors for Arduino projects:

  • DS18B20 waterproof probe: Digital 1-Wire protocol, -55 to +125°C range, ±0.5°C accuracy. Available with 1-metre stainless steel probe for ₹80-150. The gold standard for soil temperature measurement.
  • SHT10: Combined soil temperature and moisture in one probe with digital output. More expensive (₹300-500) but provides both parameters with one cable.
  • PT100/PT1000 RTD: Industrial accuracy (±0.1°C), requires signal conditioning amplifier. Used in commercial agriculture but overkill for hobbyist gardens.
Recommended: SHT10 Soil Temperature and Humidity Sensor Module — All-in-one digital sensor measuring both soil temperature and moisture; one probe replaces two separate sensors, simplifying installation in garden beds.

Best Sensor Combos for Indian Gardens

Based on budget and application, here are the recommended sensor combinations:

  • Budget (under ₹200): Resistive moisture sensor + DS18B20 waterproof probe. Good for learning, expect to replace the moisture sensor within 1-2 months. Total cost: ₹150-200.
  • Mid-range (₹300-500): Capacitive moisture sensor + DS18B20. Reliable and long-lasting combination for permanent garden monitoring. Total cost: ₹250-350.
  • All-in-one (₹400-600): SHT10 combined soil temperature and moisture probe. Single cable installation, digital I2C output, durable stainless steel probe. Best for multiple sensor nodes.
  • Professional (₹1,500+): Decagon 5TE or TEROS 12 soil sensor measures volumetric water content (VWC), EC, and temperature in one calibrated probe. Used by agricultural researchers; requires careful calibration for Indian soil types.

Wiring to Arduino and ESP32

// Capacitive Soil Moisture + DS18B20 Temperature
#include <OneWire.h>
#include <DallasTemperature.h>

#define MOISTURE_PIN  A0
#define TEMP_PIN      4
#define DRY_VALUE     620   // Calibrate for your sensor
#define WET_VALUE     280   // Calibrate for your sensor

OneWire oneWire(TEMP_PIN);
DallasTemperature sensors(&oneWire);

void setup() {
  Serial.begin(9600);
  sensors.begin();
}

void loop() {
  // Read soil moisture
  int rawMoisture = analogRead(MOISTURE_PIN);
  int moisturePercent = map(rawMoisture, DRY_VALUE, WET_VALUE, 0, 100);
  moisturePercent = constrain(moisturePercent, 0, 100);
  
  // Read soil temperature
  sensors.requestTemperatures();
  float soilTemp = sensors.getTempCByIndex(0);
  
  Serial.print("Moisture: "); Serial.print(moisturePercent); Serial.print("% ");
  Serial.print("Soil Temp: "); Serial.print(soilTemp); Serial.println("C");
  
  delay(2000);
}

Calibration for Indian Soil Types

Indian soils vary enormously — black cotton soil (vertisol) in Maharashtra has very different moisture characteristics from red laterite soil in Kerala or sandy alluvial soil in Punjab. All soil moisture sensors need site-specific calibration:

  1. Fill a container with your garden soil and dry it completely in the sun (or oven at 80°C for 24 hours)
  2. Insert the sensor and record the ADC value — this is your DRY_VALUE (typically 600-800 for capacitive sensors)
  3. Add water until the soil is fully saturated (water standing on surface)
  4. Wait 15 minutes for water to distribute evenly, then record the ADC value — this is your WET_VALUE (typically 200-400)
  5. Update DRY_VALUE and WET_VALUE constants in your code

Black cotton soil, which expands when wet and shrinks when dry, requires extra care — ensure the sensor makes good contact with the soil at all moisture levels and repeat calibration in both the expanded (wet) and contracted (dry) states.

Simple Watering Automation

// Add to the main loop:
#define PUMP_PIN 8
#define DRY_THRESHOLD 30  // Water when below 30% moisture
#define WET_THRESHOLD 70  // Stop when above 70%

void setup() {
  // ...existing setup...
  pinMode(PUMP_PIN, OUTPUT);
}

void loop() {
  // ...read sensors...
  
  if (moisturePercent < DRY_THRESHOLD) {
    digitalWrite(PUMP_PIN, HIGH);  // Turn on pump
    Serial.println("Pump ON - soil dry");
  } else if (moisturePercent > WET_THRESHOLD) {
    digitalWrite(PUMP_PIN, LOW);   // Turn off pump
    Serial.println("Pump OFF - soil wet");
  }
}

Sensor Placement in Garden Beds

Sensor placement depth matters as much as the sensor itself. Guidelines for Indian garden conditions:

  • Shallow-rooted plants (lettuce, herbs, strawberries): Place sensors 5-10cm deep in the root zone
  • Medium-rooted plants (tomatoes, peppers, brinjal): Place sensors 15-20cm deep
  • Deep-rooted plants (fruit trees, papaya): Place sensors 30-40cm deep near the drip line
  • Multiple sensors: For beds larger than 2m x 2m, use at least 2 sensors at opposite corners as moisture distribution is uneven
  • Avoid placement near: Irrigation emitters (reading will be too wet), drainage channels (reading will be too dry), and compacted pathways
Recommended: 5V 12V Soil Moisture Sensor Relay Control Module — All-in-one module with built-in relay that switches pump power when soil moisture drops below a set threshold; no microcontroller needed for basic automation.

Frequently Asked Questions

How long do soil moisture sensors last in Indian garden conditions?

Resistive sensors corrode within 2-8 weeks in typical garden soil. Capacitive sensors last 2-5 years with no special maintenance. The SHT10 in a stainless steel probe casing lasts 5+ years even in acidic soils. For permanent garden installations, always choose capacitive or digital sensors with protective probe casings.

Why does my soil moisture reading change without adding water?

Several factors cause moisture readings to change without irrigation: soil temperature affects dielectric constant (higher temp reads lower moisture); rainfall seeping from adjacent areas; transpiration from plants pulling water from soil; and seasonal changes in salt content affecting conductivity-based sensors. Always interpret moisture readings in context with temperature and recent weather events.

Can I measure soil moisture and use it to control a drip irrigation valve?

Yes, this is the most common application. Connect a 12V or 24V solenoid valve to a relay module controlled by Arduino. The valve opens and closes the drip irrigation line based on soil moisture readings. For gravity-fed systems, use a 12V submersible pump with a relay. Ensure the pump and valve ratings match your power supply capacity.

What moisture percentage should I target for common Indian vegetables?

Target moisture ranges vary by plant: tomatoes (40-70%), brinjal (50-70%), chilli (40-65%), okra (45-65%), beans (40-60%). During fruiting, reduce the upper threshold by 5-10% to improve fruit quality and reduce disease. Most Indian summer vegetables prefer the lower end of these ranges to develop better flavour and disease resistance, while winter vegetables generally prefer higher moisture levels.

Is it safe to use sensor readings as the only input for automatic irrigation?

Not entirely. Always include a minimum off-time (at least 30 minutes between pump cycles) to prevent rapid cycling. Add maximum on-time safety limits to prevent flooding. Consider rain sensors to pause irrigation during rainfall. Check sensor readings against plant appearance weekly — sensors can fail silently (stuck reading), and visual plant assessment remains the ultimate reliability check.

Shop Soil and Environmental Sensors at Zbotic →

Tags: Arduino, ESP32, garden automation, soil moisture sensor, soil temperature
Share Post
  • Facebook
  • Linkedin
  • Whatsapp
ESP32 HTTPS: Secure REST API C...
blog esp32 https secure rest api calls with ssl certificates 598213
blog din rail power supply selection guide for control panels 598226
DIN Rail Power Supply Selectio...

Related posts

Svg%3E
Read more

Climate Education Kit: Build and Learn About Weather

April 1, 2026 0
Table of Contents Weather Education in Indian Schools Designing a STEM Weather Kit Sensor Experiments for Students Curriculum-Aligned Activities Arduino... Continue reading
Svg%3E
Read more

Citizen Science Weather: Contribute Data to IITM Pune

April 1, 2026 0
Table of Contents Citizen Science Weather in India Data Quality Standards for Contribution Setting Up a WMO-Compatible Station Calibration and... Continue reading
Svg%3E
Read more

Weather Station Network: Multiple Stations with Gateway

April 1, 2026 0
Table of Contents Why Build a Weather Station Network LoRa Communication for Sensor Nodes Gateway Design with Raspberry Pi Sensor... Continue reading
Svg%3E
Read more

Cyclone Tracker Display: Real-Time IMD Data on Screen

April 1, 2026 0
Table of Contents Cyclone Tracking in India IMD Cyclone Data Sources ESP32 and TFT Display Setup Fetching and Parsing Cyclone... Continue reading
Svg%3E
Read more

Monsoon Onset Predictor: Historical Data Analysis India

April 1, 2026 0
Table of Contents Understanding Monsoon Onset in India Key Indicators for Monsoon Prediction Sensor Package for Monsoon Monitoring Collecting Baseline... Continue reading

Add comment Cancel reply

Your email address will not be published. Required fields are marked

Facebook Twitter Instagram Pinterest Linkedin Youtube

Get the latest deals and more.

Download on Google Play Download on the App Store

Call us: 020 69134444 / 1800 209 0998

Monday - Saturday 09:30 AM - 06:00 PM
For Technical Supports Email: [email protected]
For Sales / Enquiries Email: [email protected]

  • My Account

    • Cart

    • Wishlist

    • Checkout

    • My Orders

    • Track Order

    • My Account

  • Information

    • FAQs

    • Blogs

    • Career

    • About Us

    • Contact Us

    • Payment Options

  • Policies

    • Privacy Policy

    • Terms & Conditions

    • GST Input Tax Credit

    • Shipping Return Policy

    • E-Waste Collection Points

    • Our Sitemap

© Zbotic.in is registered trademark of Moxie Supply Pvt Ltd – All Rights Reserved
Login
Use Phone Number
Use Email Address
Not a member yet? Register Now
Reset Password
Use Phone Number
Use Email Address
Register
Already a member? Login Now