0% found this document useful (0 votes)
5 views

Water AutomationTKIET_Final Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Water AutomationTKIET_Final Report

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 40

TATYASAHEB KORE INSTITUTE OF ENGINEERING &

TECHNOLOGY, WARANANAGAR - 416 113

A Project Report On

“An Android Application for Automation of Water


Supply in Agriculture”

Group ID: IT5


Name Roll No Email ID Phone No

1. Miss.Chavan Ankita V. [06] [email protected] 9503539209

2. Miss.Mane Madhavi S. [13] [email protected] 7841845628

3 . Mr.Joshi Anup V . [27] [email protected] 9405361525

4 . Mr.Mengane Akshay A . [28] [email protected] 8275359407

Under the Guidance Of


Mr. S. R. Shetake

DEPARTMENT OF INFORMATION TECHNOLOGY


ACADEMIC YEAR-2016-2017
TATYASAHEB KORE INSTITUTE OF ENGINEERING AND

TECHNOLOGY, WARANANAGAR.

Department of Information Technology


ACADEMIC YEAR

2016-2017

CERTIFICATE
This is to certify that, Miss. Chavan Ankita V., Miss. Mane Madhavi S., Mr. Joshi Anup V.,
Mr. Mengane Akshay A. are studying in BE Information Technology course in SEM VIII and they have
successfully completed the mega project report, entitled “An Android Application for Automation of
Water Supply In Agriculture”, in partial fulfillment of the award of Bachelor of Information
Technology as laid down by the Shivaji University, Kolhapur during academic Year 2016-2017.

Date: Place: Warananagar.

Mr. S.R.Shetake Prof. A. G. PATIL

(Project Guide) (HOD of CSE Dept.)

External Examiner Dr.S.V.Anekar

(Principal)
ACKNOWLEDGEMENT

It is our foremost duty to express our deep sense of gratitude and respect to the guide,
Mr. S. R. Shetake and Head of the Department of computer Science & Engineering,
Prof. A. G. Patil and Principal Dr. S.V. Anekar for their valuable advice and inspiration for us
which made us to complete the project work successfully.
We are indebted to professors of department who always guided us whenever needed. Last but not
the least, we are thankful to our colleagues and those who helped us directly or indirectly throughout this
project work.

Name PRN No Sign

Chavan Ankita V. 1312445808


Mane Madhavi S. 1412699356
Joshi Anup V. 1312446001
Mengane Akshay A. 1112355089
CHAPTER- 1.

INTRODUCTION OF THE PROJECT

It is an era of automation. As India is an agriculture country, agriculture is human kind's


oldest occupation and still it is most economic field but there is very less automation in
agriculture field. Around 1.2 billion of people in India are farmers. They are suffering from
different problems such as water overflow.

The water harvesting is the backbone of farming industry. In India water gets wasted due
to many reasons so the requirement of water for farm cannot get fulfill. Day by day the rain
percentage is also becoming less and small amount of water available for farming. The farmer
can not get all the details about electricity consumption of motor.

The proposed system is an IOT system (Internet Of Things) which is control through
android app, which will closely monitor the automation of water motor, control of soil moisture,
water level detection, dry run of motor and records of electricity consumption. Our automated
system will overcome the problem of wastage of electricity as well as water.
The Internet Of Things (IOT) describes the interconnection of objects (or things) for
various purposes including identification, communication, sensing and data collection. This is a
concept that aims to extend the benefits of regular internet that is connecting physical devices to
internet.

The Raspberry Pi is a series of credit card-sized single-board computer. All models


features is a Broadcom System on a chip (SOC), which includes an ARM compatible central
processing unit (CPU) and chip Graphics Processing. CPU speed ranges from 700 MHz to 1.2
GHz for the pi3 and Secure Digital (SD) cards are used to store the operating system.

Automation is a System of controlling a process by electronic devices with reducing


human involvement to a minimum extent. An agricultural water automation consist of main two
components the first part is an Android Application and second is Raspberry pi that has
appropriate interface to the sensors and motor. Sensors are taking inputs, transfer it to Raspberry
pi and from Raspberry pi it will transfer to android application. The automation is controlled by
the android application. Based on large number of low-cost-sensors and wireless communication,
the sensor network technology brings new demands to the communication technology.
CHAPTER:-2.

