Introduction: Automated Watering System
Worried because you cant water plants??
No problem. Keep your worries away. Here I have a great solution to wipe out your worries.
Step 1: Apparatus Required
- Arduino UNO
- Jump Wires
- Soil Moisture Sensor
- Water Pump Motor
- Tube (to carry water)
- Water Tank(any conatiner into which the motor fits)
- 9v Battery
- Potted Plant
- L293D Motor Driver
Step 2: Concept of Project
Every plants require a certain moisture to grow and they need that moisture constantly to grow healthier and stronger. The required Moisture Level is 300. We need to maintain that moisture for the plants throughout especially for potted plants. The Soil Moisture Sensor senses the moisture in the soil and sends it as a analog output to the arduino. This arduino recieves the siginal and checks if the it is below it, it runs the motor connected to the arduino. The motor is kept inside the the water tank and from the motor a tube runs to the potted plant. This helps to keep the plant moisture always.
Your Job is Done!!!!!!
Save Water To Save our World ####
Step 3: Connections
- Arduino A0 pin to AO pin of Soil Moisture Sensor(SMS)
- 5V pin of Arduino to Vcc of SMS
- Gnd of Arduino to Gnd of SMS
- The Sensor to the Potted Plants
- 5 and 6 to the 7 and 2 pin of L293D Motor Driver
- 3 and 6 of L293D to the Motor
- 5V of Arduino to 16 pin of L293D
- 13 pin of L293D to Gnd of Arduino
MAKE SURE THAT THE SENSOR IN THE SOIL IS TIGHTLY HELD BY THE SOIL OF THE POTTED PLANT.
Step 4: Programming CODE
int moisture=0, value; void setup() { pinMode(6,OUTPUT); pinMode(5,OUTPUT); Serial.begin(9600); } void loop() { value=analogRead(moisture); if (value<250) { digitalWrite(6,HIGH); digitalWrite(5,LOW); delay(30); } else if (value>250) { digitalWrite(6,LOW); digitalWrite(5,LOW); delay(30); }
Attachments
Step 5: FINALE
Now arrange and keep the components at their right places.