Skip to Content

Automatic Plant Watering System

An Automatic Plant Watering System utilizing Arduino offers a hands-free solution for maintaining optimal soil moisture levels in plants. The system employs soil moisture sensors placed in the plant's soil, interfaced with an Arduino microcontroller. Continuously monitoring moisture levels, the Arduino activates a water pump or valve when the soil becomes too dry, ensuring the plants receive water as needed. This automation eliminates the need for manual watering, providing convenience and consistency in plant care. Arduino's versatility allows for customization, enabling features like scheduling watering intervals or adjusting water flow rates based on plant types. With the potential for expansion to include additional sensors for environmental monitoring, this system offers a comprehensive approach to automated plant care, promoting healthy growth while minimizing effort and time investment for the user.


 Circuit Diagram :-



Code :-


// BY Arduino Techy 
					​//
int soilMoistureValue = 0;
int percentage=0;
void setup() {
  pinMode(3,OUTPUT);
  Serial.begin(9600);
}
void loop() {
soilMoistureValue = analogRead(A0);
Serial.println(percentage);
percentage = map(soilMoistureValue, 490, 1023, 100, 0);
if(percentage < 10)  
{
  Serial.println(" pump on");
  digitalWrite(3,LOW);
}
if(percentage >80)
{
  Serial.println("pump off");
  digitalWrite(3,HIGH);
}
}



Components :-

blue and black circuit board

Arduino Uno 

 Buying Link -

https://amzn.to/3w24QWL

Moisture Sensor

 Buying Link -

https://amzn.to/4da1DoJ

Relay

 Buying Link -

https://amzn.to/4dj1QWs

Water Pump

Buying Link -

https://amzn.to/44kDRlL

Jumper Wires 

 Buying Link -

https://amzn.to/3UwFaL7

RFID door lock