Pengenalan dan Pemilahan Botol Kosong pada Reverse Vending Machine menggunakan metode Euclidean Distance

Aulia el hakim, Ardian Prima Atmaja, Joko Hartadi, Ahmad Wildan Muammar


Reverse Vending Machine is a machine where users will get a reward in the form of a deposit of money from collecting empty bottles. The Recognition and sorting of bottles currently done by several methods including the Recognition of materials using IR spectrometers, identification of bottles according to the barcode attached to the bottles, and using Image Processing technology to detect the shape of the bottles. In this study, the Recognition and sorting of empty bottles were carried out using three sensors. The Inductive Proximity sensor is used to detect metal or nonmetal bottles, the Loadcell sensor is used to calculate the weight of the bottle, and the LDR is used to detect the colour of the bottle based on the light intensity received by the LDR sensor. From tests conducted using the Euclidean Distance algorithm, it can be seen that Reverse Vending Machine can detect and sort the type of bottle waste based on 3 parameters namely weight, metal value, and colour of the bottle in real-time and can provide reward points to users according to bottle criteria.


Euclidean Distance;LDR;Loadcell;Inductive Proximity; Reverse Vending Machine.


Bhada-Tata, P., & Hoornweg, D. "What a Waste : A Global Review of Solid Waste Management“, 2012.

J. R. Jambeck et al., “Plastic waste inputs from land into the ocean,” Science, vol. 347, no. 6223, pp. 768–771, Feb. 2015, doi: 10.1126/science.1260352.

A. N. Kokoulin and D. A. Kiryanov, "The Optical Subsystem for the Empty Containers Recognition and Sorting in a Reverse Vending Machine," 2019 4th International Conference on Smart and Sustainable Technologies (SpliTech), Split, Croatia, 2019, pp. 1-6, doi: 10.23919/SpliTech.2019.8782990.

M. F. Karin, K. S. Noor and H. U. Zaman, "Hardware based design and implementation of a bottle recycling machine using FPGA," 2016 IEEE Conference on Systems, Process and Control (ICSPC), Bandar Hilir, 2016, pp. 43-46, doi: 10.1109/SPC.2016.7920701.

A. N. Kokoulin, A. I. Tur, and A. A. Yuzhakov, “Convolutional neural networks application in plastic waste recognition and sorting,” in 2018 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), Jan. 2018, pp. 1094–1098, doi: 10.1109/EIConRus.2018.8317281.

R. Tomari, A. A. Kadir, W. N. W. Zakaria, M. F. Zakaria, M. H. A. Wahab, and M. H. Jabbar, “Development of Reverse Vending Machine (RVM) Framework for Implementation to a Standard Recycle Bin,” Procedia Comput. Sci., vol. 105, pp. 75–80, Jan. 2017, doi: 10.1016/j.procs.2017.01.202.

A. J. M. Rubio and J. P. Lazaro, “Solar Powered Reverse Trash Vendo Machine,” Asia Pacific Journal of Multidisciplinary Research, Vol. 4, No. 2, pp. 16-20, May 2016.

Wahab, M.H., Kadir, A.A., Tomari, M.R., & Jabbar, M.H. "Smart Recycle Bin: A Conceptual Approach of Smart Waste Management with Integrated Web Based System", in International Conference on IT Convergence and Security (ICITCS), 2014, pp. 1-4.

M. Islam, M. F. Ferdous, M. S. R. Almazee, M. S. Dipto, K. T. Sultana, and A. Hasan, “Recyclable Plastic Bottles Deposit and Refund System (RPBDRS),” in 2019 Joint 8th International Conference on Informatics, Electronics Vision (ICIEV) and 2019 3rd International Conference on Imaging, Vision Pattern Recognition (icIVPR), May 2019, pp. 45–50, doi: 10.1109/ICIEV.2019.8858577.

W. G. P. Dumpayan, M. L. M. De Mesa, N. D. F. Yucor, E. T. Gabion, J. D. Reynoso, and G. R. M. Geslani, “Two-way powered microcontroller-based plastic bottles ‘drop-and-tap’ reverse vending machine with stored value system using radio frequency identification (RFID) scanner technology,” in 2017IEEE 9th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment and Management (HNICEM), Dec. 2017, pp. 1–8, doi: 10.1109/HNICEM.2017.8269433.

M. D. Malkauthekar, “Analysis of euclidean distance and Manhattan Distance measure in face recognition,” in Third International Conference on Computational Intelligence and Information Technology (CIIT 2013), Oct. 2013, pp. 503–507, doi: 10.1049/cp.2013.2636.

F. Samopa and Y. Yulianawati, “PENERAPAN EUCLIDEAN DISTANCE PADA PENCOCOKAN POLA UNTUK KONVERSI CITRA KE TEKS,” JUTI J. Ilm. Teknol. Inf., vol. 1, p. 32, Jul. 2002, doi: 10.12962/j24068535.v1i1.a94.

M. Nishom, “Perbandingan Akurasi Euclidean Distance, Minkowski Distance, dan Manhattan Distance pada Algoritma K-Means Clustering berbasis Chi-Square,” J. Inform. J. Pengemb. IT, vol. 4, no. 1, pp. 20–24, Jan. 2019, doi: 10.30591/jpit.v4i1.1253.

“datasheet.pdf.” Accessed: May 10, 2020. [Online]. Available: [Diakses: 02 Mei 2020]

Qianwen ZhangRoxanne L. Canosa, “(PDF) Performance comparison of distance metrics in content-based image retrieval applications.” in Proceedings of SPIE - The International Society for Optical Engineering 9027, Feb 2014, DOI: 10.1117/12.2042359


Article Metrics

Abstract view : 0 times
PDF (Bahasa Indonesia) - 0 times


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

Indexed by:




Managed by.

Department of Informatics Engineering
Politeknik Negeri Cilacap
Jln. Dr.Soetomo No.01 Sidakaya, Cilacap, Indonesia
Telp: (0282) 533329



Flag Counter  


View My Stats





 Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.