
Embedded Systems
Automatic Plant Watering System
Abstract:
The Automatic Plant Watering System is designed to monitor soil moisture and automatically supply water to plants whenever the soil becomes dry. The system uses an Arduino microcontroller, soil moisture sensor, relay module, and water pump. The moisture sensor measures the moisture level in the soil and sends the corresponding signal to Arduino. The controller compares the reading with a predefined threshold and activates the pump when watering is required. Once the soil reaches the desired moisture condition or the configured watering period ends, the pump switches off automatically. The project aims to reduce manual watering effort, prevent unnecessary water usage, and support efficient plant care.
Project Description:
This project develops an automatic plant irrigation prototype using an Arduino Uno or Nano, soil moisture sensor, relay module, DC water pump, water reservoir, and optional 16×2 LCD display.
The soil moisture sensor is inserted into the soil near the plant roots to measure moisture conditions. Its analog output changes according to the moisture detected by the sensing probes.
Arduino reads the sensor output and compares it with a calibrated moisture threshold. When the soil becomes too dry, the controller activates the relay module to switch on the DC water pump.
The pump draws water from a reservoir and delivers it to the plant through a suitable tube. Once the soil reaches the configured moisture condition or the maximum watering duration is reached, Arduino switches off the pump.
An optional LCD displays the soil moisture reading, watering status, and automatic operating mode.
Working Principle:
1. Soil Moisture Detection: The soil moisture sensor measures the moisture condition near the plant roots.
2. Signal Generation: The sensor produces an analog output corresponding to the detected soil moisture.
3. Data Acquisition: Arduino reads the sensor output through its analog input pin.
4. Moisture Evaluation: The controller compares the reading with a calibrated moisture threshold.
5. Dry Soil Detection: When the soil moisture falls below the configured threshold, Arduino identifies the need for watering.
6. Relay Activation: Arduino activates the relay module to switch on the DC water pump.
7. Water Supply: The pump transfers water from the reservoir to the plant through a delivery tube.
8. Automatic Shut-Off: When the desired moisture condition or maximum watering duration is reached, the controller switches off the pump.
9. LCD Display: The optional LCD displays moisture readings and pump operating status.
10. Continuous Monitoring: Arduino continues monitoring the soil and repeats the watering process when required.
Notes:
- A capacitive soil moisture sensor is generally preferable for long-term use because it is less prone to corrosion than basic exposed-probe resistive sensors.
- Calibrate the moisture sensor using the actual soil type and growing conditions.
- Raw analog readings are not universal moisture percentages; conversion to percentage requires calibration.
- Different plants require different soil moisture conditions. Configure thresholds according to the plant species and growing medium.
- Position the sensor near the root zone, avoiding direct contact with the watering outlet.
- Use a DC pump with suitable voltage, current, flow rate, and pressure for the application.
- A relay module or suitable MOSFET driver is required because Arduino GPIO pins cannot directly operate most water pumps.
- Use a separate regulated power supply suitable for the pump's operating current and starting current.
- Connect the power-supply ground and Arduino ground appropriately when using a non-isolated driver circuit.
- Add a maximum pump-running time to prevent excessive watering if the sensor fails or becomes disconnected.
- Consider adding a water-level sensor in the reservoir to prevent the pump from running dry.
- Keep electronic components protected from water splashes and moisture.
- Ensure the tubing and pump are compatible with the intended water supply.
- The basic system performs local automatic watering. Wi-Fi monitoring, mobile notifications, and cloud data logging can be added as optional IoT extensions.
- This project is an educational prototype; test the watering quantity and sensor thresholds before using it for valuable plants or larger irrigation setups.
Expected Outcome:
The expected outcome is a functional Arduino-based automatic plant watering prototype that monitors soil moisture and operates a water pump whenever the soil becomes too dry. It can automatically supply water, stop the pump when the configured watering condition is reached, and display sensor readings and pump status on an optional LCD. The project demonstrates sensor interfacing, threshold-based control, relay switching, pump automation, and smart irrigation concepts for home gardens, greenhouses, nurseries, and small-scale agriculture.
All Projects




