Design of Vending Machine Based on Raspberry Pi Using QRIS

Authors

Nandy Rizaldy Najib

Department of Electrical Engineering Polytechnic State of Ujung Pandang, Makassar (Indonesia)

Muhammad Tahir

Department of Electrical Engineering Polytechnic State of Ujung Pandang, Makassar (Indonesia)

Article Information

DOI: 10.47772/IJRISS.2026.101100208

Subject Category: Engineering & Technology

Volume/Issue: 10/11 | Page No: 2977-2988

Publication Timeline

Submitted: 2026-11-07

Accepted: 2026-11-12

Published: 2026-11-24

Abstract

Vending machines can improve efficiency and convenience in product purchasing by integrating automation and digital payment systems. This study aims to design and develop a Raspberry Pi-based vending machine that integrates a digital payment system, product dispensing mechanism, lighting control, cooling system, as well as temperature and electrical energy consumption monitoring. The research began with the design and development of both hardware and software, followed by the integration of sensors, actuators, and a QRIS-based digital payment system through a payment gateway. The hardware consists of a showcase cabinet, Raspberry Pi, touchscreen display, product dispensing mechanism, cooling system, lighting system, and electrical measurement sensors. The software was developed to manage product selection, payment transactions, product dispensing, lighting control, cooling control, and system monitoring. After the hardware and software were fully implemented, system testing and performance data collection were conducted. The experimental results showed that both the digital payment system and the product dispensing mechanism achieved a 100% success rate, with an average payment response time of 1.16 s and an average product dispensing time of 4.43 s. The cooling system was successfully controlled using a two-position (ON–OFF) control method with a ±3°C hysteresis. Energy consumption testing conducted over 90 minutes resulted in 222 Wh at an 11°C setpoint and 39 Wh at an 18°C setpoint. These results demonstrate that the developed vending machine successfully integrates its main functional components and operates according to the proposed system design.

Keywords

Vending machine, Raspberry Pi, QRIS, ON–OFF control, Energy Consumption

Downloads

References

1. Alam, W., Sarma, D., Chakma, R. J., Alam, M. J., & Hossain, S. (2021). Internet of things based smart vending machine using digital payment system. Indonesian Journal of Electrical Engineering and Informatics (IJEEI), 9(3), 719–731. [Google Scholar] [Crossref]

2. Åström, K. J., & Murray, R. M. (2008). Feedback systems: an introduction for scientists and engineers. [Google Scholar] [Crossref]

3. Indonesia, B. (2020). QR Code Indonesian Standard (QRIS). Bank Indonesia, 4(04). [Google Scholar] [Crossref]

4. Jie, L. C., Aman, M. N. S. S., Nasir, A. S. A., Rosle, M. H., Manan, M. R., & Jalaluddin, B. M. (2025). Vending machine with remote stock monitoring of handheld device using Raspberry PI. AIP Conference Proceedings, 3349(1), 50004. [Google Scholar] [Crossref]

5. Kusuma, V. A., Putra, M. I. A., & Suprapto, S. S. (2022). Sistem monitoring stok dan penjualan minuman pada vending machine berbasis Internet of Things (IoT) menggunakan Google Sheets dan Kodular. Jurnal Sistim Informasi Dan Teknologi, 94–98. [Google Scholar] [Crossref]

6. Lopez, M., Sevilla, B. C., Simborio, Y. D., & Cañizares, R. P. (2021). Reverse vending machine with power output for mobile devices using vision–based system. 2021 IEEE 13th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management (HNICEM), 1–6. [Google Scholar] [Crossref]

7. Nugroho, T. A., Edward, J. T., Angela, D., & Suakanto, S. (2024). Pengembangan Vending Machine Berbasis IoT untuk Penjualan Otomatis Menggunakan Pembayaran dengan QRIS. Proceedings of the National Conference on Electrical Engineering, Informatics, Industrial Technology, and Creative Media, 4(1), 126–136. [Google Scholar] [Crossref]

8. Octavia, S., Parewang, A. J., Juliansyah, H., & Rahastama, S. (2024). Rancang Bangun Prototipe Mesin Vending Rotary Berbasis Raspberry Pi. Prosiding Seminar Nasional Sains Dan Teknologi Fakultas Matematika Dan Ilmu Pengetahuan Alam Universitas Palangka Raya, 6(1), 313–321. [Google Scholar] [Crossref]

9. Ratnasri, N., & Sharmilan, T. (2021). Vending machine technologies: A review article. International Journal of Sciences: Basic and Applied Research (IJSBAR), 58(2), 160–166. [Google Scholar] [Crossref]

10. Solano, A., Duro, N., Dormido, R., & González, P. (2017). Smart vending machines in the era of internet of things. Future Generation Computer Systems, 76, 215–220. [Google Scholar] [Crossref]

11. Suprapto, S. S., & Kusuma, V. A. (2022). Pengukuran waktu tunggu verifikasi transaksi digital otomatis berbasis Quick Response Code Indonesian Standard (QRIS) dynamic pada rancang bangun vending machine. SPECTA Journal of Technology, 6(1), 10–17. [Google Scholar] [Crossref]

12. Upton, E., & Halfacree, G. (2016). Raspberry Pi user guide. John Wiley & Sons. [Google Scholar] [Crossref]

13. Zulrahma, Y., & Triyanto, R. H. (2024). Pengendalian Temperatur Fluida dengan Menggunakan Kontrol On-Off Berbasis IoT. Journal of Instrumentation and Hardware, 2(1), 1–7. [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles