YOLOv8-Based Waste Classification System with Ultrasonic Trigger for Power Efficiency

Authors

  • Yusna Salma Nuraini Universitas Bina Sarana Informatika, Jawa Barat, Indonesia
  • Nabila Al Zahra Universitas Bina Sarana Informatika, Jawa Barat, Indonesia
  • Muhammad Faris Ilham Universitas Bina Sarana Informatika, Jawa Barat, Indonesia
  • Irwan Tanu Kusnadi Universitas Bina Sarana Informatika, Jawa Barat, Indonesia
  • Saeful Bahri Universitas Bina Sarana Informatika, Jawa Barat, Indonesia https://orcid.org/0000-0002-0853-9006
  • Tya Septiani Nurfauziah Koeswara Universitas Bina Sarana Informatika, Jawa Barat, Indonesia https://orcid.org/0000-0002-4159-295X

DOI:

https://doi.org/10.51903/pg864m25

Keywords:

Waste Classification, YOLOv8, IoT, Ultrasonic Sensor, Touchless

Abstract

Unmanaged waste accumulation poses a serious threat to environmental sustainability and global public health, particularly in high-density urban areas. Although automated waste-sorting technologies have been developed, many existing systems are still constrained by power inefficiency and a lack of hygiene assurance because they rely on direct physical contact or continuously active camera systems. This study aims to develop a hybrid Smart Waste Sorting System that integrates YOLOv8 Nano computer vision technology with the HC-SR04 ultrasonic sensor to enable touchless sorting. Using the Research and Development (R&D) method, the system offers a superior energy-saving mechanism: the ultrasonic sensor serves as a proximity trigger (<10 cm) that automatically opens the waste door and activates the image-capture camera only when an object is detected. The YOLOv8 model was trained using a dataset of 25,077 images sourced from Kaggle, achieving a Precision of 80.6% and mAP@50 of 61.7%. Based on real-time testing, the system accurately classifies and instructs servo actuators to separate waste into organic or inorganic bins. Equipped with an ESP8266 IoT module, the system also enables real-time monitoring of waste volume. In conclusion, this smart integration of sensor triggers and deep learning not only improves sorting accuracy but also provides a more hygienic, responsive, and energy-efficient solution that supports the Smart City ecosystem

References

[1] B. Fang, J. Yu, Z. Chen, A. I. Osman, M. Farghali, I. Ihara, E. H. Hamza, D. W. Rooney, and P. S. Yap, “Artificial Intelligence for Waste Management in Smart Cities: a Review,” Environ. Chem. Lett., vol. 21, pp. 1959–1989, Aug. 2023, doi: 10.1007/s10311-023-01604-3.

[2] A. Hafizah, D. Ayu Pratiwi, D. Nada Rizky Nuzlan, and A. Hasibuan, “Analisis Dampak Sistem Pengelolaan Sampah TPA Terjun di Kota Medan,” Zahra: Journal of Health and Medical Research, vol. 3, no. 3, pp. 320–329, Jul. 2023. [Online]. Available: https://adisampublisher.org/index.php/aisha/article/view/426

[3] D. Daningrum, D. Sulastri, T. Yuliana, M. Sutisna, and E. Nurkhayati, “Determinan Keluhan Penyakit Kulit pada Pemulung di Tempat Pembuangan Akhir,” Faletehan Health Journal, vol. 9, no. 3, pp. 335–342, 2022. doi: 10.33746/fhj.v9i3.487.

[4] A. Addas, M. N. Khan, and F. Naseer, “Waste Management 2.0 Leveraging Internet of Things for an Efficient and Eco-Friendly Smart City Solution,” PLoS One, vol. 19, no. 7 July, Jul. 2024, doi: 10.1371/journal.pone.0307608.

[5] A. A. I. Shah, S. S. M. Fauzi, R. A. J. M. Gining, T. R. Razak, M. N. F. Jamaluddin, and R. Maskat, “A Review of IoT-Based Smart Waste Level Monitoring System for Smart Cities,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 21, no. 1, pp. 450–456, Jan. 2021, doi: 10.11591/ijeecs.v21.i1.pp450-456.

[6] M. Irfan Alhady, B. Yudha Raharja, and R. Fuadi Hasani, “Rancang Bangun Smart Trash Bin Automation pada Smartlab Politeknik Negeri Jakarta,” Electrician : Jurnal Rekayasa dan Teknologi Elektro, vol. 18, no. 1, pp. 62–68, 2024, doi: 10.23960/elc.v18n1.2561.

