Design of IoT-Based Smart Trash Bin Monitoring Using ESP32 and Firebase

Authors

  • Allya Maulida Politeknik Negeri Semarang
  • Choirunnisa Safa Fayzalmi Politeknik Negeri Semarang
  • Faiz Ata Choirul Anaam Politeknik Negeri Semarang
  • Dikhi Ardiansyah Politeknik Negeri Semarang
  • Muhamad Ariel Gunawan Politeknik Negeri Semarang
  • Nur Ridwan Politeknik Negeri Semarang

DOI:

https://doi.org/10.62712/juktisi.v4i2.420

Keywords:

Smart Trash Bin, ESP32, Ultrasonic Sensor Hc-SR04, Internet of Things, Firebase

Abstract

Smart Trash Bin Capacity Monitoring System Based on Internet of Things (IoT) is designed to enhance waste management efficiency through automation and connectivity. This system utilizes the ESP32 as the main controller with Wi-Fi communication, and an ultrasonic sensor (HC-SR04) to detect hand presence and measure the trash level. A servo motor is used to automatically open and close the lid. Trash level data is stored in Firebase Realtime Database, and a mobile application developed using Android Studio allows users to monitor the bin status and receive notifications. Additional sensors, such as a gas sensor and weight sensor (HX711 module with load cell), are employed to detect odor and measure the weight of the trash. The system aims to support smarter, more environmentally friendly, and efficient waste management.

Downloads

Download data is not yet available.

References

S. Kaza, L. Yao, P. Bhada-Tata, and F. Van Woerden, “WHAT A WASTE 2.0 A Global Snapshot of Solid Waste Management to 2050 OVERVIEW,” 2018. Accessed: Jul. 02, 2025. [Online]. Available: https://hdl.handle.net/10986/30317

HC-SR04, “Ultrasonic Sensor Datasheet,” 2025. [Online]. Available: https://www.electronics.com/hcsr04-datasheet

HX711, “Load Cell Amplifier Documentation,” 2025. [Online]. Available: https://www.sparkfun.com/datasheets/HX711.pdf

Arduino, “Arduino IDE Documentation.” [Online]. Available: https://www.arduino.cc

Firebase, “Firebase Realtime Database Documentation.” [Online]. Available: https://firebase.google.com

Flutter, “Flutter SDK Documentation.” [Online]. Available: https://flutter.dev/docs

I. R. M. Khan, M. A. Alam, and A. Razdan, “Smart Garbage Monitoring System Using IoT,” SSRN Electronic Journal, 2021, doi: 10.2139/ssrn.3902056.

P. Thirumugam, D. Herath, and S. Amarasooriya, “Smart Dustbin and Garbage Monitoring System Using Internet of Things,” in Proc. 5th Int. Conf. on Advancements in Computing (ICAC), 2023, pp. 857–861. doi: 10.1109/ICAC60630.2023.10417205.

V. Perumal, S. V Divya, and N. Vishal, “Smart Dustbin using ESP32 for Waste Management,” IRO Journal on Sustainable Wireless Systems, vol. 6, no. 4, pp. 309–317, 2024, doi: 10.36548/jsws.2024.4.002.

E. Systems, “ESP32 Technical Reference Manual,” 2025. [Online]. Available: https://www.espressif.com/en/products/socs/esp32

Downloads

Published

2025-07-03

How to Cite

Maulida, A., Choirunnisa Safa Fayzalmi, Faiz Ata Choirul Anaam, Dikhi Ardiansyah, Muhamad Ariel Gunawan, & Nur Ridwan. (2025). Design of IoT-Based Smart Trash Bin Monitoring Using ESP32 and Firebase. Jurnal Komputer Teknologi Informasi Sistem Informasi (JUKTISI), 4(2), 420–428. https://doi.org/10.62712/juktisi.v4i2.420