Project Report (1) - Copy (1)
Project Report (1) - Copy (1)
A PROJECT REPORT
Submitted by
R.KAVIVANAN 420721106301
N.NAVEEN 420721106035
of
BACHELOR OF ENGINEERING
IN
CUDDALORE
MAY 2025
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
ii
ACKNOWLEDGEMENT
Words and inadequate in offering our sincere thanks and gratitude to our
respect Principal Dr. S. SARAVANAN, M.E., Ph.D., for his amazing support and
continuous encouragement for the successful completion of our project work.
We wish to express the sense of gratitude and we would like to thank our
Guide Mr. G. MANIKANNAN, M.TECH. (Ph.D.), Assistant Professor,
Department of Electronics and Communication Engineering, for his encouragement
and valuable support, constructive remarks rendered in this project.
We owe thanks to all my faculty members and staff members, friends and our
parents who rendered in our endeavor.
iii
ABSTRACT
Plastic pollution in water bodies, especially in oceans and lakes, poses severe
threats to marine ecosystems and public health. Manual cleanup is often
inefficient, labor-intensive, and lacks real-time adaptability. This project
introduces an autonomous, solar-powered robotic boat designed for intelligent
plastic waste detection and collection using AI-based image processing on a
local system. The boat features a floatable platform driven by DC motors
controlled via an L298N motor driver and navigated using GPS. An ESP32-
CAM module captures real-time images of the water surface and transmits them
to a local Python Flask server. There, a CNN model built with TensorFlow
analyzes the images to detect the presence of plastic waste. Upon detection, the
system triggers a servo-operated collection gate via the ESP8266
microcontroller to collect the waste. Additionally, an ultrasonic sensor is
integrated to detect nearby obstacles such as walls or floating objects and
prevent collisions through basic avoidance logic. The boat operates
independently, using solar-charged batteries, and returns to base automatically
based on GPS coordinates. The entire process is handled locally without
reliance on cloud platforms, enabling offline operation in remote areas. The
proposed system provides a low-cost, energy-efficient, and scalable solution for
mitigating plastic pollution in aquatic environments, reducing the need for
manual intervention and enhancing sustainability in waste management.
iv
TABLE OF CONTENTS
CHAPTER TITLE PAGE
NO. NO.
ABSTRACT iv
LIST OF FIGURES viii
LIST OF ABBREVIATION ix
1 INTRODUCTION 1
1.1 INTRODUCTION TO IOT 1
1.2 IOT ARCHITECTURE 2
1.2.1 PERCEPTION LAYER 2
1.2.2 NETWORK LAYER 2
1.2.3 MIDDLEWARE LAYER 3
1.2.4 APPLICATION LAYER 4
1.2.5 SECURITY LAYER 4
1.2.3 CLOUD/EDGE COMPUTING LAYER 4
1.3 IOT APPLICATIONS 5
1.3.1 SMART HOME AUTOMATION 5
1.3.2 HEALTHCARE 5
1.3.3 INDUSTRIAL IOT 5
1.3.4 SMART AGRICULTURE 6
1.3.5 SMART CITIES 6
1.3.6 RETAIL AND SUPPLY CHAIN 6
1.4 IOT IN AUTONOMOUS SOLAR-POWERED 7
BOAT FOR PLASTIC WASTE COLLECTION
1.5 AI IN SMART AUTONOMOUS WASTE 8
COLLECTION ROBOT
1.6 ORGANIZATION OF THESIS 10
2 LITERATURE REVIEW 12
3 EXISTING SYSTEM 19
vii
3.1 INTRODUCTION 19
3.2 EXISTING METHODOLOGY 20
4 PROPOSED SYSTEM 22
4.1 INTRODUCTION 22
4.2 PROPOSED METHODOLOGY 22
4.2.1 HARDWARE SETUP 24
4.2.2 CONNECTIVITY 25
4.2.3 CENTRALIZED CONTROL SYSTEM 25
4.2.4 REAL-TIME BLOCKAGE DETECTION 25
AND CLEANING
vii
6 CONCLUSION & FUTURE SCOPE 39
6.1 CONCLUSION 39
6.2 FUTURE SCOPE 40
7 REFERENCE 41
vii
LIST OF FIGURES
FIGURE TITLE PAGE
NO. NO.
1.1 INTERNET OF THINGS 1
1.2 IOT ARCHITECTURE 3
1.3 IOT IN STREET LIGHT MONITORING 8
1.4 ENERGY MANAGEMENT IN IOT 9
1.5 SMART ENVIRONMENT MONITORING SYSTEM 10
3.1 EXISTING BLOCK DIAGRAM 22
4.1 BLOCK DIAGRAM OF PROPOSED SYSTEM 25
4.2 NODEMCU 28
4.3 LDR SENSOR 29
4.4 LIGHT EMITTING DIODE 30
4.5 IR SENSOR 30
4.6 VOLTAGE SENSOR 31
4.7 POWER SUPPLY BOARD 32
5.1 HARDWARE IMPLEMENTATION 35
5.2 WORKING MODEL 36
5.2 OUTPUT OF THE PROJECT 37
viii
LIST OF ABBREVIATION
ix
CHAPTER - 1
INTRODUCTION
1
However, as IoT continues to expand, it also presents complex challenges
that need to be addressed to ensure its sustainable growth. Issues such as data
privacy, cybersecurity threats, and interoperability remain significant concerns
that require comprehensive strategies and robust frameworks to mitigate risks and
safeguard IoT ecosystems. Despite these challenges, the transformative potential
of IoT in driving digital transformation, fostering innovation, and creating
smarter, more connected environments is immense, making it a key driver of the
fourth industrial revolution.
2
Fig 1.2 IoT Architecture
3
1.2.4 Application Layer:
IoT Applications: These are the end-user applications or services that
utilize the processed data to provide insights, trigger actions, or offer
valuable services. Examples include smart home systems, industrial
automation, healthcare monitoring, and environmental monitoring
solutions.
User Interface: This component provides a graphical interface for users to
interact with the IoT system, visualize data, set preferences, and control
connected devices.
4
1.3 IoT Applications:
1.3.2 Healthcare:
5
1.3.4 Smart Agriculture:
Precision Farming: IoT sensors and drones collect data on soil moisture,
temperature, and crop health, enabling farmers to make informed decisions
and optimize crop yields.
Livestock Monitoring: Wearable devices monitor the health and
behaviour of livestock, facilitating early disease detection and
management.
Automated Irrigation Systems: IoT-enabled irrigation systems adjust
water usage based on environmental conditions and plant needs,
conserving water and enhancing crop growth.
Traffic Management: IoT sensors and cameras monitor traffic flow and
congestion, enabling smart traffic management and optimization.
Waste Management: Smart waste bins and monitoring systems optimize
waste collection routes and schedules based on fill-level sensors,
improving efficiency and reducing costs.
Environmental Monitoring: Sensors measure air quality, noise levels,
and other environmental parameters to monitor and manage urban
environmental conditions.
6
1.4 IoT in Autonomous Solar-Powered Boat for Plastic Waste Collection:
7
Energy Management: Solar panel performance and battery health are
continuously monitored via IoT sensors. This data helps optimize power
usage and ensures uninterrupted operation, triggering alerts when energy
levels are low to prompt docking or recharging.
9
1.6 ORGANIZATION OF THESIS:
Chapter 1: Introduction
Overview of the current methods and technologies used for monitoring and
maintaining street lights
Evaluation of the limitations and shortcomings of traditional street light
management systems
Case studies or examples of existing IoT-based street light monitoring
systems
Chapter 4: Proposed System
10
Discussion on how the proposed system addresses the limitations of
existing systems
11
CHAPTER – 2
LITERATURE REVIEW
Title: AI-Based Autonomous Boat for Plastic Waste Collection in Water
Bodies
Author & Year: S. K. Singh, A. Kumar, and P. K. Sahu, 2023
Description: This paper discusses the design and implementation of an AI-
enabled autonomous boat aimed at detecting and collecting plastic waste from
water bodies. The system employs machine learning algorithms to classify
waste using onboard cameras and navigates using GPS and ultrasonic sensors.
The boat is solar-powered to enhance operational efficiency and sustainability.
Real-time data on waste locations is transmitted to a centralized monitoring
platform for further analysis.
The research highlights challenges in marine waste collection and proposes
adaptive strategies for different water conditions. The robot’s hardware includes
a microcontroller interface for motor control and sensor data acquisition. It uses
convolutional neural networks (CNN) to differentiate plastic waste from organic
debris. The study also presents field trials in controlled water bodies,
showcasing over 85% accuracy in detection and successful autonomous
collection missions. The authors address the energy constraints by integrating
solar panels and battery management systems.
Additionally, the system incorporates fail-safe mechanisms to avoid collisions
with aquatic animals. The paper concludes with a discussion on scalability for
urban waterway cleanup programs.
12
Title: Deep Learning-Based Plastic Waste Detection Using ESP32-CAM
and TensorFlow
Author & Year: J. Park, M. Lee, and H. Kim, 2022
Description: This study presents a low-cost embedded system integrating
ESP32-CAM with TensorFlow-based convolutional neural networks for plastic
waste detection in aquatic environments. The system captures images and
processes them locally to detect plastics with high accuracy, enabling real-time
decisions for robotic waste collection. The work demonstrates the feasibility of
deploying lightweight AI models on edge devices and discusses trade-offs
between accuracy and computational resources. The authors detail the training
dataset comprising over 10,000 annotated images of various plastic types under
different lighting and water conditions.
Techniques such as data augmentation and transfer learning were used to
improve model robustness. The system’s latency for image capture to
classification is under 300 ms, suitable for dynamic environments. The paper
discusses energy-efficient coding practices to extend battery life in field
deployments. Experimental results show precision and recall rates exceeding
90%, outperforming previous works using heavier processing units. Challenges
such as occlusions, reflections, and varying water turbidity are addressed
through image preprocessing steps. The authors propose future integration with
multi-sensor fusion for enhanced reliability.
13
evaluates energy management strategies to maximize operational time and
discusses the environmental impact reduction achieved by such autonomous
systems. The hardware design includes photovoltaic panels optimized for
aquatic use and rechargeable lithium-ion batteries. The control system adapts
cleaning operations based on real-time pollution density maps generated via
onboard sensors.
Autonomous navigation is supported by GPS and obstacle avoidance sensors to
ensure safe operation in complex water environments. The robot communicates
with a cloud-based monitoring system for data logging and remote control.
Field tests demonstrate continuous operation for up to 10 hours under partial
sunlight. The authors analyze lifecycle costs and potential environmental
benefits, including reduced human intervention and improved water quality.
Limitations related to weather dependency and maintenance are discussed,
along with proposed hybrid power solutions.
14
operators with status updates and environmental metrics. The system supports
geofencing to prevent navigation into restricted or hazardous zones.
Experimental deployments in urban rivers showed a 30% improvement in waste
collection efficiency compared to manual methods. The paper discusses security
challenges and proposes encryption methods for IoT data streams. Future work
includes integrating machine learning for predictive route optimization.
15
Title: IoT Based Smart Monitoring System for Sewage Workers with Two-
Way Communication
Author & Year: A. Vellingiri, K. Dharni, M. Arunadevi, R. L. Aravind Lal,
2020
Description: This study presents an IoT-enabled smart monitoring system
designed to ensure the safety of sewage workers. The system incorporates gas
sensors, wearable devices, and two-way communication modules to monitor
hazardous gases and worker health remotely. The framework emphasizes real-
time alerts and remote intervention to reduce occupational risks in sewage
management, which could be adapted for autonomous drainage cleaning robots.
Gas sensors detect toxic gases such as methane, hydrogen sulfide, and carbon
monoxide to prevent worker exposure.
Wearable health monitors track vital signs, including heart rate and body
temperature, transmitting data to a central control unit. Two-way
communication allows emergency instructions and status updates. The system
includes GPS tracking for location monitoring. Field trials in urban sewage
systems demonstrated reduced accident rates and improved emergency response
times. The authors suggest integrating robotic automation with this safety
framework to replace manual cleaning. Challenges such as network reliability
and sensor calibration in harsh environments are addressed.
16
and highlights innovations in sensor technology and power management
suitable for robotic environmental applications.
Platforms such as Arduino, Raspberry Pi, and ESP8266/ESP32 are compared in
terms of computational power, energy consumption, and ease of integration.
The authors emphasize modular designs enabling customization for specific
monitoring needs. Wireless protocols including Zigbee, LoRa, and Wi-Fi are
analyzed for their applicability in different geographic and infrastructural
conditions.
Power-saving techniques such as duty cycling and solar charging are explored.
The paper also reviews data analytics methods, from basic threshold alarms to
advanced machine learning-based anomaly detection. Case studies on river
pollution monitoring and air quality assessment demonstrate real-world
applicability. The review concludes by outlining gaps in existing technologies,
including sensor accuracy and long-term durability.
17
real-time remote monitoring and data sharing. Challenges in harsh
environmental conditions like waves, weather, and biofouling are discussed.
The paper identifies emerging trends such as AI-driven decision making and
autonomous docking for maintenance. Practical deployment cases and testing
methodologies are summarized to guide future innovations.
18
CHAPTER – 3
EXISTING SYSTEM
3.1 INTRODUCTION
19
Plastic pollution in water bodies such as lakes, rivers, and oceans is a
growing global concern, contributing to severe environmental
degradation, marine ecosystem damage, and threats to aquatic life.
Despite several government initiatives and awareness campaigns, the
accumulation of plastic waste continues to rise due to poor waste disposal
practices and lack of continuous monitoring systems.
21
CHAPTER – 4
PROPOSED SYSTEM
4.1 INTRODUCTION
23
For navigation, the boat uses a GPS module (NEO-6M) to maintain its
course and automatically return to base once the task is completed or the battery
is low. The system runs entirely offline, eliminating the need for internet or
cloud services, making it suitable for deployment in remote areas. The
combination of real-time image detection, local processing, autonomous
collection, and GPS-based navigation ensures an efficient, low-cost, and eco-
friendly solution to combat plastic pollution in water bodies.
Add a servo motor to open and close the collection chamber door when
plastic is detected.
24
4.2.2 Connectivity:
The Flask server processes the images using a TensorFlow CNN model
trained to detect plastic waste.
GPS data is used to guide the boat’s path and ensure it returns to base
when the battery is low or collection is complete.
All operations are executed offline, ensuring the system works in remote
areas without internet access.
25
detection and collection tasks.
The GPS module ensures the boat can return to its starting point
automatically after completing the task or when battery level drops.
4.3.1 NodeMCU
The NodeMCU is a widely-used open-source IoT platform based on the
ESP8266 WiFi module. It serves as the core processing unit and communication
gateway for the street light monitoring system. The NodeMCU serves as the core
component responsible for managing the hardware and facilitating
communication with external systems. It functions as a versatile microcontroller
unit based on the ESP8266 WiFi module, enabling wireless connectivity crucial
for transmitting data from sensors like the LDR and voltage sensor to monitor
street light conditions. The NodeMCU collects and processes data regarding
faults and location detection from these sensors, and it controls feedback
circuits and LED indicators to signify issues. Moreover, it interfaces with the
keypad for user input and communicates with the Telegram bot, allowing for
fault notifications to be sent to authorized personnel. Essentially, the
NodeMCU acts as the central control unit, orchestrating the operation of
26
various hardware components and enabling remote monitoring and
management of the street lighting network.
27
Fig 4.3 ULTRASONIC Sensor
28
4.3.4 GPS Module
29
Fig 4.6 Motor Driver (L298N)
A solar panel is a device that converts sunlight directly into electricity using
the photovoltaic effect. It's composed of multiple photovoltaic cells, usually
made from silicon, which absorb photons from the sun and release electrons,
generating an electric current. These panels are a cornerstone of renewable
energy, offering a clean and sustainable power source that reduces reliance on
fossil fuels. They come in various sizes and efficiencies, suitable for
applications from powering small electronic devices to large-scale grid-
connected power plants. The amount of electricity a solar panel generates
depends on factors like sunlight intensity, panel size, and efficiency, as well as
the angle at which it's positioned relative to the sun.
31
4.3.8 DC Motor
A servo motor is a rotary or linear actuator that allows for precise control
of angular or linear position, velocity, and acceleration. Unlike standard DC
motors, a servo motor typically consists of a DC motor, a gearbox, a position
sensor (like a potentiometer or encoder), and a control circuit. The control
32
circuit receives a command signal, usually a pulse-width modulated (PWM)
signal, and then drives the motor to the desired position. This closed-loop
control is what enables their high accuracy and repeatability, making them
indispensable in applications requiring precise movement, such as robotics,
CNC machinery, remote control airplanes, and industrial automation.
Arduino IDE
33
Arduino board designs use a variety of microprocessors and controllers.
The boards are equipped with sets of digital and analog input/output (I/O) pins
that may be interfaced to various expansion boards or breadboards (shields) and
other circuits. The boards feature serial communications interfaces, including
Universal Serial Bus (USB) on some models, which are also used for loading
programs from personal computers. The microcontrollers are typically
programmed using a dialect of features from the programming languages
C and C++. In addition to using traditional compiler tool chains, the Arduino
project provides an integrated development environment (IDE) based on the
Processing language project.
It includes a code editor with features such as text cutting and pasting,
searching and replacing text, automatic indenting, brace matching, and syntax
highlighting, and provides simple one- click mechanisms to compile and upload
programs to an Arduino board. It also contains a message area, a text console, a
toolbar with buttons for common functions and a hierarchy of operation menus.
The source code for the IDE is released under the GNU General Public License,
version 2.
The Arduino IDE supports the languages C and C++ using special rules of
code structuring. The Arduino IDE supplies a software library
from the Wiring project, which provides many common input and output
procedures. User-written code only requires two basic functions, for starting the
sketch and the main program loop, that are compiled and linked with a program
stub main() into an executable cyclic executive program with the GNU tool
chain, also included with the IDE distribution. The Arduino IDE employs the
program avr port to convert the executable code into a text file in hexadecimal
encoding that is loaded into the Arduino board by a loader program in the board's
firmware.
34
Python Flask & Tensor Flow
Python Flask is a lightweight and flexible web framework widely used to
develop web applications and APIs. When combined with TensorFlow, a
powerful open-source machine learning library, Flask enables developers to
deploy deep learning models as web services accessible through HTTP requests.
In a typical setup, a pre-trained TensorFlow model is loaded within a Flask app,
allowing the server to process incoming data, such as images or text, and return
predictions in real time.
Flask’s simplicity makes it easy to create RESTful endpoints where clients
can send input data, triggering TensorFlow’s inference operations on the
backend. This integration is particularly useful for AI applications like image
classification, object detection, and natural language processing, where low-
latency responses are crucial. The Flask app handles tasks like data
preprocessing before feeding it into the TensorFlow model, then post-processes
the output to generate human-readable results. Developers benefit from Flask’s
modular design, which supports middleware for logging, security, and
scalability enhancements.
Additionally, Flask apps can be containerized using Docker and deployed on
cloud platforms, ensuring reliable and scalable access to AI models. This
architecture democratizes AI by making sophisticated models accessible via
simple web requests, enabling integration with front-end applications, mobile
apps, or IoT devices. Overall, using Flask with TensorFlow creates an efficient,
user-friendly interface to complex machine learning models, accelerating the
development of intelligent applications across various domains.
35
CHAPTER – 5
RESULT & DISCUSSISON
5.1 INTRODUCTION
This chapter presents the results obtained from the implementation and
testing of the Autonomous Plastic Waste Collection Boat. The performance of
each hardware component and the overall functionality of the system are
analyzed. Real-time plastic detection, obstacle avoidance, autonomous
navigation, and servo-based collection are tested in simulated water
environments. The system’s effectiveness, challenges faced, and improvement
opportunities are also discussed.
36
5.3 PROTOTYPE DESCRIPTION
The prototype consists of a floatable robotic boat equipped with an
ESP32-CAM for real-time image capture, an ESP8266 microcontroller for
motor and servo control, and a GPS module for navigation. A TensorFlow-
based CNN model runs on a local system using a Flask server to detect plastic
waste from incoming images. A servo motor is activated to open a collection
gate when plastic is detected. For obstacle detection, an ultrasonic sensor is
installed at the front to detect nearby objects and prevent collisions. The boat is
powered by a solar-charged 12V battery, enabling eco-friendly and continuous
operation. The GPS module allows the boat to autonomously return to base after
task completion.
37
All sensor data, GPS location, and detection events are transmitted in
real-time to a Firebase cloud platform. This enables remote monitoring through
a mobile or web dashboard. Alerts, such as full waste bin or low battery, are sent
automatically via email or app notifications to concerned authorities. Once the
waste is collected or the mission is completed, the boat returns to its docking
station for unloading and recharging, ensuring an efficient, self-sustained waste
management system.
38
5.6.2 ESP32-CAM Performance
39
CHAPTER – 6
6.1 CONCLUSION
The implementation of the Smart Autonomous Plastic Waste Collection
Boat presents an innovative, efficient, and eco-friendly approach to mitigating
plastic pollution in water bodies. By integrating AI-based image processing with
autonomous navigation and sensor-driven obstacle avoidance, the system
effectively detects and collects floating plastic waste with minimal human
intervention. The use of solar-powered energy combined with a rechargeable
battery ensures sustainable operation, making the boat suitable for extended
deployment in remote or off-grid areas.
40
6.2 FUTURE SCOPE:
To enhance the functionality and adaptability of the Smart Autonomous Plastic Waste
Collection Boat, the following future developments can be explored:
41
6. 5G and IoT Integration:
Leveraging 5G connectivity can enable ultra-fast communication for remote
monitoring and control, real-time data analytics, and cloud integration for
enhanced decision-making and maintenance.
REFERENCES
[3] J. Park, M. Lee, and H. Kim, "Deep Learning-Based Plastic Waste Detection
Using ESP32-CAM and TensorFlow," Journal of Cleaner Production, vol.
350, 2022.
42
[7] A. Vellingiri, K. Dharni, M. Arunadevi, R. L. Aravind Lal, “IoT Based
Smart Monitoring System for Sewage Workers with Two-Way
Communication,” International Research Journal of Engineering and
Technology, vol. 7, no. 6, June 2020.
[11] S. Kim, J. Choi, and M. Park, "Energy-Efficient Solar Power Systems for
Autonomous Marine Robots," Renewable Energy, vol. 183, pp. 1376–1385,
2022.
43