An Arduino-based Automatic Plant Watering System uses a soil moisture sensor to monitor soil dryness and activates a water pump automatically. It conserves water, saves time, and ensures healthy plants. Ideal for home gardens, it is simple to build and customizable for multiple pots or large-scale gardening systems.
Main Components Required
- Arduino Uno (or compatible board)
- Soil Moisture Sensor
- Water Pump (DC pump)
- Relay Module
- Jumper Wires
- Plastic Tubing
- Power Supply (Battery/Adapter)
- Water Reservoir
- Breadboard (optional)
How Does the System Work?
- The soil moisture sensor measures the water content in the soil.
- Arduino reads the sensor value and compares it to a threshold.
- If the soil is dry, Arduino signals the relay to activate the pump.
- When moisture reaches the required level, the pump turns off automatically.
Step-by-Step Setup Guide
- Connect Components: Sensor to Arduino (A0 pin), relay to digital pin (7), pump to relay.
- Upload Code: Program Arduino using Arduino IDE with moisture threshold logic.
- Placement: Insert the sensor into the soil and position the pump in a water container.
- Test: Dry soil triggers the pump ON, wet soil turns it OFF.
Sample Arduino Code
int sensorPin = A0;
int pumpPin = 7;
int sensorValue = 0;
int threshold = 500;
void setup() {
pinMode(pumpPin, OUTPUT);
Serial.begin(9600);
}
void loop() {
sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
if(sensorValue > threshold) {
digitalWrite(pumpPin, HIGH);
} else {
digitalWrite(pumpPin, LOW);
}
delay(1000);
}
What is an Automatic Plant Watering System?
It is an automated system that monitors soil moisture and waters plants without manual effort. Using sensors and Arduino, it ensures optimal watering, saves time, and conserves water.
Advantages of Arduino-Based System
- Saves time and water
- Affordable and easy to build
- Ensures consistent plant health
- Requires minimal maintenance
- Fully customizable and scalable
Enhancements You Can Add
- LCD display to show moisture level
- IoT integration for remote monitoring
- Solar-powered system
- Multiple sensors for different plants
- Mobile app alerts and pump control
STEMMakers Capability in Arduino projects
At STEMMakers, we have successfully developed 20+ custom Arduino projects for student science exhibitions and practical learning.
Contact us for guidance, kits, and training:
📧 asha@thestemmakers.com | 🌐 www.thestemmakers.com
Discover additional Arduino projects by The STEM Makers through the links below.
How to build a water level indicator Arduino
How to Build a Smart Dustbin using Arduino
How to Build a Smart Home Automation using Arduino
How to Build a Traffic Light System using Arduino
How to Build a Temperature & Humidity Monitor using Arduino
How to build an Obstacle Avoiding Robot using Arduino
How to build an Automatic Plant Watering System using Arduino