PRESENT PRACTICES AND TECHNOLOGY

At the present era, the farmers have been using irrigation technique in India through the
manual control in which the farmers irrigate the land at the regular intervals.

Existing aids like auto-starter are unreliable and incapable of communicating the
operating state of the motor, to the farmer, especially when a farmer have more than one motor
pump. He has to run around to make sure that all the motor are working when the power is
available. At times, motor are left running for longer time than what is necessary because of the
effort involved in switching off the motor. This leads to wastage of both electricity and water.

In the existing system today, most of agriculture work i.e. water level detection, moisture
control of soil is done manually. The farmers in urban area have some automation in their
agriculture but those farmers belong to rural area do not have that much automation in terms of
water motor controlling, detection of moisture in the farm and detection of water level in the
farm. Due to less automation meanwhile, the farmers are facing problems. The main problem is
that controlling overflow of water, so that farmers can avoid the over usage of water and save
water.

Also there is system used to control motor using SMS and vibration of mobile and only
one motor can be controlled by single mobile. The farmer having the mobile phone at farm can
use this technique on the basis of SMS and vibration of mobile. This is concept is not belong to
IOT (Internet Of Things). Here, only the message passing is carried out about ON/OFF of motor
via GSM (Global System for Mobile Communication). There is no facility for water level
detection and moisture level detection. This kind system is also present to the very low farmers.
The security issues are also there for mobile phone in farm and GSM. The present system is to
much complex, costly and has security up to certain level.
CHAPTER: - 3

PROBLEM IN PRESENT SYSTEM.

1) Auto-Starter are unreliable:-

As the cost of the auto-starter is more so, it is not reliable to farmers of rural area. For
farming purpose, there are more than one auto-starters are required so, it is also
unreliable.

2) Incapable of controlling the operating state of the motor:-

It is very hard to control operating state of the motor remotely. Controlling of motor is
only through SMS and vibration of motor.

3) Moisture level is not determined correctly:-

As per the moisture level of soil or the level of humidity of soil, the water get supply to
the farm, if we are measuring soil moisture level manually then there is chance of getting
incorrect reading. Due to this, problem in water supply to farm may occur.

4) Problem regarding to overflow of water and dry run of motor:-

Sometime, it is happening that after power-off of motor there is overflow of water and
after completion of water supply to farm, there occur dry run of motor.

5) A lot of manual work:-

Mostly, manual work is carried out for detection of moisture level and supply of water to
farm.
CHAPTER: - 4

PROBLEM STATEMENT

The issues faced by farmer while doing agricultural processes like overflow of water,
unusual power supply, dry run of motor, manually ON/OFF of motor, soil moisture control. Due
to this wastage of valuable time, man power, water, electricity occurs.
CHAPTER: -5

INFORMATION GATHERING AND ANALYSIS

Referred Journals Papers:-

1) Paper Name:- Automated Irrigation System using wireless sensor


technology.

Author Name:- Karthikeshwari M, Mithradevi P.

Theme:-

The automated control is implemented here to avoid damage of crops due to


surplus or deficit usage of water. The already existing system uses simple water pumps to
supply water to the crops as and when required by manual control. Another
disadvantageous method is the discontinuous monitoring of the water level by using
GSM (global system for mobile communications) technology. But, the proposed system
uses automatic control by using continuous monitoring. Thus the continuous monitoring
of the agriculture was designed and developed using various microcontrollers by using
GPRS. In existing method, only discontinuous was obtained by the use of GSM which
led to inefficient use of water and electricity. Hence by incorporating this method, the
water and electricity was used efficiently. Compared with the existing method it gives
better performance. So we can avoid these problem in a very efficient and innovative
manner with the help of micro controller, with the help of wireless technology of zigbee
protocol through very sensitive sensors.
2) Paper Name:- Automated monitoring and controlling parameters in DC
motors.

Author Name:- Preethi.R, Dhivya.N, Malathi.G, Rajesh.K.

Theme:-

In this work, the automatic monitor of temperature in DC motor is done and is


