Smart Bin for Biomedical Waste Management
Smart Bin for Biomedical Waste Management
1 aboawah18@[Link]
2 opareemmanuelpk@[Link]
3 inyantakyi@[Link]
4 phinehasnewman@[Link]
* sdanso@[Link]
* Supervisor – Corresponding author
August 2025
1
GCTU Smart Bin Biomedical Waste System
2
GCTU Smart Bin Biomedical Waste System
reliance on GSM networks raised con- marily on urban hospitals, leaving ru-
cerns about system reliability in rural or ral healthcare facilities largely unad-
underdeveloped regions. By integrating dressed. Madihlaba et al. (2022) devel-
IoT devices, the Smart waste bin Sys- oped an IoT-enabled smart bin system
tem aims to provide a scalable, secure, equipped with load sensors, GPS, and
and cost-efficient solution for managing ultrasonic sensors to keep tabs on waste
hospital waste operations. levels and alert hospital staff. While
it doesn’t facilitate community engage-
B. AI-Based Waste Segregation in ment, this approach does help reduce
Healthcare waste overflow.
The study by Sarkar et al. (2023) ex-
plored AI-driven biomedical waste cat-
egorization using image recognition and
machine learning. The system success- 3 Methodology
fully classified infectious, chemical, and
pharmaceutical waste, improving dis-
The Smart Bin System for Biomedical Waste
posal accuracy. However, it requires
Management combines both hardware and
trained professionals and large datasets.
software components, leveraging IoT de-
Moreover, Kulkarni et al. (2024) ap-
vices, machine learning, and cloud integra-
plied machine learning for waste classi-
tion to automate waste segregation and pro-
fication, reducing landfill burden. How-
vide real-time monitoring. The following
ever, the system struggles with mixed
methodology outlines the design, training,
waste segregation and requires contin-
testing, and integration processes of the sys-
uous retraining. Mishra et al. (2022)
tem, ensuring accurate waste classification,
also used the Random Forest Algorithm
efficient bin actuation, and reliable data syn-
to predict waste accumulation rates,
chronization for healthcare waste manage-
optimizing waste collection in hospi-
ment.
tals. The system minimizes overflow
risks but demands high computational
System Architecture Overview
power. Most hospitals manually segre-
gate waste, increasing risks of contam- This shows the workflow of the Smart Bin
ination. Integrating AI-powered smart System for automated biomedical waste seg-
bins can automate segregation, improv- regation. The process begins with waste be-
ing worker safety. ing hovered over the camera, which captures
an image for analysis. The Raspberry Pi pro-
C. Real-Time Monitoring and Compli- cesses this image using the RF-DETR model
ance in Healthcare Waste Manage- to predict the waste category and triggers the
ment corresponding servo motor to open one of the
Concerns about inconsistent handling four compartments: Pharmaceutical Waste,
of biomedical waste were highlighted Infectious Waste, Sharp Waste, or General
by Kanyal et al. (2021). Their re- Waste. Ultrasonic sensors monitor the fill
search stressed the importance of real- levels of each compartment, and if a bin, such
time tracking through IoT and AI to as the general waste compartment, reaches
prevent improper disposal. Addition- capacity, the system sends a notification sig-
ally, to boost compliance, Sosunova & nal to a connected phone. This integrates
Porras (2022) explored data exchange IoT capabilities for real-time management,
methods by reviewing 173 studies on with Firebase handling data synchronization
IoT-based smart waste management sys- and an AngularJS web application providing
tems. However, their focus was pri- monitoring and alerts.
3
GCTU Smart Bin Biomedical Waste System
4
GCTU Smart Bin Biomedical Waste System
defined threshold, notifications are triggered fine-tuned through transfer learning. Pre-
through the web application to alert waste trained weights from the COCO dataset were
management personnel. This feature helps adapted to the biomedical waste dataset to ac-
prevent bin overflows and supports efficient celerate convergence and improve accuracy.
scheduling of waste collection. A total of 4,871 images with 6,773 annota-
tions were collected from publicly available
biomedical waste datasets and manually la-
beled using Roboflow.
Figure 2:
Shows the back view and front view of the Figure 3:
Smart Bin prototype, highlighting the Overview of the number of annotations for
integration of hardware components such as each class in the dataset
the camera, sensors, and actuators.
B. Software Design
The software architecture of the Smart
Bin System integrates multiple components
to ensure seamless communication between
the hardware, backend, and end-users. At
the core is the RF-DETR deep learning
model, deployed on the Raspberry Pi for real- Figure 4:
time biomedical waste classification. The shows the dataset distribution across train,
backend is powered by Firebase Realtime validation and test splits
Database, which manages secure data syn-
chronization, storage, and push notifications. The dataset was split into 87% training,
On the frontend, a web application built with 9% validation, and 4% testing.
HTML, CSS, and AngularJS provides users
with an intuitive interface to monitor bin sta-
tuses, view classification logs, and receive
alerts when bins are full or hazardous waste
is detected. Together, these software com-
ponents maintain the reliability, scalability,
and usability of the system, enabling effi-
cient biomedical waste management across
healthcare facilities.
5
GCTU Smart Bin Biomedical Waste System
where:
𝐿 𝑐𝑙𝑠
3. Frontend development (AngularJS Web = classification loss (cross-entropy between
Application): The frontend was developed predicted and true labels)
using HTML, CSS, and AngularJS, provid-
ing a lightweight and responsive user inter- 𝐿 𝑏 𝑜𝑥
face. The application retrieves data dynam-
= bounding box regression loss (using L1
ically from Firebase, presenting healthcare
loss or GIoU loss)
staff with a dashboard that displays bin sta-
tuses, waste classification logs, and real-time 𝐿𝑜 𝑏 𝑗
fill levels. The interface also includes alert
notifications triggered by the backend, en- = objectness loss, ensuring correct object-
abling waste management personnel to take background assignment
immediate action when bins are full or haz-
ardous materials are identified. 𝜆
6
GCTU Smart Bin Biomedical Waste System
𝑁
∑︁
𝑦ˆ = arg min L (𝑦𝑖 , 𝑦ˆ 𝜎(𝑖) )
𝑖=1
where:
𝑦𝑖
𝑦ˆ 𝜎 (𝑖)
System workflow
The workflow of the Smart Bin System
begins when a waste item is placed near the
bin. The camera module captures an im-
age of the item and sends it to the Rasp-
berry Pi, which runs the RF-DETR model
to classify the waste into one of four cate- Figure 6:
gories: general, infectious, sharps, or phar- System Workflow illustration
maceutical. Once classification is complete,
the Raspberry Pi triggers the corresponding
servo motor to open the lid of the designated
bin, allowing the waste to be disposed of
correctly. At the same time, the ultrasonic
sensors measure the fill level of each bin and
transmit this data to the Raspberry Pi. Both
the classification result and fill-level data are
then uploaded to the Firebase backend, where
they are stored and synchronized in real time.
The AngularJS web application retrieves this
information and displays it on the dashboard.
7
GCTU Smart Bin Biomedical Waste System
Model Results:
The RF-DETR model achieved:
Figure 7:
System workflow diagram showing how
waste is detected, classified, and segregated
5 Testing
8
GCTU Smart Bin Biomedical Waste System
9
GCTU Smart Bin Biomedical Waste System
epochs, indicating that the model peri- occurred in servo response during repeated
odically refined its object localization operations, which can be linked to the Rasp-
but faced challenges with consistent ac- berry Pi’s limited processing power. Overall,
curacy. the system achieved its objective of real-time
biomedical waste segregation. Compared to
• Class Loss: This reflects the model’s manual sorting, it reduces human error and
ability to correctly classify waste cat- improves compliance with healthcare waste
egories (general, infectious, sharps, standards. With dataset expansion, faster
pharmaceutical). The middle plot hardware, and improved calibration, perfor-
demonstrates a significant and consis- mance could be enhanced further.
tent downward trend, particularly in the
first 10 epochs, indicating that the model
Bin lid actuations:
quickly learned to differentiate between
waste classes and achieved stable per-
formance.
10
GCTU Smart Bin Biomedical Waste System
11
GCTU Smart Bin Biomedical Waste System
III. Servo Reliability: The servo failure was a [7] Mishra, S., Jena, L., Tripathy, H. K.,
hardware-specific issue and did not compro- \& Gaber, T. (2022). Prioritized and pre-
mise the overall functionality of the Smart dictive intelligence of things enabled waste
Bin System. The system continued to clas- management model in smart and sustainable
sify waste correctly and operate the remain- environment. PLoS ONE, 17(8 August).
ing bins. By addressing the faulty com- [Link]
ponent through replacement and adopting [8] Okubanjo, A., Odufuwa, B., Okandeji,
stronger actuator options, the reliability of A., \& Daniel, E. (2024). Smart Bin and
the bin actuation mechanism can be fully en- IoT: A Sustainable Future for Waste Man-
sured for long-term deployment. agement System in Nigeria. Gazi Univer-
sity Journal of Science , 37(1), 222–235.
[Link]
8 References [9] Ravi, V. R., Hema, M., SreePrashan-
thini, S., \& Sruthi, V. (2021). Smart bins
[1] Aman Valera KJSCE, I., Rahul Punjabi for garbage monitoring in smart cities using
KJSCE, I., \& Shweta Dhawan Chachra, I. IoT system. IOP Conference Series: Ma-
(2019). Smart Dustbins-Automatic Segre- terials Science and Engineering, 1055(1),
gation \& Efficient Solid Waste Manage- 012078. [Link]
ment using IoT Solutions for Smart Cities 899x/1055/1/012078
Viral Rambhia. International Journal of En- [10] Sosunova, I., \& Porras, J. (2022).
gineering Research \& Technology (IJERT) IoT-Enabled Smart Waste Management
[Link], 8. [Link] Systems for Smart Cities: A Systematic
[2] Ardiyan, A., Gunardi, Y., \& Hamid, Review. IEEE Access, 10, 73326–73363.
A. (2024). Design internet of things for [Link]
smart waste bin management with wemos [11] Madihlaba, E. N., Malele, V., \&
based and firebase application. Journal of Owolawi, P. A. (2022). The Design of the
Soft Computing Exploration, 4(4), 276–283. IoT-based Smart Bin System. International
[Link] Conference on Intelligent and Innovative
[3] GOUD, E. G., P, M., R, V., B, Computing Applications, 2022, 183–189.
B., \& BHARGAVA, DR. S. (2023). [Link]
SMART WASTE MANAGEMENT [12] Abba, S., \& Light, C. I. (2020). IoT-
SYSTEM USING ARDUINO. INTER- Based Framework for Smart Waste Monitor-
ANTIONAL JOURNAL OF SCIEN- ing and Control System, A Case Study of
TIFIC RESEARCH IN ENGINEER- the Smart Cities † (Vol. 15). Available.
ING AND MANAGEMENT, 07(03). [Link]/journal/proceedings
[Link] [13] Ziouzios, D., Baras, N., Dasy-
[4] Kulkarni, R., Mujtaba Hussaini, S., genis, M., \& Tsanaktsidis, C. (2021).
Ansari, M. S., Alina, S. N., \& Summaiyya, Envisioning IoT applications in a smart
U. (2024). Smart Trash Bin Using Machine city to underpin an effective munic-
Learning ipal strategy: The smartbin project.
and Internet of Things. [Link] SHS Web of Conferences, 102, 04020.
[5] Gimonkar, R. M. (2021). AUTO- [Link]
MATED WASTE SEGREGATOR. In Jour- [14] Fei, X., He, P., Ma, H., \& Qiu,
nal of Research in Engineering and Applied Y. (2020). Enhancing Urban Waste Man-
Sciences ISSN (Vol. 06). agement: Development and Application of
[6] Rao, P. R., Sanjay Kumar, S., \& Ra- Smart Garbage Bin Technologies.
jendra Prasad, C. (2017). Garbage Monitor- [15] Bano, A., Ud Din, I., \& Al-Huqail,
ing System using Arduino. [Link] A. A. (2020). AIoT-Based Smart Bin for
12
GCTU Smart Bin Biomedical Waste System
13