IoT-Based Soil Moisture Monitoring System
IoT

IoT-Based Soil Moisture Monitoring System

Abstract: The IoT-Based Soil Moisture Monitoring System is designed to measure the water content in soil using a soil moisture sensor, ESP32, and OLED display. The system collects sensor readings, estimates the soil moisture percentage, and displays the results locally. Through Wi-Fi connectivity, it can also transmit measurements to a web or mobile dashboard for remote monitoring, historical data logging, and configurable low-moisture alerts. The project aims to support efficient plant watering and smarter agricultural monitoring. Project Description: This project develops an IoT-enabled soil moisture monitoring solution using an ESP32 development board, soil moisture sensor, and OLED display. The soil moisture sensor measures the water content in soil and provides an analog signal to the ESP32. The controller processes the sensor readings using calibration values and converts them into an estimated soil moisture percentage. The current moisture level and soil condition can be displayed on the OLED screen. Through Wi-Fi connectivity, the ESP32 can send readings to a cloud platform or web dashboard, allowing users to monitor soil conditions remotely and review historical moisture trends. The system can also be extended with a relay-controlled water pump to support automatic irrigation when the soil becomes too dry. Working Principle: 1. Soil Sensing: Insert the soil moisture sensor into the soil to measure its water content. 2. Data Acquisition: The sensor provides an analog output that the ESP32 reads through its ADC input. 3. Calibration and Processing: The ESP32 converts the analog reading into an estimated moisture percentage using calibrated dry and wet reference values. 4. Soil Condition Classification: The system classifies the soil condition into categories such as Dry, Moderate, or Wet using configured thresholds. 5. Local Display: The OLED displays the moisture percentage and corresponding soil condition. 6. IoT Communication: The ESP32 transmits moisture readings through Wi-Fi to a compatible cloud platform or web application. 7. Data Logging: Historical readings are stored for monitoring and analysing moisture trends. 8. Alert Generation: Notifications can be generated when soil moisture falls below a configured threshold. 9. Optional Irrigation Control: A relay and suitable pump can be added to activate watering when the soil becomes too dry. Notes: - A capacitive soil moisture sensor is generally preferable for long-term use because it is less susceptible to electrode corrosion than basic resistive probes. - Calibrate the sensor using the actual soil type and installation conditions. Raw analog values vary between sensors. - The moisture percentage is an estimate based on calibration; it is not automatically a laboratory-accurate measurement of volumetric water content. - Sensor placement, soil composition, temperature, and compaction can affect readings. - Configure Dry, Moderate, and Wet thresholds according to the plant species and soil requirements. - The ESP32 ADC input must not receive a voltage above its permitted range. Use suitable signal conditioning if required. - Wi-Fi and cloud connectivity are optional; local moisture monitoring can work independently. - For automatic irrigation, use a properly rated relay or driver and a pump compatible with the power supply. - Include pump protection, suitable electrical isolation, and a maximum watering duration to prevent continuous operation. - Keep electronic connections protected from moisture and water exposure. Expected Outcome: The expected outcome is a functional IoT-based soil monitoring prototype that measures soil moisture, processes sensor readings through an ESP32, and displays the estimated moisture percentage on an OLED screen. It can also provide remote monitoring, historical data logging, and low-moisture alerts through a dashboard. With optional pump integration, the system can support automatic irrigation based on configured soil moisture thresholds. It demonstrates how IoT technology can improve plant monitoring, water management, and smart agriculture applications.
All Projects

Recommended Projects

IoT-Based Smart Water Quality Monitoring System

View Project

IoT-Based Laboratory Temperature Monitoring System

View Project
WhatsApp Contact
👋 Hi! I'm Divyika
How can I help you today?