implemented using the Lab VIEW. This help to reduce the man power and save the
time. In future work, the database will collect and store in PC by using Lab VIEW
and the graphical representation will be help to monitor the conditions of DC motor.
The speed of the cooling fan is controlled according to the temperature of the DC
motor. The speed of the cooling fan can be controlled by using the relay.

3) Paper Name:- Advanced automation for irrigation using GSM approach


and smart sensors.

Author Name:- Piyush C. Deshmukh, Vivekanand B. Shere.

Theme:-

A step-by-step approach in designing the microcontroller based system for


measurement and control of the four essential parameters for plant growth, i.e.
soil moisture, Water sensor, Over voltage and Under Voltage and voltage and current
phases has been followed. The results obtained from the measurement have shown
that the system performance is quite reliable and accurate. The system has
successfully overcome quite a few shortcomings of the existing systems by reducing
the power consumption, maintenance and complexity, at the same time
providing a flexible and precise form of maintaining the environment. The
continuously decreasing costs of hardware and software, the wider acceptance of
electronic systems in agriculture, and an emerging agricultural control system
industry in several areas of agricultural production, will result in reliable control
systems that will address several aspects of quality and quantity of production.
4) Paper Name:- Irrigation Control System Using Android and GSM for
Efficient Use of Water and Power.

Author Name:- Laxmi Shabadi, Nandini Patil, Nikita. M, Shruti. J.

Theme:-

Since earlier days farmer is supposed to visit their agricultural land and check the
moisture content of soil manually. To avoid more human efforts this technology
can be used. It allows the user to monitor and maintain the moisture remotely
irrespective of time. It is really an effective and economic way to reduce human
effort and water wastage in agriculture land. Current techniques in agriculture have
reduced the ground-water level and availability of human resource. This Irrigation
control system using Android can help farmer in many ways through the use of
Humidity, Automatic and Manual modes of operation. Apart from agricultural fields,
this system can be used in Cricket stadiums or Golf stadiums and also in public
gardens. The system has a huge demand and future scope too. It allows a lot of
development within it and leads to the standard and useful system which can be
used vary widely in agricultural field.
CHAPTER – 6

PROJECT SCOPE STATEMENT AND ANALYSIS

To develop a prototype model for automation of water supply in agriculture which consist of
android app communicating with physical device like sensors, motors through the interface of
Raspberry Pi and Web Server.

Project Deliverables:-
An Android Application for Automation of Water Supply in Agriculture to resolve the
agricultural problems of farmers in India.
An application is design for farmers which reduce the human efforts while doing farm work.

Accepting Criteria:-
All the inputs are taken from the sensors such as water level sensor, moisture sensor
which transmit through Raspberry Pi.

Project Justification:-
“An Android Application for Automation of Water Supply in Agriculture” provides the
details about the soil moisture, water level through the Raspberry pi model to Android
application and user will perform action as per the requirement.
Project charter:-
Project title: “An Android Application for Automation of Water Supply in Agriculture”

Project start date: June 2016

Project finish date: March 2017

Project guide: Mr. S.R. Shetake.

Roles and Responsibilities:-

Name Roll Responsibilities

Mr. S.R. Shetake Project Guide Quality Monitoring

Analysis, Design,

Miss. Chavan Ankita V. Project Member Coding, Testing, Documentation

Analysis, Design,

Miss. Mane Madhavi S. Project Member Coding, Testing, Documentation

Analysis, Design,

Mr. Joshi Anup V. Project Member Coding, Testing, Documentation,

Analysis, Design,

Mr. Mengane Akshay A. Project Member Coding, Testing, Documentation


CHAPTER – 7

REQUIREMENT ANALYSIS AND FEASIBILITY STUDY

Software Requirements:-

1) Raspbian Jessie 4.4:-

Raspbian is a free operating system based on Debian optimized for the Raspberry pi hardware.
An operating system is the set of basic programs and utilities that make your raspberry pi run.

2) NOOBS 2.0.0 (New Out Of Box Software):-

NOOBS is a way to make setting up a Raspberry pi for the first time much, much easier. You
don’t need network access, and you won’t need to download any special imaging software. Just
heads to download pages, grab a copy of the NOOBS zip file, and unpack it onto a freshly
formatted 4 GB (or larger) SD card.

