{"product_id":"soil-moisture-sensor-module-analogdigital-output-adjustable-threshold","title":"Soil Moisture Sensor Module — Analog\/Digital Output, Adjustable Threshold","description":"\u003ch1\u003eSoil Moisture Sensor Module — Analog\/Digital Output with Adjustable Threshold\u003c\/h1\u003e\n\n\u003cp\u003eThe Soil Moisture Sensor Module detects water content in soil by measuring resistance between two probes. It provides both analog and digital outputs, making it suitable for simple threshold-based alerts or precise moisture monitoring in automated irrigation systems. The onboard LM393 comparator and potentiometer let you set a trigger level for the digital output, while the analog output connects directly to a microcontroller ADC pin for real-time readings.\u003c\/p\u003e\n\n\u003ch2\u003eKey Specifications\u003c\/h2\u003e\n\u003ctable\u003e\n  \u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eSpecification\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOperating Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V – 5V DC\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eOutput Type\u003c\/td\u003e\n\u003ctd\u003eAnalog (0 – VCC) and Digital (0 \/ VCC)\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eComparator\u003c\/td\u003e\n\u003ctd\u003eLM393 with threshold adjustment\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eProbe Material\u003c\/td\u003e\n\u003ctd\u003eNickel-plated copper with protective coating\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003ePCB Dimensions\u003c\/td\u003e\n\u003ctd\u003e36 mm x 15 mm x 7 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n    \u003ctr\u003e\n\u003ctd\u003eProbe Length\u003c\/td\u003e\n\u003ctd\u003e65 mm\u003c\/td\u003e\n\u003c\/tr\u003e\n  \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch2\u003eWhat You Can Build With This\u003c\/h2\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/kit-smart-garden-watering-kit-with-arduino-mega-plus-sensor\"\u003eAutomatic garden watering system that activates a pump when soil is dry\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003e\u003ca href=\"\/products\/esp32-indoor-plant-monitor-kit-predict-yield-with-ai\"\u003eIndoor plant monitor with LED or alert when moisture drops below a set point\u003c\/a\u003e\u003c\/li\u003e\n  \u003cli\u003eIoT soil tracker that logs moisture data to the cloud using an ESP8266\u003c\/li\u003e\n  \u003cli\u003eAgriculture automation prototype for greenhouse irrigation management\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch2\u003eCompatibility\u003c\/h2\u003e\n\u003cp\u003eThis module works with any microcontroller that has an analog input, such as Arduino Uno, Nano, ESP32, ESP8266, and Raspberry Pi Pico. For Raspberry Pi boards without analog pins, use an external ADC like the MCP3008. It runs on 3.3V or 5V logic, and the analog output scales with the supply voltage—calibrate accordingly in your code.\u003c\/p\u003e\n\n\u003ch2\u003eWiring Notes\u003c\/h2\u003e\n\u003cp\u003eConnect VCC to 3.3V or 5V, GND to ground. For analog monitoring, wire AOUT to an analog pin. For digital threshold, use DOUT and adjust the on‑board potentiometer until the indicator LED switches at your desired moisture level. Keep the electronics away from direct water contact; use the included jumper wires to mount the sensor remotely.\u003c\/p\u003e\n\n\u003ch2\u003eWhy Buy from Compoden\u003c\/h2\u003e\n\u003cp\u003eEvery component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.\u003c\/p\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIs this compatible with Arduino Uno?\u003c\/summary\u003e\u003cp\u003eYes, connect VCC to 5V, GND to GND, and AOUT to A0 for analog readings. The digital output can go to any digital pin.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eHow do I calibrate the digital threshold?\u003c\/summary\u003e\u003cp\u003eTurn the potentiometer while the probes are in dry soil until the DOUT LED just lights up; insert into wet soil and adjust so the LED turns off. Repeat for precision.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdetails\u003e\u003csummary\u003eWill the probes corrode over time?\u003c\/summary\u003e\u003cp\u003eNickel-plated probes resist corrosion, but constant wet soil can eventually degrade them. For long-term use, consider capacitive sensors or intermittent power to reduce electrolysis.\u003c\/p\u003e\u003c\/details\u003e\n\u003cdiv class=\"compoden-handoff\" style=\"margin-top:24px;padding:16px;background:#f0f4ff;border-left:4px solid #2B4D8F;border-radius:4px;\"\u003e\n  \u003cp style=\"margin:0 0 6px 0;font-weight:600;color:#1A3560;\"\u003e📦 Free Setup Handoff Document Included\u003c\/p\u003e\n  \u003cp style=\"margin:0;font-size:0.95em;color:#333;\"\u003eEvery Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.\u003c\/p\u003e\n\u003c\/div\u003e\n","brand":"Compoden","offers":[{"title":"Default Title","offer_id":53445025038701,"sku":"CDN-0778","price":35.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0999\/3997\/5533\/files\/image_1_6b383be9-ed78-4adf-8e5a-d24af4631b70.jpg?v=1781512922","url":"https:\/\/compoden.com\/products\/soil-moisture-sensor-module-analogdigital-output-adjustable-threshold","provider":"Compoden","version":"1.0","type":"link"}