[7] M. Ismail, R. K. Abdullah, and S. Abdussamad, “Tempat Sampah Pintar Berbasis Internet of Things (IoT) dengan Sistem Teknologi Informasi,” Jambura Journal of Electrical and Electronics Engineering, vol. 3, no. 1, pp. 7–12, 2021, doi: 10.37905/jjeee.v3i1.8099.

[8] U. Niswatul Khasanah and N. Nurhadi, “Aplikasi Sensor Ultrasonik Sebagai Alat Ukur Jarak Digital Berbasis Arduino,” Journal of Science Nusantara, vol. 3, no. 4, pp. 135–140, Dec. 2023, doi: 10.28926/jsnu.v3i4.1343.

[9] F. Syaila, P. Azzahra, and C. Printo, “Tinjauan Literatur Sistematis: Analisis Implementasi Kecerdasan Buatan untuk Verifikasi Dokumen,” Jurnal Ilmiah Sistem Informasi, vol. 4, no. 3, pp. 417–430, Aug. 2025, doi: 10.51903/kjjwk708.

[10] D. Z. Sholekhah and D. Noviar, “Integrative Deep Learning Architecture for High-Accuracy Medical Image Segmentation: Combining U-Net, ResNet, and Transformers,” Journal of Technology Informatics and Engineering, vol. 4, no. 1, pp. 115–134, Apr. 2025, doi: 10.51903/jtie.v4i1.288.

[11] Suwardi, S. H. Prasastono, S. K. Sudibyo, and T. Sumarlin, “Predicting Stock Price Movements Using Deep Learning: An Analysis of Machine Learning Models for Portfolio Optimization,” Journal of Management and Informatics, vol. 3, no. 3, pp. 490–510, Dec. 2024, doi: 10.51903/jmi.v3i3.57.

[12] Y. Liu, P. Sun, N. Wergeles, and Y. Shang, “A Survey and Performance Evaluation of Deep Learning Methods for Small Object Detection,” Expert Syst. Appl., vol. 172, p. 114602, Jun. 2021, doi: 10.1016/j.eswa.2021.114602.

[13] O. Soerya, N. Utomo, F. Utaminingrum, and E. R. Widasari, “Implementasi YOLO Versi 3 untuk Mengidentifikasi dan Mengklasifikasi Sampah Kantor Berbasis NVIDIA Jetson Nano,” J. Pengemb. Teknol. Inf. dan Ilmu Komput., vol. 6, no. 6, pp. 2829–2834, Jun. 2022. [Online]. Available: http://j-ptiik.ub.ac.id/index.php/j-ptiik/article/view/11196

[14] K. M. Elgamily, M. A. Mohamed, A. M. Abou-Taleb, and M. M. Ata, “Enhanced Object Detection in Remote Sensing Images by Applying Metaheuristic and Hybrid Metaheuristic Optimizers to YOLOv7 and YOLOv8,” Sci. Rep., vol. 15, no. 1, Dec. 2025, doi: 10.1038/s41598-025-89124-8.

[15] D. Vieri, R. Susanto, E. S. Purwanto, and M. K. Ario, “Enhancing Waste Classification with YOLOv8 Models for Efficient and Accurate Sorting,” in Procedia Computer Science, Elsevier B.V., 2024, pp. 889–895. doi: 10.1016/j.procs.2024.10.316.

[16] G. G. Salindeho and T. Wellem, “Perancangan dan Implementasi Sistem Pendeteksi dan Peringatan Kebakaran Berbasis IoT Menggunakan NodeMCU ESP8266 dan Sensor Api,” IT Explore: Jurnal Penerapan Teknologi Informasi dan Komunikasi, vol. 2, no. 3, pp. 179–191, Oct. 2023, doi: 10.24246/itexplore.v2i03.2023.pp179 191.

[17] M. K. Rihmi, G. Bintoro, M. A. Rahman, G. Puspito, and A. Muntaha, “Accuracy Analysis of Distance Measurement Using Sonar Ultrasonic Sensor HC SR04 on Several Types of Materials,” Journal of Environmental Engineering & Sustainable Technology JEEST, vol. 11, no. 01, pp. 10–13, Jul. 2024. [Online]. Available: http://jeest.ub.ac.id/index.php/jeest/article/view/14062

