Smart Watering




Introduction: Smart Watering

About: Informatics Engineering Graduate, Specialising in Interactive Mobile Programming. Interested in Mobile Application Development, Software Engineer Sensors and IoT Applications

In this Arduino project tutorial we will learn how to make Smart Watering

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Required Hardware

Arduino Board -

Arduino Ethernet Shield -

Soil Moisture Sensor -

Solenoid Valve Flow Switch 1/2 -

Water Flow Sensor 1/2 -

DHT11 Module -

Relay -

Step 2: Connections

Step 3: Source Code

Here is the code of the arm that goes in the Arduino - Get Code

Step 4: Create Webserver

Server Script

//Database Connection $koneksi = mysqli_connect("","username","password","database") or die("Error ".mysqli_error($koneksi)); //Take data form table on database MySQL $sql = "SELECT * FROM greenhouse ORDER BY id DESC LIMIT 30"; $result = mysqli_query($koneksi, $sql) or die("Error in Selecting " . mysqli_error($koneksi)); //Make array $greenh = array(); while($row =mysqli_fetch_assoc($result)) { $greenh[] = $row; } //Display convert data form table identity to format JSON echo json_encode($greenh); //close the db connection mysqli_close($koneksi); //refresh 11 second ?>


Step 5: Get Application

The files of the app are available on - Google Playstore

Step 6: Testing

Now we completed all steps and make a SmartWatering

you can control using your smartphone .

Thanks for watching.

Arduino Contest 2017

Participated in the
Arduino Contest 2017

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    2 Discussions


    2 years ago

    That would be a great system to have for our window plants, I have a tendency to forget to water them ^.^;