Automatic Plant Watering System Using Arduino
by cakee in Circuits > Arduino
17 Views, 0 Favorites, 0 Comments
Automatic Plant Watering System Using Arduino
A simple automatic plant watering system built using Arduino, a soil moisture sensor, and a water pump. The system continuously monitors soil moisture levels and automatically waters the plant whenever the soil becomes too dry.
Supplies
- Arduino Uno
- Soil Moisture Sensor
- Relay Module
- Water Pump
- Buzzer
- Battery / Power Supply
- Breadboard
- Jumper Wires
Hardware Setup
Connect the soil moisture sensor, relay module, buzzer, and water pump to the Arduino as shown in the connections below.
Connections:
Soil Moisture Sensor
- VCC → 5V
- GND → GND
- AO → A0
Relay Module
- VCC → 5V
- GND → GND
- IN → D8
Buzzer
- Positive (+) → D9
- Negative (-) → GND
Water Pump
- Connected through the relay module
Arduino Code
Upload the code using the Arduino IDE.
The Arduino continuously reads data from the soil moisture sensor and activates the water pump whenever the soil moisture falls below the desired level.
Note: The moisture threshold value is configurable and can be modified in the code based on the sensor readings, soil conditions, and watering requirements of different plants.
Downloads
Working
Insert the moisture sensor into the soil and power on the system.
When the soil becomes dry, the Arduino activates the relay, which turns on the water pump and supplies water to the plant. Once the watering cycle is complete, the pump turns off automatically.
This helps maintain soil moisture levels without the need for manual watering.