IoT-Based Smart Waste Management System: Real-Time Monitoring and Route Optimization Using the A-Star Algorithm
Downloads
Conventional waste collection systems often suffer from delayed bin monitoring, waste overflow, and inefficient collection routes due to the lack of integrated real-time monitoring and route optimization. These limitations increase operational costs and reduce waste management effectiveness. This study develops an Internet of Things (IoT)-based Smart Bin system that monitors waste bin capacity in real time, sends automatic fullness notifications, and recommends optimal waste collection routes. The main contribution of this study is the integration of real-time monitoring, MQTT-based communication, Firebase cloud storage, a Flutter-based mobile application, and A-Star route optimization into a single intelligent waste management platform. The proposed system uses ultrasonic sensors to estimate waste capacity by measuring distance to the waste surface, GPS modules to determine bin locations, MQTT for lightweight communication, Firebase for cloud-based data synchronization, and a Flutter mobile application for real-time monitoring, notifications, and route visualization. The A-Star algorithm is implemented to determine the shortest collection route based on the locations of full waste bins. Experimental results show that the ultrasonic sensor achieved an average accuracy of 98.03%, and monitoring data were synchronized consistently between IoT devices and the mobile application. Full-bin notifications were delivered in real time, with a delay of 1–3 seconds. Across seven independent routing scenarios involving three smart bins and one TPS, the proposed A-Star algorithm yielded a cumulative collection distance of 35.33 km, a 5.79% reduction from the reference cumulative distance of 37.50 km. Overall, the proposed low-cost Smart Bin system provides an effective and practical solution for real-time waste monitoring and efficient waste-collection management
[1] M. Kusi-Appiah, L. Liu, R. J. Murphy, and A. Zarei, “Optimising Integrated Solid Waste Management (ISWM) System Under Seasonal Variations,” Environmental Systems Research, vol. 15, no. 1, Art. no. 9, 2026, doi: 10.1186/s40068-025-00454-y.
[2] T. Wan, Y. Jiang, X. Hu, Y. Zheng, and W. Ma, “Intelligent Construction and Demolition Waste Detection in Complex Environments Using an Improved CLRD-YOLO Model with Knowledge Distillation,” Case Studies in Construction Materials, vol. 25, Art. no. e06230, 2026, doi: 10.1016/j.cscm.2026.e06230.
[3] H. Nengovhela, A. E. Tshibalo, and T. P. Tshimbana, “Assessment of Knowledge, Awareness and Environmental Education on Municipal Solid Waste Management in Semi-Urban or Rural Areas,” Discover Environment, vol. 4, no. 1, Art. no. 321, 2026, doi: 10.1007/s44274-026-00859-1.
[4] F. Udessa, B. Nuro Wako, and A. Erbo, “Factors Affecting the Sustainable Solid Waste Management the Case of Shashemene City, Ethiopia,” Urban, Planning and Transport Research, vol. 14, no. 1, Art. no. 2622226, 2026, doi: 10.1080/21650020.2026.2622226.
[5] P. K. Shukla, K. S. Nandini Prasad, B. D. Veerasamy, N. Alduaiji, P. K. Shukla, and S. A. Hussain, “HGB-CBSNet: Hybrid Gradient Boosting Based Coot Bird Search Network for Solid Waste Classification in IoT-Enabled Smart Waste Management System,” Journal of Big Data, vol. 13, no. 1, Art. no. 46, 2026, doi: 10.1186/s40537-026-01363-2.
[6] M. Abdallah and M. Hosny, “Development and Simulation of an Innovative Autonomous Knowledge-Based Smart Waste Collection System,” Scientific Reports, vol. 16, no. 1, Art. no. 13414, 2026, doi: 10.1038/s41598-026-48792-w.
[7] B. B. Bezabih, D. B. Adam, and A. G. Ede, “Assessing the Impact of Community Environmental Literacy on the Performance of Solid Waste Management Education,” Environmental Pollution and Management, vol. 3, pp. 256–263, 2026, doi: 10.1016/j.epm.2026.04.002.
[8] R. Anitha and A. Parthiban, “Comparative Study of ACO, Dijkstra, and NN for Routing Efficiency in Waste Collection Networks,” Scientific Reports, vol. 16, no. 1, Art. no. 13346, 2026, doi: 10.1038/s41598-026-42866-5.
[9] A. N. Cabrales López et al., “Promoting Waste Separation Practices Through an IoT-Based Sorting System with Integrated Web and Mobile Platforms,” Sustainability, vol. 18, no. 12, Art. no. 6281, 2026, doi: 10.3390/su18126281.
[10] H. Jerbi, V. G. A. Gnana Vincy, S. Ben Aoun, R. Abbassi, and M. Kchaou, “Optimizing Waste Management in Smart Cities: An IoT-Based Approach Using Dynamic Bald Eagle Search Optimization Algorithm (DBESO) and Machine Learning,” Journal of Urban Management, vol. 15, no. 1, pp. 114–130, 2026, doi: 10.1016/j.jum.2025.05.015.
[11] Y. Wu et al., “Dynamic Scheduling and Adaptive Power Control for LoRaWAN-Based Waste Management: An Energy-Efficient IoT Framework,” Sensors, vol. 26, no. 3, Art. no. 844, 2026, doi: 10.3390/s26030844.
[12] S. Prakash, S. Sharma, and B. Sharma, “Optimizing Dynamic Waste-Bin Collection via Threshold-Based Dispatch,” ES Energy & Environment, vol. 32, Art. no. 2235, 2026, doi: 10.30919/ee2235.
[13] N. R. Sawant, A. Kumar, S. Pant, and K. Kotecha, “An IoT-Driven Machine Learning System for Real-Time Smart Crop Recommendation and Optimization in Precision Agriculture,” Discover Artificial Intelligence, vol. 6, no. 1, Art. no. 194, 2026, doi: 10.1007/s44163-026-00896-y.
[14] S. Abdanan Mehdizadeh, J. Mohammadi Moalezadeh, M. Nasr Esfahani, and Y. Ampatzidis, “Development and Field Evaluation of an IoT-Based Multi Sensor Monitoring System for Large-Scale Sugarcane Cultivation,” Smart Agricultural Technology, vol. 14, Art. no. 102290, 2026, doi: 10.1016/j.atech.2026.102290.
[15] J. J. Correa-Quiroz, M. A. Toribio-Barrueto, and C. Castro-Vargas, “IoT System with ESP32 for Smart Drip Irrigation and Climate Monitoring in Greenhouses,” Emerging Science Journal, vol. 9, no. 3, pp. 1133–1157, 2025, doi: 10.28991/ESJ-2025-09-03-01.
[16] A. Paul, B. Debnath, A. Mitra, J. C. Das, and S. Mondal, “Ultrasonic-Based Distance Measurement with Dual-Stage Error Correction for Smart Parking System,” Journal of Integrated Circuits and Systems, vol. 21, no. 1, pp. 1–10, 2026, doi: 10.29292/jics.v21i1.1141.
[17] S. Sharma, D. Mishra, A. Yadav, B. Gami, and E. S. Madhan, “An Intelligent, Low-Cost Water Quality Monitoring System with On-Device Machine Learning and Cloud Integration,” Scientific Reports, vol. 16, no. 1, Art. no. 11106, 2026, doi: 10.1038/s41598-026-37287-3.
[18] M. Bahaa, A. Hesham, F. Ashraf, and L. Abdel-Hamid, “A Smart AIoT-Based Mobile Application for Plant Disease Detection and Environment Management in Small-Scale Farms Using MobileViT,” AgriEngineering, vol. 8, no. 1, Art. no. 11, 2026, doi: 10.3390/agriengineering8010011.
[19] A. B. Semma, M. Ali, M. Saerozi, Mansur, and Kusrini, “Cloud Computing: Google Firebase Firestore Optimization Analysis,” Indonesian Journal of Electrical Engineering and Computer Science, vol. 29, no. 3, pp. 1719–1728, 2023, doi: 10.11591/ijeecs.v29.i3.pp1719-1728.
[20] I. Sosunova and J. Porras, “IoT-Enabled Smart Waste Management Systems for Smart Cities: A Systematic Review,” IEEE Access, vol. 10, pp. 73326–73363, 2022, doi: 10.1109/ACCESS.2022.3188308.
[21] S. Vishnu, S. R. J. Ramson, M. S. S. Rukmini, and A. M. Abu-Mahfouz, “Sensor-Based Solid Waste Handling Systems: A Survey,” Sensors, vol. 22, no. 6, Art. no. 2340, 2022, doi: 10.3390/s22062340.
[22] J. A. J. Alsayaydeh, R. Bacarra, A. W. Y. Khang, N. B. M. Yaacob, and S. G. Herawan, “IoT-Based Smart Waste Management System: A Solution for Urban Sustainability,” International Journal of Safety and Security Engineering, vol. 15, no. 6, pp. 1173–1183, 2025, doi: 10.18280/ijsse.150609.
[23] A. Y. Benabdallah and R. Boudour, “Smart Collection of Waste Bread in Algeria Using the Internet of Things,” Engineering, Technology & Applied Science Research, vol. 12, no. 6, pp. 9483–9486, 2022, doi: 10.48084/etasr.5280.
[24] N. A. L. Ali, R. Ramly, A. A. B. Sajak, and R. Alrawashdeh, “IoT E-Waste Monitoring System to Support Smart City Initiatives,” International Journal of Integrated Engineering, vol. 13, no. 2, pp. 1–9, 2021, doi: 10.30880/ijie.2021.13.02.001.
[25] H. J. Khasawneh et al., “Industrial IoT-Based Submetering Solution for Real-Time Energy Monitoring,” Discover Internet of Things, vol. 5, no. 1, Art. no. 15, 2025, doi: 10.1007/s43926-025-00110-y.
[26] A. Chatzisavvas, M. Dossis, and M. Dasygenis, “Optimizing Mobile Robot Navigation Based on A-Star Algorithm for Obstacle Avoidance in Smart Agriculture,” Electronics, vol. 13, no. 11, Art. no. 2057, 2024, doi: 10.3390/electronics13112057.
[27] O. Veisi, M. A. Moradi, B. Gharaei, F. J. Maleki, and M. Rahbar, “Sustainable Forestry Logistics: Using Modified A-Star Algorithm for Efficient Timber Transportation Route Optimization,” Forest Policy and Economics, vol. 173, Art. no. 103456, 2025, doi: 10.1016/j.forpol.2025.103456.
[28] B. Ali, M. A. Javed, A. A. K. Alharbi, S. Alotaibi, and M. Alkhathami, “Internet of Things-Assisted Vehicle Route Optimization for Municipal Solid Waste Collection,” Applied Sciences, vol. 14, no. 1, Art. no. 287, 2024, doi: 10.3390/app14010287.
[29] Á. Lozano, J. Caridad, J. F. De Paz, G. Villarrubia González, and J. Bajo, “Smart Waste Collection System with Low Consumption LoRaWAN Nodes and Route Optimization,” Sensors, vol. 18, no. 5, Art. no. 1465, 2018, doi: 10.3390/s18051465.
[30] D. Baldo, A. Mecocci, S. Parrino, G. Peruzzi, and A. Pozzebon, “A Multi-Layer LoRaWAN Infrastructure for Smart Waste Management,” Sensors, vol. 21, no. 8, Art. no. 2600, 2021, doi: 10.3390/s21082600.
[31] T. J. Sheng et al., “An Internet of Things Based Smart Waste Management System Using LoRa and Tensorflow Deep Learning Model,” IEEE Access, vol. 8, pp. 148793–148811, 2020, doi: 10.1109/ACCESS.2020.3016255.
[32] M. Cerchecci, F. Luti, A. Mecocci, S. Parrino, G. Peruzzi, and A. Pozzebon, “A Low Power IoT Sensor Node Architecture for Waste Management Within Smart Cities Context,” Sensors, vol. 18, no. 4, Art. no. 1282, 2018, doi: 10.3390/s18041282.
[33] D. Thangavel, X. Ma, A. Valera, H.-X. Tan, and C. K.-Y. Tan, “Performance Evaluation of MQTT and CoAP via a Common Middleware,” in 2014 IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), Singapore, 2014, pp. 1–6, doi: 10.1109/ISSNIP.2014.6827678.
[34] D. Silva, L. I. Carvalho, J. Soares, and R. C. Sofia, “A Performance Analysis of Internet of Things Networking Protocols: Evaluating MQTT, CoAP, OPC UA,” Applied Sciences, vol. 11, no. 11, Art. no. 4879, 2021, doi: 10.3390/app11114879.
[35] P. E. Hart, N. J. Nilsson, and B. Raphael, “A Formal Basis for the Heuristic Determination of Minimum Cost Paths,” IEEE Transactions on Systems Science and Cybernetics, vol. 4, no. 2, pp. 100–107, 1968, doi: 10.1109/TSSC.1968.300136.
[36] J. Li and J. Xiang, “Dynamic Route Planning for Warehouse Robots Combining A-Star and Dynamic Window Approach,” Journal of Engineering, Project, and Production Management, vol. 16, no. 4, pp. 1–11, 2026, doi: 10.32738/JEPPM-2025-213.
[37] C. C. Robusto, “The Cosine-Haversine Formula,” The American Mathematical Monthly, vol. 64, no. 1, pp. 38–40, 1957, doi: 10.2307/2309088.
[38] D. Singh, R. Dogra, B. Dogra, D. Singh, and R. Arora, “Ultrasonic Bund Detection System for Header of Combine Harvester,” Current Science, vol. 127, no. 8, pp. 940–949, 2024, doi: 10.18520/cs/v127/i8/940-949.
[39] A. Idrissi, R. Benabbou, J. Benhra, and M. El Haji, “Smart Waste Collection Based on Vehicle Routing Optimization: Case of Casablanca City,” Procedia Computer Science, vol. 236, pp. 194–201, 2024, doi: 10.1016/j.procs.2024.05.021.
[40] A. T. Dinçer and M. Yildirim, “A Heuristic-Based Methodology for Collecting Irregular Waste in Sustainable Cities,” Sustainability, vol. 18, no. 11, Art. no. 5528, 2026, doi: 10.3390/su18115528.
Copyright (c) 2026 Aisyah Talkha Erdi, Maya Dwi Yunita, Alzidane Paundra Rafliano, Nur Afifah Zen, Indah Permatasari (Author)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlikel 4.0 International (CC BY-SA 4.0) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).






