Water AutomationTKIET_Final Report
Water AutomationTKIET_Final Report
A Project Report On
TECHNOLOGY, WARANANAGAR.
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.
(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.
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.
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
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.
It is very hard to control operating state of the motor remotely. Controlling of motor is
only through SMS and vibration of motor.
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.
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.
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
Theme:-
Theme:-
Theme:-
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
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”
Analysis, Design,
Analysis, Design,
Analysis, Design,
Analysis, Design,
Software Requirements:-
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.
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:-
Hardware Requirements:-
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:-
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.
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:
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.
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. Registration.java 4. Login.java
2. Constant.java 5. Status.java
3. Controller.java 6.ActionPerformer.java
1. Connection.php
2. Registration.php
3. Index.php
1. MySQL.
1. XAMPP Server.
1. PHP 5
2. Apache 2
3. Wire Pi
4. Putty.
2.
SOFTWARE REQUIREMENT SPECIFICATION
Hardware Interfaces:
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:-
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)
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)
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.
REMARKS:
Mr. S.R.Shetake Prof. A.G.Patil