3) Python 3.4.2:-

Python is widely used high-level, general-purpose, interpreted, and dynamic programming


language.

4) Eclipse with ADT Bundle:-

Eclipse having the version Neon and ADT bundle.

Hardware Requirements:-

1) 12 Volt D.C. Motor. 4) Moisture level Sensor.

2) 5 Volt Relay. 5) Water level Sensor.

3) Raspberry pi 3 B 6) LED and adaptor.


CHAPTER – 8

PLANNING AND DESIGNING

The main motto of our project is to reduce the human efforts while doing the agricultural
processes. The project consists of Android application which communicate with Hardware
through another Android App. This system is carried out using raspberry pi, sensors.

As per proposed system architecture consists mainly 4 modules are given below:

1. Registration:-

Sign In:-

Registration consist of name of the farmer, password, motor number, motor


power, GSM modem number, Phone number. The above mentioned detail information
is added into database.

Log In:-

After that login is done by User name and Password. After validation of User
name and Password you can access other modules of this app.

2. Status Monitor:-

Status Monitor will check current status of power supply, water level measurement,
meter reading, moisture level measurement, sensor signal (Which gives number of active
sensors).The whole information will get store in database. This information is input for next
module.

We get notification about the all issues which are regarding ON-OFF of motor,
moisture level content, water level content and electricity bill generation
3. Action Performer:-

Action performer consists of two automated buttons ON and OFF. The ON button will start
the machine automatically. We will set time limit for ON and OFF of motor. Bill generator is a
button in the action performer which generates the bills daily or weekly as per the farmers need.

4. Electricity Bill Generation:-

Electricity bill generator consists of date, power consumption, meter number, time
period, meter reading. From this data electricity bill generator calculate the total bill generated
and will get stored in database.
SYSTEM ARCHITECTURE:

Systems Architecture is a generic discipline to handle objects (existing or to be created)


called "systems", in a way that supports reasoning about the structural properties of these objects.
Systems Architecture is a response to the conceptual and practical difficulties of the description
and the design of complex systems
CLASS DIAGRAM:

The class diagram is a static diagram. It represents the static view of an application. Class
diagram is not only used for visualizing, describing and documenting different aspects of a
system but also for constructing executable code of the software application.

The class diagram describes the attributes and operations of a class and also the
constraints imposed on the system. The class diagrams are widely used in the modelling of object
oriented systems because they are the only UML diagrams which can be mapped directly with
object oriented languages.

DATA FLOW DIAGRAM :


A data flow diagram (DFD) illustrates how data is processed by a system in terms of inputs and
outputs. As its name indicates its focus is on the flow of information, where data comes from,
where it goes and how it gets stored.

 DFD Level 0

 DFD level zero diagram consist of two actors that is user and raspberry pi kit.
 System is the process which acts as mediator between the user and the raspberry
pi kit.
 DFD Level 1:

 DFD level 1 consists of four processes these are- check login, status check and
update data. There are four actors such as- user, raspberry pi kit, hardware, bill
generator.

 User enter username and password and store the data into user data through the
process check login and verify the login status.

 User send the request to raspberry pi and get the response through process status
check.

 Raspberry pi will update the data through the process update data from bill
generator and hardware.
 DFD Level 2:

 DFD level two expands the update data from the data flow diagram one.
Hardware update the data to the raspberry pi kit. Raspberry pi kit send the signal
and get the acknowledgement through the process action. Raspberry pi kit send
the status request to hardware through status check and get the status response.
Updated data will stored in data store.

SEQUENCE DIAGRAM:
The Sequence Diagram models the collaboration of objects based on a time sequence. It
shows how the objects interact with others in a particular scenario of a use case. With the
advanced visual modeling capability, you can create complex sequence diagram in few clicks.
Besides, Visual Paradigm can generate sequence diagram from the flow of events which you
have defined in the use case description.

ER DIAGRAM:
Entity-Relationship (ER) diagram, is a graphical representation of entities and their
relationships to each other, typically used in computing in regard to the organization of data
within databases or information systems. An entity is a piece of data-an object or concept about
which data is stored.

CHAPTER: - 9
IMPLEMENTATION AND CODING

