---
product_id: 87306561
title: "Capacitive Soil Moisture Sensor Corrosion Resistant for Arduino Moisture Detection Garden Watering DIY (Pack of 2PCS) EK1940"
brand: "gikfun"
price: "$35.15"
currency: USD
in_stock: true
reviews_count: 13
category: "Gikfun"
url: https://www.desertcart.ec/products/87306561-capacitive-soil-moisture-sensor-corrosion-resistant-for-arduino-moisture-detection
store_origin: EC
region: Ecuador
---

# Capacitive sensing 98 x 23mm 3.3-5.5V DC Capacitive Soil Moisture Sensor Corrosion Resistant for Arduino Moisture Detection Garden Watering DIY (Pack of 2PCS) EK1940

**Brand:** gikfun
**Price:** $35.15
**Availability:** ✅ In Stock

## Summary

> 🌿 Grow smarter, not harder!

## Quick Answers

- **What is this?** Capacitive Soil Moisture Sensor Corrosion Resistant for Arduino Moisture Detection Garden Watering DIY (Pack of 2PCS) EK1940 by gikfun
- **How much does it cost?** $35.15 with free shipping
- **Is it available?** Yes, in stock and ready to ship
- **Where can I buy it?** [www.desertcart.ec](https://www.desertcart.ec/products/87306561-capacitive-soil-moisture-sensor-corrosion-resistant-for-arduino-moisture-detection)

## Best For

- gikfun enthusiasts

## Why This Product

- Trusted gikfun brand quality
- Free international shipping included
- Worldwide delivery with tracking
- 15-day hassle-free returns

## Key Features

- • **🔧 DIY Friendly:** Seamlessly integrates with Arduino and Raspberry Pi projects.
- • **🌱 Smart Gardening:** Elevate your plant care with precision moisture detection.
- • **📊 Accurate Readings:** Capacitive technology outperforms traditional resistive sensors.
- • **🌍 Eco-Conscious Choice:** Promote sustainable gardening with intelligent moisture management.
- • **🌧️ Corrosion Resistant:** Built to last, ensuring longevity in any garden environment.

## Overview

The Gikfun Capacitive Soil Moisture Sensor is a cutting-edge tool designed for garden enthusiasts and DIY techies alike. With a corrosion-resistant build and advanced capacitive sensing technology, it provides accurate moisture readings to optimize plant care. Compatible with Arduino and Raspberry Pi, this sensor is perfect for intelligent agriculture and home gardening projects.

## Description

desertcart.com: Gikfun Capacitive Soil Moisture Sensor Corrosion Resistant for Arduino Moisture Detection Garden Watering DIY (Pack of 2PCS) EK1940 : Patio, Lawn & Garden

Review: Worked well for my automatic plant waterer - I bought these sensors for a plant waterer i have been working on. after reading some of the other reviews i took the time to coat with conformal and i added some additional silicone and heat-shrink tubing for the connector. my project is running on an Adafruit Trinket M0 using CircuitPython. Things were working great at the beginning, then they weren't. Turns out when i added my 3.3v voltage regulator to power the board, i had moved the sensor's VCC from the board to the regulator. i later found out that the regulator needs some capacitors to even out the voltage. when i moved the sensor VCC back to the board output, readings went back to being reasonably stable. i added a median filter and a mean filter to the code to help smooth out any sensor data fluctutions. the sensor is not super accurate, but it definitely works well enough for my project. around the same time i also purchased one of Adafruits fancy I2C soil sensors. after seeing the size difference, i feel that it would be too small for bigger plants. so i'm glad that i also purchased these. i would definitely purchase these again.
Review: Works fine - Works just fine. If you want your sensor to last more than a few months you need a capacitive sensor like this. The conductive type of sensors (with 2 exposed metal probes that go into the soil) will destroy themselves through electrolysis. There is no way to avoid this, it is just a flawed design concept. This type of sensor doesn't have that problem because it doesn't send current through the soil. If you really want this sensor to last, you should coat the PCB with something waterproof since the sides are a potential failure point. I put mine in a plastic bag and it still works, just a little less sensitive.

## Technical Specifications

| Specification | Value |
|---------------|-------|
| ASIN | B07H3P1NRM |
| Battery Description | No batteries required |
| Best Sellers Rank | #49,373 in Patio, Lawn & Garden ( See Top 100 in Patio, Lawn & Garden ) #87 in Soil Meters |
| Brand | Gikfun |
| Color | Black |
| Customer Reviews | 4.0 4.0 out of 5 stars (232) |
| Is Discontinued By Manufacturer | No |
| Item Weight | 0.776 ounces |
| Item model number | EK1940 |
| Manufacturer | Esooho |
| Mounting Type | Tabletop |
| Product Dimensions | 0.91"W x 3.86"H |
| Voltage | 5.5 Volts |

## Product Details

- **Battery Description:** No batteries required
- **Brand:** Gikfun
- **Color:** Black
- **Item Weight:** 22 Grams
- **Product Dimensions:** 0.91"W x 3.86"H

## Images

![Capacitive Soil Moisture Sensor Corrosion Resistant for Arduino Moisture Detection Garden Watering DIY (Pack of 2PCS) EK1940 - Image 1](https://m.media-amazon.com/images/I/715O9pxH36L.jpg)

## Questions & Answers

**Q: Could you submerge the moisture sensor fully in soil if all connections are adequately protected?**
A: I put conformal coating and heatshrink on them and had no problems with soil immersion. I  calibrate the sensors in water (100% moisture), and dry air (0% moisture) because there is lots of variation sensor to sensor in both offset and gain.

**Q: What are the measurement units? Centibars?**
A: You need to calibrate the units in code.  More details here.  https://wiki.dfrobot.com/Capacitive_Soil_Moisture_Sensor_SKU_SEN0193

**Q: What is the average power consumption per reading?**
A: I don't know the answer, but it is pretty low. If interested, for the price buy one and see if it suits your needs. I use mine in a handheld device and only power it up when I need a reading. I am using a Raspberry Pico and running it off of a 9-volt battery reduced to 5 volts.

**Q: What library do I need for a raspberry pi?**
A: You don't need a library, just need to read the analog pin,A0.

This is what I use:


// Calibration: SOIL_AIR is reading when dry, SOIL_WATER is reading when submerged in water about 3/4 up the stick
// Used to calculate a 0-100% range based on the readings
#define SOIL_AIR 362
#define SOIL_WATER 637

int get_soil_readings(int n)
{
    int a0 = 0;
    for(int i=0; i<n;i++)
      {
      int raw = analogRead(SOIL_ANALOG);
      Debug << "Raw Reading: " << raw << "\r\n";
      raw = max(SOIL_AIR,raw);
      raw = min(SOIL_WATER, raw);
      Debug << "MinMax'd Reading: " << raw << "\r\n";
      a0 += raw;
      delay(5);
      }
    int reading = a0/n;
    float percentage = (reading - SOIL_WATER) * 100.0 / (SOIL_AIR-SOIL_WATER);
    return int(percentage);
}

## Customer Reviews

### ⭐⭐⭐⭐⭐ Worked well for my automatic plant waterer
*by M***C on November 3, 2019*

I bought these sensors for a plant waterer i have been working on. after reading some of the other reviews i took the time to coat with conformal and i added some additional silicone and heat-shrink tubing for the connector. my project is running on an Adafruit Trinket M0 using CircuitPython. Things were working great at the beginning, then they weren't. Turns out when i added my 3.3v voltage regulator to power the board, i had moved the sensor's VCC from the board to the regulator. i later found out that the regulator needs some capacitors to even out the voltage. when i moved the sensor VCC back to the board output, readings went back to being reasonably stable. i added a median filter and a mean filter to the code to help smooth out any sensor data fluctutions. the sensor is not super accurate, but it definitely works well enough for my project. around the same time i also purchased one of Adafruits fancy I2C soil sensors. after seeing the size difference, i feel that it would be too small for bigger plants. so i'm glad that i also purchased these. i would definitely purchase these again.

### ⭐⭐⭐⭐⭐ Works fine
*by D***T on February 16, 2019*

Works just fine. If you want your sensor to last more than a few months you need a capacitive sensor like this. The conductive type of sensors (with 2 exposed metal probes that go into the soil) will destroy themselves through electrolysis. There is no way to avoid this, it is just a flawed design concept. This type of sensor doesn't have that problem because it doesn't send current through the soil. If you really want this sensor to last, you should coat the PCB with something waterproof since the sides are a potential failure point. I put mine in a plastic bag and it still works, just a little less sensitive.

### ⭐⭐⭐⭐ Can determine wet from not-wet. That's mostly it.
*by L***E on June 9, 2023*

Sensor installed fine and reports values as expected, though I have learned that it is very temperature dependent. For outdoor applications where there are day/night temperature swings, this skews results pretty significantly. This can likely be compensated for with a temperature sensor, but it would be nice for this product to include that as a pre-packaged solution.

## Frequently Bought Together

- Gikfun Capacitive Soil Moisture Sensor Corrosion Resistant for Arduino Moisture Detection Garden Watering DIY (Pack of 2PCS) EK1940
- Arduino Uno REV3 [A000066] – ATmega328P Microcontroller, 16MHz, 14 Digital I/O Pins, 6 Analog Inputs, 32KB Flash, USB Connectivity, Compatible with Arduino IDE for DIY Projects and Prototyping
- ELEGOO 120pcs Multicolored Dupont Wire 40pin Male to Female, 40pin Male to Male, 40pin Female to Female Breadboard Jumper Ribbon Cables Kit Compatible with Arduino Projects

---

## Why Shop on Desertcart?

- 🛒 **Trusted by 1.3+ Million Shoppers** — Serving international shoppers since 2016
- 🌍 **Shop Globally** — Access 737+ million products across 21 categories
- 💰 **No Hidden Fees** — All customs, duties, and taxes included in the price
- 🔄 **15-Day Free Returns** — Hassle-free returns (30 days for PRO members)
- 🔒 **Secure Payments** — Trusted payment options with buyer protection
- ⭐ **TrustPilot Rated 4.5/5** — Based on 8,000+ happy customer reviews

**Shop now:** [https://www.desertcart.ec/products/87306561-capacitive-soil-moisture-sensor-corrosion-resistant-for-arduino-moisture-detection](https://www.desertcart.ec/products/87306561-capacitive-soil-moisture-sensor-corrosion-resistant-for-arduino-moisture-detection)

---

*Product available on Desertcart Ecuador*
*Store origin: EC*
*Last updated: 2026-03-11*