Automatic Plant Watering System using Arduino
Automatically waters plants when soil is dry using Arduino sensors.
Project Instructions
Connect the Components: Connect the soil moisture sensor, relay module, and water pump to the Arduino according to the circuit diagram.
Set Up the Sensor: Insert the soil moisture sensor into the soil of the plant pot.
Upload Code: Write/upload the Arduino sketch to read the soil moisture level.
Relay Control: The relay activates the water pump when soil moisture falls below a set threshold.
Test the System: Water should automatically pump when soil dries; adjust threshold values as needed.
Finalize Setup: Secure all components and wires; ensure the water pump is placed safely.
Materials Required
Arduino Uno or compatible board
Soil moisture sensor module
Relay module (5V)
Small submersible water pump
Jumper wires
Breadboard
External power supply for pump (if required)
Plant pot with soil and water
Circuit Diagram
Code & Programming
sensorPin reads analog value from soil moisture sensor.
relayPin controls the water pump through the relay.
threshold determines when to turn the pump on/off.
Serial.print allows monitoring sensor readings via Serial Monitor.
loop() continuously checks soil moisture and activates the pump if soil is dry.
Video Tutorial
Tips & Tricks
Ready to Build This Project?
Join our community and start building amazing robotics projects today!