Automated Waste Segregation System
Automated Waste Segregation System
CHAPTER 01
INTRODUCTION
Waste management is one of the most significant challenges faced by urban
communities today. With rapid population growth, industrial development, and changes in
lifestyle patterns, the volume of waste generated every day has increased drastically. Most
households, institutions, and public areas dispose of waste without proper segregation, which
results in mixed waste being collected by municipal bodies. When waste is not segregated at
the source, it becomes extremely difficult to recycle or treat it effectively. Mixed waste sent to
landfills causes soil pollution, air pollution, and contamination of groundwater, ultimately
affecting public health and the environment. Therefore, there is an urgent need for systems that
promote proper waste segregation in an automated, simple, and user-friendly manner.
The main motivation for developing this project is to provide an affordable and practical
system that can be used in households, colleges, offices, parks, hospitals, and other public
places. Unlike expensive commercial smart-bins, this project uses cost-effective components
such as Arduino Uno, ESP32, ultrasonic sensors, servo motors, and foam/acrylic structures.
These components are easily available, simple to integrate, and suitable for prototype
development. The design is straightforward and modular, making it easy to replicate, modify,
or scale based on requirements.
Additionally, this project aligns with the growing demand for smart-city solutions.
Many cities are now adopting IoT-based technologies to improve cleanliness, reduce manual
labour, and optimize waste-collection routes. By integrating automation and IoT, this system
contributes to the broader vision of sustainable and intelligent waste-management practices. It
also promotes environmental sustainability by encouraging recycling, reducing landfill waste,
and improving the efficiency of municipal operations.
Overall, the basic concept of this project revolves around automating the waste
segregation process and enabling real-time waste monitoring through IoT. The system not only
improves segregation accuracy but also enhances hygiene, safety, and operational efficiency.
With further development, it has the potential to become a widely used solution in smart homes
and smart cities, contributing to a cleaner and healthier environment.
Waste segregation helps reduce the amount of garbage that goes to landfills, which are
already overflowing in many cities. When waste is mixed, it becomes difficult to recycle and
can also release harmful gases and toxins. But when it is properly separated, biodegradable
waste can be used to make compost, and recyclable materials like plastic and metal can be
reused. This saves natural resources, reduces environmental damage, and supports a cleaner
and healthier society.
CHAPTER 02
The design and construction of the Automatic Waste Segregation and Monitoring
System began with a systematic methodology that involved understanding the nature of waste
materials, selecting the appropriate sensing components, planning the flow of waste, and
integrating IoT-based monitoring. The planning phase focused on creating a structure where
waste enters through a single inlet and then passes through a sensing chamber. During the initial
stage, the type of waste to be segregated—such as metal, plastic, or dry waste—was analysed
to determine the best sensors suitable for detection. Inductive sensors were selected for
identifying metal objects due to their sensitivity to electromagnetic disturbances, while
capacitive sensors were chosen to detect plastics and paper. An ultrasonic sensor was included
to sense the presence of waste at the inlet and to measure bin levels after segregation. The
mechanical design was planned such that a servo motor could rotate a flap or diverter to direct
the waste into the appropriate bin based on sensor signals. The system was divided into stages
such as input sensing, material identification, decision-making, servo actuation, bin-level
monitoring, and IoT data transmission. Planning also included programming flowcharts, wiring
layout creation, and testing individual components before integrating them into the final
system. This ensured that every component responded correctly and worked together
seamlessly.
The core components of the system include the ESP32 microcontroller, Arduino Uno,
ultrasonic sensor, inductive sensor, capacitive sensor, servo motor, breadboard, jumper wires,
9V battery, and the mechanical casing. The ESP32 microcontroller serves as the main
processing unit responsible for executing logic, handling Wi-Fi communication, and sending
real-time data to the IoT dashboard. It processes bin-level data, monitors sensor readings, and
generates alerts when bins become full. Arduino Uno is used to interface with sensors and servo
motors because of its stable PWM output and multiple analogy and digital pins. The ultras
sonic sensor plays a dual role—detecting waste presence at the inlet and measuring the
height of waste inside the bins. It works by emitting ultrasonic waves and calculating the time
taken for the echo to return. The inductive sensor detects metallic waste by generating an
electromagnetic field that reacts when metal passes through it, making it ideal for categorizing
metal waste. The capacitive sensor identifies plastic and paper based on changes in dielectric
properties, allowing the system to separate non-metallic items accurately. The servo motor is a
crucial component that rotates the diverter flap to direct waste into the correct bin. Its precise
0°–180° control enables accurate bin selection. The breadboard is used for temporary wiring
and circuit organization, while jumper wires provide quick connections between sensors,
Arduino, and ESP32. The 9V battery supplies backup power to ensure continuous operation.
The mechanical chassis, made of foam and acrylic, supports all components and ensures
durability. Together, these components form a complete, coordinated system that performs
waste segregation efficiently.
The circuit diagram of the waste segregation system includes the connection of sensors,
servo motor, Arduino Uno, and ESP32. The ultrasonic sensor is connected to Arduino’s digital
pins where the trigger pin connects to D9 and the echo pin to D8. The inductive and capacitive
sensors are connected to digital pins D4 and D5 respectively. The servo motor signal pin
connects to PWM pin D10 of Arduino, while its power and ground are connected to 5V and
GND respectively. Arduino Uno communicates with the ESP32 through TX and RX pins for
transferring sensor data. The bin-level ultrasonic sensors are connected to the ESP32’s GPIO
pins. All components share a common ground to ensure stable circuit operation. The power
supply to the system is provided through USB or a 9V battery connected to the Arduino’s VIN
pin.
Servo (2)
Servo (3)
Chapter 03
Working Methodology
3.1 Illustration of Working Methodology
The working methodology of the Automatic Waste Segregation and Monitoring System
is based on a sequential process involving sensing, identification, actuation, and monitoring.
When a waste item is brought near the inlet, the ultrasonic sensor first detects its presence and
activates the sensing mechanism. As the waste passes through the sensing chamber, it is
analysed by two primary sensors: the inductive sensor, which detects the presence of metallic
waste, and the capacitive sensor, which identifies non-metallic waste such as plastic or dry
paper by measuring changes in dielectric properties. After collecting the sensor data, the
Arduino Uno processes the input and determines the category of the waste. Based on this
classification, the Arduino sends a signal to the servo motor to rotate the diverter flap to the
correct angle so that the waste is directed into its respective bin. Once the waste is dropped, the
servo returns to its original position, allowing the next item to enter. In parallel, ultrasonic
sensors installed inside each bin continuously measure the fill level and transmit this
information to the ESP32 module. The ESP32 uses Wi-Fi connectivity to update the IoT
dashboard with real-time bin status, sending notifications when any bin becomes full. This
entire sequence forms a continuous and automated workflow that ensures accurate segregation
and effective real-time monitoring of waste levels.
The working procedure of the system begins with powering on the main control unit,
which initializes the Arduino Uno, ESP32, sensors, and servo motor. Once the system becomes
active, the sensing unit remains ready to detect incoming waste. When the ultrasonic sensor
senses an object near the inlet, it triggers the detection phase. The waste item then passes
directly under the inductive sensor, which checks for metal content. If metal is detected, the
Arduino identifies the object as metallic waste. If not, the waste proceeds further to the
capacitive sensor, which determines if the object is plastic or dry waste based on dielectric
changes. After classification, the Arduino selects the appropriate servo angle and rotates the
diverter flap toward the designated bin. The waste falls into the correct bin through gravity,
and the servo resets to its neutral position afterwards. Meanwhile, each bin has a dedicated
ultrasonic sensor that continuously measures the height of accumulated waste. These readings
are transmitted to the ESP32, which updates the IoT dashboard. If a bin reaches near its
maximum capacity, the system automatically sends an alert notification, ensuring timely
disposal. The entire procedure repeats for every incoming waste item, providing a fully
automated and reliable segregation process.
The interaction flow between the hardware components is crucial to ensure the system
functions without delay or misclassification. The sensors continuously operate in scanning
mode, collecting data in real time. The Arduino Uno acts as the central controller for sensing
and decision-making while the ESP32 handles communication and monitoring. When waste
passes through the detection zone, the Arduino processes inputs in milliseconds to avoid
congestion at the inlet. The servo motor is programmed to respond instantly with minimal
delay, allowing the diverter flap to move rapidly and return to its home position. Meanwhile,
feedback loops from bin-level ultrasonic sensors help the ESP32 update the system status
continuously on the IoT dashboard. This real-time interaction ensures no overlap occurs
between different stages of the workflow and allows the system to operate smoothly even
during continuous use.
To maintain reliability, the system includes basic error-handling functions that identify
and respond to faulty sensor readings. If the ultrasonic sensor fails to detect an object due to a
reflective surface or incorrect angle, the system performs a retry cycle before moving forward.
Similarly, if both inductive and capacitive sensors fail to classify the waste, the Arduino
defaults to a “dry waste” category to ensure the item is still processed. The servo motor is also
programmed with limits to avoid mechanical jamming in case of oversized objects. Moreover,
the ESP32 monitors the system’s voltage levels to prevent malfunction caused by low battery
conditions. Any repeated failures or abnormal readings result in an error notification sent to
the user via the IoT dashboard. This additional safety layer enhances reliability and prevents
system downtime.
The efficiency of the system relies heavily on appropriate timing and response
mechanisms. Each sensor reading is taken with a specific delay to avoid incorrect classification
due to noise or vibration during waste movement. The ultrasonic sensor uses microsecond-
level timing to calculate accurate distances, while inductive and capacitive sensors evaluate
their readings at high frequency to detect material presence instantaneously. The servo motor
is programmed to rotate with controlled speed to ensure waste falls precisely into the correct
bin without bouncing or misalignment. The ESP32 collects bin-level data at predefined
intervals, reducing network load while maintaining real-time accuracy. Such timing
management significantly improves the performance and ensures a stable workflow under
various operating conditions.
The integration with the IoT dashboard plays an essential role in extending the
functionality of the waste segregator beyond physical segregation. The ESP32 collects bin
status, sensor health data, and environmental readings before uploading them to the cloud
platform. The IoT dashboard displays parameters such as the type of waste detected, current
bin level percentage, time of last entry, and system connectivity status. Advanced versions of
the dashboard also allow manual override, enabling the operator to test the servo motor or reset
sensor values remotely. This integration not only helps in remote supervision but also helps
municipalities and waste management teams make informed decisions, thereby enhancing
overall waste disposal efficiency.
(a) ESP32
A servo motor is a small and precise actuator used to rotate or position objects at specific
angles. It is widely used in robotics, automation, and control systems where accurate movement
is required. In your project, the servo motor helps open and close flaps, lids, or segregation
gates based on sensor inputs. Its ability to move to exact positions makes it ideal for directing
waste to the correct compartment or performing mechanical operations smoothly and
efficiently.
(e) Breadboard
A breadboard is a reusable platform for building and testing electronic circuits without
soldering. It contains interconnected holes that allow components to be plugged in easily and
connected using jumper wires. In your project, the breadboard helps in assembling all
components like the ultrasonic sensor, servo motor, ESP32/Arduino, and power supply
connections. It is extremely useful for prototyping, debugging, and making adjustments before
finalizing the design.
Program Used
Arduino IDE Software
One of its key features is the Serial Monitor, which enables real-time monitoring and
debugging of data from connected devices, allowing developers to test and adjust their systems
efficiently. Arduino IDE is widely used in robotics, automation, IoT, and embedded system
projects because it simplifies hardware-software integration. In projects like automatic waste
segregation and monitoring systems, Arduino IDE plays a crucial role in programming sensors
such as ultrasonic sensors, controlling actuators like servo motors, and implementing the logic
to make the system intelligent and responsive. Its cross-platform compatibility and strong
community support make it an indispensable tool for prototyping, experimenting, and building
functional electronic systems.
Chapter 04
Chapter 05
Result and Discussion
The development of the Automatic Waste Segregation and Monitoring System led to
several important results that demonstrate the practicality and functioning of the proposed
design. The integration of sensors, microcontroller, and actuators enabled the system to
perform real-time segregation and monitoring operations. Throughout the testing phase, the
system consistently detected the presence of waste using the ultrasonic sensor and activated
the servo motor mechanism to divert waste into the appropriate section. Additionally, the
monitoring feature provided clear feedback on bin fill levels, ensuring timely waste disposal.
This chapter explains in detail the objectives achieved, the shortcomings, limitations
encountered during testing, and the scope for future enhancements.
One of the primary objectives—to automate the process of waste detection and
segregation—was successfully achieved. The ultrasonic sensor accurately measured the
distance and detected when waste was placed into the bin. The microcontroller processed this
data and sent appropriate signals to the servo motor to activate the mechanical flap or gate for
segregation. The system also met the objective of real-time monitoring by indicating the level
of waste inside the bin, allowing users or authorities to know when the bin is almost full.
Although most of the intended objectives were completed, a few goals could not be
achieved due to practical limitations during implementation. One such objective was the
accurate classification of multiple types of waste using advanced sensing methods. The
prototype could segregate waste based on basic detection, but it did not support fine
classification such as differentiating between types of dry waste or identifying hazardous
materials.
5.3 Limitations
▪ The system can segregate only three types of waste metal, plastic, and dry waste while
wet waste and glass are not detected.
▪ Sensor accuracy may reduce if waste items are too small, irregularly shaped, or
overlapping.
▪ The servo motor cannot handle very heavy or oversized waste objects.
▪ The structure made from foam or acrylic is lightweight and may not withstand rough
handling or outdoor use.
▪ The system depends on a stable power supply; voltage fluctuations may affect sensor
readings.
▪ IoT monitoring requires a continuous internet connection, and data transmission may
fail during network issues.
▪ Capacitive and inductive sensors may produce false readings in dusty or moist
environments.
▪ The prototype has limited bin capacity, making it suitable only for small-scale or indoor
applications.
▪ The system cannot identify multiple items at the same time; items must be inserted
individually.
▪ Maintenance is required to keep sensors clean for accurate detection.
Chapter 06
Conclusion
The Automatic Waste Segregation and Monitoring System developed in this project
provides an efficient and innovative approach to solving one of the most critical environmental
challenges faced today improper waste management. Through the integration of sensor
technology, microcontrollers, servo mechanisms, and IoT connectivity, the system ensures
accurate segregation of waste at the source and simplifies the overall waste-handling process.
The use of inductive and capacitive sensors enables reliable identification of metal, plastic, and
dry waste materials, eliminating the need for manual sorting, which is often time-consuming,
unhygienic, and prone to human error. The servo-operated diverter mechanism further ensures
that waste is directed into the appropriate bin quickly and smoothly, enhancing the speed and
efficiency of segregation.
One of the major strengths of the system is its IoT-enabled real-time monitoring feature.
By utilizing the ESP32 microcontroller to collect and update bin-level data, the system provides
users or municipal authorities with live information on whether the bins are full or nearing
capacity. This prevents situations of overflowing bins and supports more organized and timely
waste collection routines. The IoT dashboard also acts as an intelligent interface that improves
system transparency and allows users to remotely track the performance of the entire setup. As
a result, the project not only focuses on segregation but also addresses the broader issue of
waste monitoring and management, making it a more holistic solution.
Overall, the project achieves all its major objectives and demonstrates the practical
potential of automation in day-to-day waste management. It is cost-effective, user-friendly, and
capable of operating with minimal manual supervision, making it suitable for homes, colleges,
offices, parks, apartments, and smart-city infrastructures. The system contributes to
environmental sustainability by promoting proper waste segregation, reducing landfill load,
and supporting recycling practices. In the future, the model can be further enhanced by
incorporating advanced technologies such as AI-based image classification, higher-precision
sensors, solar-powered operation, and GSM-based alert systems. By continuing to develop and
refine this system, it has the potential to become an essential part of modern waste management
solutions and significantly improve hygiene, cleanliness, and environmental well-being in
urban areas.
Chapter 07 :
LIST OF SDGs
1. No Poverty: Aims to eradicate poverty everywhere by providing equal access to resources,
opportunities, and social protection.
2. Zero Hunger: Focuses on ending hunger, improving nutrition, and promoting sustainable
agricultural practices.
3. Good Health and Well-Being: Ensures healthy lives by improving healthcare access,
reducing diseases, and promoting mental and physical well-being.
4. Quality Education: Seeks inclusive and equitable education for all, ensuring lifelong
learning opportunities.
5. Gender Equality: Promotes equal rights and opportunities for all genders and eliminates
discrimination and violence against women and girls.
6. Clean Water and Sanitation: Guarantees availability of safe drinking water and proper
sanitation, promoting hygiene and conservation.
7. Affordable and Clean Energy: Ensures access to reliable, sustainable, and modern energy
sources at affordable cost.
8. Decent Work and Economic Growth: Encourages job creation, safe working conditions,
innovation, and sustainable economic growth.
9. Industry, Innovation, and Infrastructure: Supports resilient infrastructure, technological
innovation, and sustainable industrialization.
10. Reduced Inequalities Aims to reduce inequalities within and among countries by ensuring
fairness and equal opportunities.
11. Sustainable Cities and Communities: Focuses on making cities safe, resilient, clean, and
sustainable for growing populations.
12. Responsible Consumption and Production: Encourages efficient use of resources, waste
reduction, and sustainable manufacturing processes.
13. Climate Action: Promotes urgent measures to combat climate change and reduce
greenhouse gas emissions.
14. Life Below Water: Protects oceans and marine life by reducing pollution and promoting
sustainable use of water resources.
15. Life on Land: Safeguards forests, biodiversity, soil, and ecosystems to maintain
environmental balance.
16. Peace, Justice, and Strong Institutions: Supports peace, ethical governance, justice, and
strong institutions to protect human rights.
[Link] for the Goals: Strengthens global cooperation, finance, technology sharing,
and teamwork to achieve all SDGs
By detecting waste levels and sending real-time notifications, the system ensures timely
collection, reduces littering, and prevents environmental hazards caused by unmanaged waste.
The automated segregation mechanism minimizes human contact with waste, improving safety
for sanitation workers. Such smart technologies are essential components of modern smart
cities, helping authorities maintain cleanliness and improve the quality of life for residents.
This project supports SDG 11 by promoting cleaner public spaces, reducing manual
labour, enhancing urban sanitation systems, and encouraging the adoption of smart,
technology-based infrastructure. It demonstrates how innovation and engineering can
contribute to more organized, sustainable, and environment-friendly cities.
The automated mechanism reduces human error in waste sorting and promotes hygienic
disposal practices. By monitoring the fill level of bins and alerting users when they are full, the
system prevents unnecessary waste accumulation and improves overall cleanliness. This aligns
with SDG 12 targets such as sustainable waste management, reducing environmental pollution,
and encouraging responsible consumption habits. The project provides a low-cost, scalable,
and practical solution that can be implemented in homes, schools, industries, and urban areas
to support sustainable living.
REFERENCE
[1] K. Pardini et al., “IoT-Based Solid Waste Management Solutions: A Survey” —
review of IoT infrastructure, architectures, and applications for smart waste
management. MDPI
[2] M. Dokl et al., “A waste separation system based on sensor technology and deep
learning” (Journal article, 2024) — recent work combining sensor arrays with deep
learning for plastic separation. ScienceDirect
[4] Al Mamun, M.A.; Hannan, M.A.; Hussain, A.; Basri, H., “Wireless Sensor Network
Prototype for Solid Waste Bin Monitoring with Energy Efficient Sensing Algorithm”
— IEEE Sensors journal (prototype and algorithms for bin monitoring). ResearchGate
[6] “Automated smart waste segregation system using IoT technology” (conference /
journal preprint, 2023) — practical Arduino/ultrasonic/inductive implementations and
system integration notes. ResearchGate
[8] “IoT-Enabled Waste Management in Smart Cities” (The Science and Information
Association / thematic review) — theoretical overview linking IoT monitoring with
urban waste collection optimization. The Science and Information Organization
[9] “Smart Dustbin using ESP32 for Waste Management” (recent implementation /
article, 2024) — ESP32-based smart dustbin prototype (directly relevant for your
ESP32 + IoT implementation). IRO Journals