B.E Cse Batchno 265
B.E Cse Batchno 265
by
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
Accredited with Grade “A” by NAAC
JEPPIAAR NAGAR, RAJIV GANDHI
SALAI, CHENNAI – 600 119
APRIL - 2021
SATHYABAMA
INSTITUTE OF SCIENCE AND TECHNOLOGY
(DEEMED TO BE UNIVERSITY)
Accredited with “A” grade by NAAC
Jeppiaar Nagar, Rajiv Gandhi Salai, Chennai – 600 119
www.sathyabama.ac.in
BONAFIDE CERTIFICATE
This is to certify that this project report is the bonafide work of PRINCY JEAN
P. (Reg. No. 37110597) and PRAGARTHI M. (Reg. No. 37110586) who
carried out the project entitled “AUTOMATED FLOATING WASTE WATER
REMOVER” under my supervision from August 2020 to March 2021.
Internal Guide
Mrs M.D.Anto Praveena M.C.A.,M.E.,(Ph.D).
DATE:
I convey my thanks to Dr. T.Sasikala M.E., Ph.D ., Dean, School of Computing and
Dr.L.Lakshmanan M.E., Ph.D.,and Dr.S.Vigneshwari M.E., Ph.D., Heads of the Department
of Computer Science and Engineering for providing me necessary support and details at the
right time during the progressive reviews.
I would like to express my sincere and deep sense of gratitude to my Project Guide Mrs
M.D.Anto Praveena M.C.A.,M.E.,(Ph.D). for her valuable guidance, suggestions and
constant encouragement paved way for the successful completion of my project work.
I wish to express my thanks to all Teaching and Non-teaching staff members of the
Department of Computer Science and Engineering who were helpful in many ways for
the completion of the project.
ABSTRACT
In developing countries, accumulation of floating waste such as plastic scraps, foam scraps or
tree leaves on city canals or ponds can block water drainage and also cause pollutions.
Cleaning water surface is therefore an essential routine task. ” In India water pollution is
increasing day by day so this is becoming a serious problem for rivers, ponds etc. This mainly
consist of impurities like waste water debris, plastics, garbage on floating water surface.
These impurities mainly affect on health of human being and also affect on life of aquatic
animals. This project focuses more on “Remote Operated and automatic ,Floating and
stagnant water cleaning using sensors to detect the weight of waste materials obtained ,and
to provide motion to the waste remover to indicate any kind of obstacles on its path of
movement using an app to monitor.” Wireless sensor networks represent a promising
technology for water quality monitoring and management. The use of wireless sensor
networks facilitates the improvement of current centralized systems and traditional manual
methods, leading to decentralized smart water quality monitoring systems adaptable to the
dynamic and heterogeneous water distribution infrastructure of cities. It helps to reduce the
water pollution on floating and stagnant bodies .The Project aims to provide a non polluted
water body which can be used for living purposes and a cleaner environment for aquatic
animals . It is cost saving in the long run, environmental friendly and user-friendly with easy
maintenance .
TABLE OF CONTENTS
CHAPTER TITLE PAGE
No. No.
ABSTRACT v
LIST OF viii
ABBREVIATIONS ix
LIST OF FIGURES x
1 INTRODUCTION
1.1 Introduction 1
1.2 Problem statement 2
2 LITERATURE SURVEY 3
3 AIM AND SCOPE OF THE PROJECT 5
3.1 Aim of the project 5
3.2 Scope of the project 5
ABBREVIATIONS EXPANSIONS
IOT Internet Of Things
AC Alternating Current
Universal Serial Bus
USB IDE
Integrated Development
Environment
DC Direct Current
IR Infra Red
IORef Input Output Reference
PIR PASSIVE INFRA RED
IX
LIST OF FIGURES
x
CHAPTER 1
INTRODUCTION
1.1 INTRODUCTION
The Internet of things, also called the Internet of objects, refers to a wireless network
between objects. Usually, the network will be wireless and self- configuring, such as
household appliances. Internet of things refers to concept that the Internet is no longer
just a global network for the people to communicatewith one another using computers,
but it is also a platform for devices tocommunicate electronically with the world around
them. The Internet of Things (IOT) is a network of the physical objects-device,
vehicles, buildings and other items which are embedded with electronics, software,
sensor and networks connectivity, which enables these objects to collect and exchange
data. The Internet of things allows objects to be sensed and controlled remotely across
existing networks infrastructure, creating opportunities for more direct integrationof the
physical world into computer-based systems and resulting in improved efficiency,
accuracy and economic benefit. The project aims in addressing the fundamental state
of environmental crisis caused by water pollution that degrades the living standards of
the entire ecosystem . It decreases the rate of existence of the aquatic life that
indirectly affects the population of mankind in various ways . Today our water bodies
are filled with plastic waste ,e-waste and other non biodegradable waste. These
wastes have become a part of the marine environment lately .This contamination of
different kinds of waste have lead in Contributing to one of the main reason for global
hazards -water pollution, the contaminated waste not only makes the water impure but
also affects the smallest living organism present in the water body and the process
leads up to affecting every organism that is inter-dependent on it. This brings about the
break where the marine ecosystem is affected and affects the existense of mankind.
The project aims in bringing a detoxicated environment for both the aquatic and human
kind .It also helps in providing a better ,cleaner and safer surrounding to live on.
1
1.2 PROBLEM STATEMENT
The main aim of the project is to reduce the man power, time consumption for
cleaning the river. To reduce the pollution in water bodies. Facility of removing
waste particulate floating on water surface. To maintain the automation during
working towards cleaning water bodies. To perform the fast & reliable operation
during cleaning water bodies. Improve the water quality of a water bodies. To
work for society for clean up a section of a stream or river .To record the
amount
of garbage removed from the waterway & give solutions to local to provide
• The main aim of the project is to reduce the man power, time consumption for
cleaning the river.
• To reduce the pollution in water bodies. Facility of removing waste particulate
floating on water surface.
• To maintain the automation during working towards cleaning water bodies.
• To perform the fast & reliable operation during cleaning Water bodies. Improve the
water quality of a water bodies.
• To work for society for clean up a section of a stream or river .
• To record the amount of garbage removed from the waterway & give solutions to
local to provide better environment to aquatic animals and human life.
CHAPTER 4
SYSTEM MATERIALS AND METHODS
● Hardware requirements
● Software requirements
1. Arduino Uno R3
2. Bluetooth Module HC-05
3. Jumper wire
4. PIR sensor
5. DC motor
6. Bread Board
7. Battery
8. L298N Motor Driver
Arduino is an open-source platform used for building electronics projects. Arduino consists
of both a physical programmable circuit board (often referred to as a microcontroller) and a
piece of software, or IDE (Integrated Development Environment) that runs on your
computer, used to write and upload computer code to the physical board. The Arduino
platform has become quite popular with people just starting out with electronics, and for
good reason. Additionally, the Arduino IDE uses a simplified version of C++, making it
easier to learn to program. Finally, Arduino provides a standard form factor that breaks out
the functions of the micro-controller into a more accessible package. The Arduino is a
microcontroller board based on the ATmega8. It has 14 digital -input/output pins (of which 6
can be used as PWM outputs), 6 analog inputs, a16 MHz ceramic resonator, a USB
connection, a power jack, an ICSP header, and a reset button. It contains everything
needed to support the
6
microcontroller; simply connect it to a computer with a USB cable or power it with a ACto-
DC adapter or battery to get started "Uno" means one in Italian and is named to mark the
upcoming release of Arduino 1.0. The Uno and version 1.0 will be the reference versions of
Arduino, moving forward. The Uno is the latest in a series of USB Arduino boards, and the
reference model for the Arduino platform.
● It is used for many applications like wireless headset, game controllers, wireless
mouse, wireless keyboard and many more consumer applications.
● It has range up to <100m which depends upon transmitter and receiver, atmosphere,
geographic & urban conditions.
● It is IEEE 802.15.1 standardized protocol, through which one can build wireless
Personal Area Network (PAN). It uses frequency-hopping spread spectrum (FHSS)
radio technology to send data over air.
● It uses serial communication to communicate with devices. It communicates with
microcontroller using serial port (USART).
● HC-05 is a Bluetooth module which is designed for wireless comunication. This
module can be used in a master or slave configuration.
7
Fig 4.2 Bluetooth HC-05 module
Bluetooth serial modules allow all serial enabled devices to communicate with each other
using Bluetooth.
It has 6 pins,
Command mode: It uses AT commands which are used to change setting of HC-05. To
send these commands to module serial (USART) port is used.
4. TXD: Transmit Serial data (wirelessly received data by Bluetooth module transmitted
out serially on TXD pin)
5. RXD: Receive data serially (received data will be transmitted wirelessly by Bluetooth
module).
A passive intra red sensor (PIR Sensor) is an electronic sensor that measures infrared (IR)
light radiating from objects in its field of view. They are most often used in PIR-based
motion detectors. PIR sensors are commonly used in security alarms and automatic
lighting applications. PIR sensors detect general movement, but do not give information on
who or what moved. For that purpose, an imaging IR sensor is required. PIR sensors are
commonly called simply "PIR", or sometimes "PID", for "passive infrared detector".
The term passive refers to the fact that PIR devices do not radiate energy for detection
purposes. They work entirely by detecting infrared radiation (radiant heat) emitted by or
reflected from objects.A PIR sensor can detect changes in the amount of infrared radiation
impinging upon it, which varies depending on the temperature and surface characteristics
of the objects in front of the sensor. When an object, such as a person, passes in front of
the background, such as a wall, the temperature at that point in the sensor's field of view
will rise from room temperature to body temperature, and then back again. The sensor
converts the resulting change in the incoming infrared radiation into a change in the output
voltage, and this triggers
9
the detection. Objects of similar temperature but different surface characteristics may also
have a different infrared emission pattern, and thus moving them with respect to the
background may trigger the detector as well.
4.1.1.5 DC MOTOR
A DC motor is any of a class of rotary electrical motors that converts direct current
electrical energy into mechanical energy. The most common types rely on the forces
produced by magnetic fields. Nearly all types of DC motors have some internal mechanism,
either electromechanical or electronic, to periodically change the direction of current in part
of the motor. DC motors were the first form of motor widely used, as they could be powered
from existing direct-current lighting power distribution systems. A DC motor's speed can be
controlled over a wide range, using either a variable supply voltage or by changing the
strength of current in its field windings. Small DC motors are used in tools, toys, and
appliances.
Fig 4.5 DC
Motor 10
4.1.1.6 BATTERY
cell.
The L298N is an integrated monolithic circuit in a 15- lead Multiwatt and PowerSO20
packages. It is a high voltage, high current dual full-bridge driver de-signed to accept
standard TTL logic level sand drive inductive loads such as relays, solenoids, DC and
stepping motors. Two enable inputs are provided to enable or disable the device
independently of the in-put signals. The emitters of the lower transistors of each
bridge are connected together rand the corresponding external terminal can be used
for the connection of an external sensing resistor. An additional Supply input is
provided so that the logic works at a lower voltage.
11
Fig 4.7 L298N Motor Driver
1.Arduino IDE
2.Emmbedded C
Arduino software is used to put the instruction of whole functions of this system to the
microcontroller. Here we use programming language ‘C’ for coding. The program for
executing this project has been written in C language. The program is burnt in the
microcontroller using burner software. The program is stored in the EEPROM of the
microcontroller, which is present in the Arduino board. By this software we put the data and
instruction for forward, backward, left, right operation of this system. In android application
when we press a button, a corresponding signal is sent through the Bluetooth to Bluetooth
module (HC-05) which is connected with the Arduino board. When signal data arrives the
Arduino the pin which corresponds to the particular input is set to high. Now that pin gives
the output to the motor driver section. Motor driver switches accordingly the data bit, if the
data bit is low then the corresponding pin of the motor driver doesn’t work else high bit then
the corresponding pin of the motor driver is on. We have used Arduino IDE version 1.8.1
for writing program for Arduino. There are two steps of the programming. First set up
section where we define all the variables. Second loop part where the program runs
continuously .
Fig 4.8 Arduino IDE
4.1.2.2 EMMBEDDED C
To design the circuit the HC-05 BLUETOOTH MODULE is connected with the ARDUINO UNO
R3 BOARD.
● The BLUETOOTH RX pin to TX pin of ARDUINO .
● The BLUETOOTH TX pin to RX pin of ARDUINO .
● The BLUETOOTH VCC pin to 3.3V of ARDUINO.
● The BLUETOOTH GND to GND of ARDUINO.
14
4.2.2 ANDROID APP :
The HC-05 Bluetooth Module tutorial, I have used a simple app called Bluetooth Terminal
HC-05, which is installed on an Android Phone to communicate with the Bluetooth
Module.In this project, I have used the app with modifications in the data to be transmitted.
The above given Arduino code is written to synchronize with the data configured in the
Bluetooth Controller App.
15
CHAPTER 5
SYSTEM METHODOLOGY AND WORKING
The proposed system architecture aims to collect waste, garbage and other plastic trash
items from running and stagnant water using this device. The device is connected using dc
motors to an the Arduino Uno for locomotion using motor driver . Power supply Is
connected to one end of the arduino and another end of the motor driver . Bluetooth
connection is given and the sensors are given connection using the mobile app . The code
is written in the ardunio board for the functioning of the device.
5.2 METHODOLOGY
The device is operated using an android mobile phone and a laptop. Two operating modes
are available namely,
• 1.Manual mode
• 2.Automated mode
16
In manual mode the decive locomotion and trash removing is operated using an android
phone through blynk app.The device can be controlled from anywhere in the world by the
use of WIFI module.The trash is picked up using conveyer belt made using 2 motors. The
collected trash is transferred to a trash bin attached to the device platform.
Another motor attached behind the device that will rotate the water wheel so that the
device move according to the direction where there is floating waste. In autonomous mode
the device locomotion and waste pickup is done without human intervention. The device is
placed at the centre of the water where floating waste is present .
Using this ultrasonic sensor configuration the device will be able to distinguish between big
objects(walls).Big objects are considered as obstacles by the sensors and are avoided.
Other objects are considered as trash and are picked up by the device.Ultrasonic sensor
placed in the trash bin to monitor the level of the waste in the bin. If the bin is full it is
notified to the operator.
Assemble the circuit, make the necessary connections and upload the code to Arduino.
Then understanding the Bluetooth Controlled project is very easy .First, in the Android App,
I have used switches for ON and OFF purpose The corresponding data associated with
each switch is as follows:
DEVICE 1 ON—1
DEVICE 1 OFF—a
DEVICE 2 ON—2
DEVICE 2 OFF—b
When the corresponding switch is pressed , the data is is transmitted to the Bluetooth
Module from the Phone over Bluetooth Communication. The Arduino code, the Arduino
UNO receives any of this data from the Bluetooth Module (as per the key pressed) and
performs a simple switch case operation, where each case associated with appropriate
instructions to the Motor Driver Input Pins.For example, if ‘DEVICE 2 ON’ switch is pressed
in the Android Phone, then ‘2’ is transmitted. Arduino will then make IN2 HIGH to ON the
device.Similarly, other keys correspond to appropriate setting of INPUT.
16
Fig 5.2 App screenshot Fig 5.3 App screenshot
17
5.4 SYSTEM
TESTING
5.4.1SYSTEM
TESTING
We will test the project in two stages: software and hardware. The software part is to be
tested via the Arduino IDE, whereas the hardware part has to be tested physically. It is
necessary to check whether the system is working properly or not to check whether the
application is working we have to connect it with Bluetooth and run the application through
the circuit.
After building the whole circuit we test it, testing procedure is given in below .This project
should satisfy some features. Features to be tested as follows:
The arduino idk code should be running. To check whether the output is obtained we have
to upload the code to the board and run it..
● The Bluetooth module should be connected with android app.By giving command in
the app it should do the right job..
● The Android app should be checked.
● The functions should be done properly according to the inputs given in the app.
The expected output of this project is it should operate properly according to the inputs
given in the app . Also, it will be connected to Android app and controlled by the user. The
output should also be seen on the serial monitor of the Arduino IDE. Also, the output
should also be seen on the serial monitor and also on the Android app.
For testing first connect the circuit to the power supply is given to the Arduino using battery
or the computer. In this way the whole testing circuit is built. Now we should connect the
Bluetooth with thw mobile app. Summary of testing procedure:-
4) Give command in the Andriod app to ON and OFF the corresponding devices.
19
CHAPTER-6
RESULT AND DISCUSSION, PERFORMANCE ANALYSIS
Below is the screenshot of Android application which is used in this project to control the
devices. This application has 6 buttons / commands. I have used 2 commands. Remaining
Command are not used and are reserved for future scope. User can even rename these
button text as Device 1, Device 2, etc using the Set Keys option . User needs to turn on the
Bluetooth on his/her mobile and press scan button as shown below. Then connect to the
Bluetooth receiver on the device. Once the connection is established then the application
will show connected status as shown below.
20
Fig 6.2 Device side view
21
6.2 RESULT
The project detects waste objects such as plastic bags , plastic objects , and other floating
waste in water bodies. It provides a cleaner environment and helps In the
treatment of water purification. This device not only brings out a clean environment but also
reduces the amount of man power needed to clean any water body . This project was
implemented to provide a solution to irregular waste disposal to the water bodies. Using
PIR sensor we can detect floating waste on water bodies and extent of pollution caused by
unwanted toxic disposal from the waste which is floating on water. This device can later on
be connected to solar panel or can generate power from moving water and can be explored
more on the basis of conservation of the environment.
22
CH
APTER 7
SUMMARY
7.1 CONCLUSION AND
CONCLUSIO
N
This device detects waste objects such as plastic bags , plastic objects , and other floating
waste in water bodies. It provides a cleaner environment and helps In the treatment of
water purification. It not only brings out a clean environment but also reduces the amount of
man power needed to clean any water body. This project is implemented to provide a
solution to irregular waste disposal to the water bodies. Using PIR sensor we can detect
floating waste on water bodies and extent of pollution caused by unwanted toxic disposal
from the waste which is floating on water.
This device can later on be connected to solar panel and can generate power from moving
water and can be explored more on the basis of conservation and protection of the
Environment. The device can be further connected to water treatment analysis.
23
REFERENCES
[1]. Harshvardhan Baria, Mackwan Akash, Nirav Makwana, Raj Parmar, Mr. Sharad
Chhantbar “Review Paper On Automated Drainage Cleaning System”2018 IJSRSET |
Volume 4 | Issue 5 |
[2]. Manoj Rathod, Vasant Pund, Rahul Pungle, Jiwan Rathod “Automatic Floating Waste
Collector”Vol-3 Issue-3 2017 IJARIIE-ISSN(O)-2395-4396
[3]. Mahto Ravishankarkumar Ravindrabhai, Dehadray Vaibhav, Kaka Smit, Prof. Ankur
Joshi “Design And Fabrication Of River Waste Collector”
[4]. Prof. N.G.Jogi, Akash Dambhare, Kundan Golekar, Akshay Giri, Shubham Take
“Efficient Lake Garbage Collector By Using Pedal Operated Boat”International Journal of
Recent Trends in Engineering &Research (IJRTER), Volume 02, Issue 04; April - 2016
[ISSN: 2455- 1457]
[5]. Sheikh Md, Shahid Md Rafique, Dr. Akash Langde “Design and Fabrication of River
Cleaning
Machine”IJSART - Volume 3 Issue 11 –NOVEMBER 2017 ISSN [ONLINE]: 2395-1052
[6]. Madhavi N.Wagh, Kashinath Munde “Design and Analysis of River Water Cleaning
Machine”ISSN: 2455- 2631 © July 2018 IJSDR | Volume 3, Issue 7
[7]. Ganesh S. Patil, Rahul A. Pawar, Manish D. Borole, Shubham G. Ahire, Ajay L.
Krishnani, Amit H. Karwande “Review Paper on Drainage Water Cleaner
Machine”International Research Journal of Engineering and Technology (IRJET)Volume:
05 Issue: 01 | Jan-2018
[8]. Pranay Agrawal, Bishakh Bhattacharya “Aquatic Multi-Robot System for Lake
Cleaning”Conference Paper · August 2013 DOI: 10.1142/9789814525534_0024 Ganesh S.
Patil, Rahul A. Pawar, Manish D. Borole, Shubham G. Ahire, Ajay L. Krishnani, Amit H.
Karwande“Review Paper on Drainage Water Cleaner Machine.
APPENDIX
SOURCE CODE
#include<SoftwareSerial.h>
#define Txd 2
#define Rxd 3
SoftwareSerial bluetoothSerial(Txd,Rxd);
void setup()
pinMode(LED_BUILTIN,OUTPUT);
bluetoothSerial.begin(9600);
pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
Serial.begin(9600);
void loop()
{
25
Serial.read();
if(bluetoothSerial.available()>0)
int c = bluetoothSerial.read();
if(c == '1')
digitalWrite(9, HIGH);
digitalWrite(10, LOW);
bluetoothSerial.write("mot f");
digitalWrite(9, LOW);
digitalWrite(10, HIGH);
bluetoothSerial.write("mot
b");
digitalWrite(11, HIGH);
26
digitalWrite(12, LOW);
bluetoothSerial.write("con
f");
digitalWrite(11, LOW);
digitalWrite(12, HIGH);
bluetoothSerial.write("con
b");
if(c == '5')
digitalWrite(9, LOW);
digitalWrite(10, LOW);
digitalWrite(11, LOW);
digitalWrite(12, LOW);
bluetoothSerial.write("mot f");
}
}
27