Coder Social home page Coder Social logo

ishaanjav / e-rrigation Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 31.93 MB

50% of water used in agriculture is wasted. In fact, water wastage is even common in our neighborhoods and cities. E-rrigation is a mobile, sprinkler system designer that allows users to create sprinkler system designs. It then calculates statistics about the given design in order to optimize water usage before sprinklers are put into place.

Java 100.00%
irrigation irrigation-design android-application android-app android android-studio android-development mathematics calculations circle

e-rrigation's Introduction

Water Wastage on a Farm

Every day, more than 9 billion gallons of water are used for irrigation in the U.S. of which approximately 50% is wasted due to inefficient irrigation systems. In fact, water wastage is even common in our neighborhoods and cities.

E-rrigation is a mobile application that serves as a sprinkler system designer. Users create designs by plotting land/sprinklers, and specifying additional info. Then, the app calculates crucial statistics about a given design plan in order to optimize water usage before the sprinklers are put into place.

It does this by eliminating overflowing and repetitive watering of the same regions. By providing these statistics, E-rrigation reduces water usage even before sprinklers are put into place: cutting down on expenditures in the long run.


A video on using the app can be found here.

Using the app is easy: Users simply have to plot their land area and sprinklers by tapping on the screen. However, the calculations that take place beneath the hood are a lot more complex.

E-rrigation must be able to distinguish between whether the overlap of 2 sprinklers is outside the land or inside the land or both.

It must also detect a special case of 3 circles overlapping vs the normal case (both of which require lots of mathematical calculations)

It also has to determine which side of a sprinkler is overflowing.





Above is a diagram illustrating a few of the irregular cases that the app has to account for.

Code

Below are links to access some of the important files containing code for the application.


Applications

As shown by the images below, water wastage through inefficient sprinkler placement is a global issue:

  • Agricultural Use: Since farms use a large quantity of water, farmers can more efficiently plot sprinklers on a large-scale using E-rrigation.
  • Civic Use: Water wastage is common near neighborhoods, cities, and even schools. Using E-rrigation, the city can cut down on its budget by effectively placing sprinklers.
  • General Calculations: At its core, E-rrigation is an app that performs complex calculations about areas of multiple circles and lines. Because of the lack of software that calculates areas like this, E-rrigation can be used.
    • Example: If a painter wanted to paint an art piece by placing circles such that some were partially overlapping on top of each other (shown below), then they could use the app to accurately determine the area of visible regions of the artpiece and how much paint to use.


Water Waste Images

Agricultural Water Wastage 1 (multiple close sprinklers)

Close Sprinklers on a Farm (Agricultural Wastage 2)

Agricultural Water Wastage 3

Neighborhood Water Wastage 1 (LOTS of water on street)

Neighborhood Water Wastage 2

Neighborhood Water Wastage 3

Neighborhood Water Wastage 4

Neighborhood Water Wastage 5

e-rrigation's People

Contributors

ishaanjav avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.