AutoWaterFlora : the Self Watering Plant

Introduction: AutoWaterFlora : the Self Watering Plant

This is a self watering plant apparatus which will start the pump for specific time and at specific intervals.

Working:
The project works on the simple timer of Arduino Uno board and will initiate the pump to work for specific time at specific intervals. I have taken the pump working time as 2 seconds and interval as 6 hours.

Supplies

Electronics

Arduino Uno : https://www.amazon.in/Robotbanao-Atmega328p-Cable...

Motor Shield : https://www.amazon.in/Robotbanao-L293D-Shield-Ard...

Pump : https://www.amazon.in/Robotbanao-Mini-Micro-Subme...

Adapter : https://www.amazon.in/LRIPL120-Power-Adapter-AIRT...

Tools

Hot Glue Gun

Screwdriver

Some more materials

A potted plant

Old plastic container for water

Step 1: Uploading the Code

Code:

The code is quiet simple and easy to understand.

#include // Add the AFMotor Library to the IDE

AF_DCMotor motor(2); // Make a motor object on the second motor output

void setup() {

motor.setSpeed(100); // Set the speed of the motor

motor.run(RELEASE);

} void loop() {

motor.run(FORWARD); //Start the motor

delay(2000); //Time for the pump to work = 2 seconds, can be changed as per needs

motor.run(RELEASE); // Stop the motor

delay(21600000); //Pump interval = 6 hours, can be changed as per needs

Step 2: Wiring

Do the wiring of the components as per this diagram. Note that the Shield is attached to Arduino Uno (on top).

Motor to be connected on M2 terminal and the power source as per negative positive.
The Shield to be on top of Arduino Uno.

Step 3: Important Step

Add the AFMotor library:

  1. Download the Attached compressed folder.
  2. To add the library go to Sketch tab > Include Library> Add .ZIP library> Select the compressed folder of this file.

Also using the glue gun paste the motor in the plastic container.

Please visit my blog: https://phoenixzx200.blogspot.com/

Comment, Share and Follow

Be the First to Share

    Recommendations

    • Space Contest

      Space Contest
    • Halloween Contest

      Halloween Contest
    • Plastic Challenge

      Plastic Challenge

    2 Comments

    0
    ravindrakumaryadav

    Very nice. Will use it in my terrace garden. Don’t have to worry about watering the plants 😊