Introduction: Arduino-Powered Automatic Plant Watering System

About: Hi, my name is Sabik and I am a YOUTUBER who makes so many cool projects. To support me please SUBSCRIBE to my channel ( :

Welcome to the presentation of my latest DIY project: an Arduino-powered automatic plant watering system. This project is designed to simplify the task of watering plants, ensuring they receive just the right amount of water each day with minimal effort.

Project Overview:

Functionality: The system is activated by a simple switch, which you only need to turn on once per day.

Operation: When the switch is turned on, the system triggers a water pump that releases water for precisely 5 seconds, ensuring your plants are well-watered without any overwatering.

Automation: This project is ideal for plant enthusiasts who want a reliable and easy-to-use solution for daily plant care.

Supplies

Laptop (To upload the code to the Arduino uno)
Arduino Uno - 1
18650 Battery Holder - 1
Servo motor - 1 (with servo horn)
Arduino Uno USB Cable - 1 (USB C Cable for mac use only)
Male-to-Male Jumper Wires - 3
Cutter Blade - 1
18650 Battery - 2
Small Cello Tape - 1
9v Battery Clip - 1
9v Battery - 1
Type 3 Ultra-quiet Brushless Motor Submersible Water Pump (120L/H 3-6VDC) - 1
Gun glue (with 1 gun glue stick)
Small Double side tape - 1
A pair of scissors - 1
A container (to hold water) - 1
A small piece of foil paper
pieces of foam - 2

Step 1:

Connect the jumper wires to the following wires of the servo motor:

White => Orange/Yellow
Green => Red
Gray => Black

The colour of the wires on the left hand-side are my jumper wires and the colour of the wires in the right hand-side is the wires of the servo motor

Step 2:

Then connect the jumper wires to the following places on the arduino uno board:

White => pin 9
Red => 5v
Grey => Gnd Pin

Step 3:

Connect the 18650 Battery Holder to the following areas in the arduino uno:

negative terminal of the 18650 battery holder to the Gnd pin
positive terminal of the 18650 battery holder to the Vin pin

Step 4:

Connect the Arduino uno USB cable to the laptop (and if you have a mac use a USB C port)

Step 5:

Now connect USB Cable 2.0 to the Arduino uno board

Step 6:

#include <Servo.h>

Servo myServo; // Create a Servo object

void setup() {
myServo.attach(9); // Attach the servo motor to pin 9
}

void loop() {
// Move servo to 3 degrees
myServo.write(20);
delay(5000); // Wait for 5 seconds

// Move servo back to 0 degrees
myServo.write(0);
delay(1000); // Wait for 1 second

// Stop further actions
while (true) {
// Do nothing
}
}


*Now upload this code until it shows a message saying "Done uploading."

Step 7:

Put some Cello tape on the end of the jumper wires(which is the black plastic piece) to secure them

Step 8:

Connect the wires of the water pump to the 9v battery clip

Red represents the positive terminal

Black represents the negative terminal

Red => Red
Black => Black

Step 9:

Cut a small piece of the double side tape and stick it on the battery clip. Then paste a servo horn on the double side tape. Then pour some gun glue on the servo horn to make it secure

*Note: Make sure to wait 2 mins for the gun glue to dry

Step 10:

I have made a small setup that you can make (It has to make the servo touch to correct side of the battery connecter to make the water pump to turn on)

Step 11:

Lastly the water pump has to be in place to take in the water and send out the water like the photo above

Step 12: Conclusion

So I hope this was a good idea to keep your plants healthy and strong

FOLLOW for more projects!