[18] C. F. G. Dos Santos and J. P. Papa, “Avoiding Overfitting: A Survey on Regularization Methods for Convolutional Neural Networks,” Jan. 31, 2022, Association for Computing Machinery. doi: 10.1145/3510413.

[19] R. Ramdan, L. Lasmadi, and P. Setiawan, “Sistem Pengendali On-Off Lampu dan Motor Servo sebagai Penggerak Gerendel Pintu Berbasis Internet of Things (IoT),” AVITEC, vol. 4, no. 2, p. 211, Aug. 2022, doi: 10.28989/avitec.v4i2.1317.

[20] A. R. Azhar, D. A. Setiawan, N. A. A. Yasmin, T. A. Putri, and G. F. Nama, “Sistem Monitoring Kapasitas Air dan Pengisian Otomatis Berbasis IoT Menggunakan Modul ESP8266,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 12, no. 1, Jan. 2024, doi: 10.23960/jitet.v12i1.3966.

[21] S. Majchrowska et al., “Deep Learning-Based Waste Detection in Natural and Urban Environments,” Waste Management, vol. 138, pp. 274–284, Feb. 2022, doi: 10.1016/j.wasman.2021.12.001.

[22] L. Ramos, E. Casas, E. Bendek, C. Romero, and F. Rivas-Echeverría, “Hyperparameter optimization of YOLOv8 for Smoke and Wildfire Detection: Implications for Agricultural and Environmental Safety,” Artificial Intelligence in Agriculture, vol. 12, pp. 109–126, Jun. 2024, doi: 10.1016/j.aiia.2024.05.003.

[23] I. Topan Adib Amrulloh, B. Nurina Sari, and T. Nur Padilah, “Evaluasi Augmentasi Data pada Deteksi Penyakit Daun Tebu dengan YOLOv8,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 4, pp. 7547–7552, Aug. 2024, doi: 10.36040/jati.v8i4.10267.

[24] M. K. Rihmi, G. Bintoro, M. A. Rahman, G. Puspito, and A. Muntaha, “Accuracy Analysis of Distance Measurement Using Sonar Ultrasonic Sensor HC SR04 on Several Types of Materials,” Journal of Environmental Engineering & Sustainable Technology JEEST, vol. 11, no. 01, pp. 10–13, Jul. 2024. [Online]. Available: http://jeest.ub.ac.id/index.php/jeest/article/view/14062

[25] E. Setia Budi, A. Nofriyaldi Chan, P. Priscillia Alda, and M. Arif Fauzi Idris, “Optimasi Model Machine Learning untuk Klasifikasi dan Prediksi Citra Menggunakan Algoritma Convolutional Neural Network,” RESOLUSI: Rekayasa Teknik Informatika dan Informasi, vol. 4, no. 5, pp. 502–509, May 2024, doi: 10.30865/resolusi.v4i5.1892.

[26] X. Zi, K. Chaturvedi, A. Braytee, J. Li, and M. Prasad, “Detecting Human Falls in Poor Lighting: Object Detection and Tracking Approach for Indoor Safety,” Electronics (Switzerland), vol. 12, no. 5, Mar. 2023, doi: 10.3390/electronics12051259.

[27] I. Z. Nisa, S. N. Endah, P. Sidik Sasongko, and R. Kusumaningrum, “Klasifikasi Citra Sampah Menggunakan Support Vector Machine dengan Ekstraksi Fitur Gray Level Co Occurrence Matrix dan Color Moments,” J. Teknol. Inf. dan Ilmu Komput., vol. 9, no. 5, pp. 921–930, Oct. 2022, doi: 10.25126/jtiik.2022954868.

[28] S. Rokoiye, U. Ristian, and Kasliono, “Sistem Pemantauan Tempat Sampah Menggunakan Pemodelan Edge Computing,” ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika, vol. 12, no. 2, p. 275, Apr. 2024, doi: 10.26760/elkomika.v12i2.275.

[29] M. W. Rahman, R. Islam, A. Hasan, N. I. Bithi, M. M. Hasan, and M. M. Rahman, “Intelligent Waste Management System Using Deep Learning with IoT,” Journal of King Saud University - Computer and Information Sciences, vol. 34, no. 5, pp. 2072–2087, May 2022, doi: 10.1016/j.jksuci.2020.08.016.

Downloads

Published

2026-01-29