1) Android Files used for coding:-

1. Registration.java 4. Login.java

2. Constant.java 5. Status.java

3. Controller.java 6.ActionPerformer.java

2) PHP files used for interfacing:-

1. Connection.php

2. Registration.php

3. Index.php

3) Database used for Implementation:-

1. MySQL.

4) Server used for Implementation:-

1. XAMPP Server.

5) Hardware used for Implementation:-

1. Raspberry Pi 3 B model. 5. Adaptor.

2. 12Volt Motor. 6. Male-Female GPIO Pins.

3. Water Level Sensor. 7. 5 Volt Relay.

4. Moisture Level Sensor. 8. Breath Board and LEDs.


6) Software used for configuration of Raspbian O.S:-

1. PHP 5

2. Apache 2

3. Wire Pi

4. Putty.

5. VNC (Virtual Network Connection for remote access)

7) Technology used for Interfacing:-

1. Wifi (IEEE 802.11)

2.
SOFTWARE REQUIREMENT SPECIFICATION

Hardware Interfaces:

1. Sensors,Motor and meter to Raspberry pi kit.


2. Raspberry pi kit to GSM modem.
3. GSM modem to android mobile.

Software Interfaces:

1. Raspbian OS.
2. SQLite database.

Constraints

1. Authentication Risk:
The user must be authenticated, otherwise anyone can use application.

2. Hardware Risk:
It has high impact on project if hardware fails then whole project can be dump.

3. User Risk:
User must have android and they have to know English.
CHAPTER – 13
USER MANUAL
1) Raspberry Pi 3B Model:-

2) Raspbian O.S:-
3) Android Phone:-

4) 12 Volt D.C. Motor:-


5) 5 Volt Relay:-

6) Water Level Sensor :-


7) Moisture Level Sensor :-

8) Male- Female GPIO Pins :-


9) Adaptor :-

10) Raspberry pi connection and LED glowing:-


Screenshots of Application:-

11)Water Automation Welcome page:-


CHAPTER: - 14
CONCLUSION
The main advantage of this system is in the field of agricultural automation.
Earlier where a user (Farmer) had to do work manually or had network constraints, now can fully
control water motor from his mobile application. This system also concerns with monitoring
water level by water level sensor and moisture level by moisture level sensor in the farm. The
proposed system works wirelessly and gives broad range for communication between user
(Farmer) and controlling heads.

CHAPTER - 15
BIBLIOGRAPHY
Referred Journal Papers:
1. Irrigation control system using android and GSM for efficient use of water and power by
Laxmi Shabadi, Nandini Patil, Shruti.J, Smita.p.( International Journal of Advanced
Research in CSE, Volume 4, Issue 7, July 2014)

2. Induction motor control using android application by Trupti Bobhade, Anushri Gaarud,
U. W. Kaware.( International Research Journal of Engineering and Technology (IRJET),
Volume: 02 Issue: 06 | Sep-2015)

3. Advanced Automation for Irrigation Using GSM Approach with Smart Sensors
(International Journal of Advanced Engineering and Global Technology
Vol-03, Issue-05, May 2015)

4. Automated Irrigation System using wireless sensor technology. Karthikeshwari M,


Mithradevi P.

Books:
1. Information Technology Project Management- 4th edition, Kathy Schwalbe (cengage
learning India edition).

2. An Integrated Approach to Software Engineering- 3rd edition, Pankaj Jalote (Wiley India)

3. Object Oriented Modeling and Design-Blaha M. and Rumbaugh J (Pearson Prentice Hall,
2005)

4. ‘Internet of Things- connecting objects to the web’ by Hakima Chaouchi.

5. ‘Beginning PHP and MYSQL’ from novoice to professional by W.Jason Gilmore.

Websites:
1. https://business.tutsplus.com/tutorial/controlling dc motor by raspberry pi and python.

2. https://tutorialspoint.com/android.

3. https://tutorialpoint.com/PHP.

4. https://business.tutplus.com/tutorial/controlling water sensor and moisture level sensor


with raspberry pi.

REMARKS:
Mr. S.R.Shetake Prof. A.G.Patil

(Project Guide) (Head Of Dept)

You might also like