Development of Automatic Trash Bin by Using Microcontroller

Authors

Sahazati Md Rozali

Development of Automatic Trash Bin by Using Microcontroller (Malaysia)

Eliyana Ruslan

Department of Engineering Technology, Universiti Teknikal Malaysia Melaka (Malaysia)

Rosnaini Ramli

Development of Automatic Trash Bin by Using Microcontroller (Malaysia)

Muhammad Nizam Kamarudin

Development of Automatic Trash Bin by Using Microcontroller (Malaysia)

Article Information

DOI: 10.47772/IJRISS.2026.100601397

Subject Category: Engineering & Technology

Volume/Issue: 10/6 | Page No: 20419-20426

Publication Timeline

Submitted: 2026-07-19

Accepted: 2026-07-24

Published: 2026-07-21

Abstract

The increasing volume of municipal waste and the inefficiency of conventional waste collection systems have created significant environmental and hygiene challenges in residential areas. Existing trash bins are generally manually operated, lack systematic monitoring mechanisms, and often become unhygienic due to frequent physical contact. This study presents the development of an ESP32-based Automated Trash Bin integrated with infrared (IR) sensors and Internet of Things (IoT) technology to improve waste management efficiency and environmental sustainability. The proposed system utilizes an ESP32 microcontroller as the main controller, where IR sensors are employed for human detection and waste level monitoring. When a user is detected near the bin, the system automatically activates a servo motor to open the lid and closes it after a predefined duration. In addition, the waste level detection mechanism provides real-time monitoring through the Blynk IoT platform, enabling users to receive notifications when the bin reaches full capacity. The prototype was designed and simulated using Tinker cad and programmed using Arduino IDE. Experimental evaluations were conducted under different environmental conditions and waste categories to assess system performance. The results demonstrated that the system achieved high human detection accuracy under indoor and low-light conditions, with average accuracies of 98% and 95%, respectively. However, performance decreased under direct sunlight and high humidity due to infrared interference. Waste level detection accuracy was highest for dry waste materials and lowest for dark-coloured waste because of differences in infrared reflectivity. The integration of the Blynk platform enabled remote accessibility and real-time notification, contributing to more efficient waste monitoring and reduced waste overflow. Overall, the proposed automated trash bin demonstrates a cost-effective, hygienic, and environmentally friendly solution for smart residential waste management systems and has strong potential for future smart city applications.

Keywords

Smart waste management, ESP32, Internet of Things (IoT), infrared sensor, automated trash bin, Blynk, waste level monitoring.

Downloads

References

1. Novi Azman, Muhammad Aghil Wibowo and R. A. Suwodjo Kusumoputro, Touchless Recycle Bin Internet of Things to Preventing Germs Spread and Real-Time Integrated Waste Management, International Journal of Scientific & Technology Research, Vol 10(3), 2021, pp 69-74 [Google Scholar] [Crossref]

2. Loo Chee Hin, Vazeerudeen Abdul Hameed and Hemalata Vasudavan, An Intelligent Smart Bin for Waste Management, IEEE Mysore Sub Section International Conference, 2021, pp:227-231 [Google Scholar] [Crossref]

3. Sunday A. Afolalu et.al, Development of Smart Waste Bin for Solid Waste Management, International Journal of Sustainable Development and Planning, Vol. 16(8), 2021, pp. 1449-1454 [Google Scholar] [Crossref]

4. Chen, Z., Human-Computer Interactive Intelligent Trash Can, 2023 IEEE 3rd International Conference on Information Technology, Big Data and Artificial Intelligence (ICIBA), 26 May 2023 - 28 May 2023, Chongqing, China, Vol 2(174) [Google Scholar] [Crossref]

5. Rahul V, Balakrishnan et.al, Arduino Based Smart Trash Can- A Solution for efficient Waste Management, 2024 IEEE International Conference on Blockchain and Distributed Systems Security (ICBDS), 17-19 October 2024, India, pp.1–6. [Google Scholar] [Crossref]

6. Chen, L.-B et.al, Design and Implementation of an Artificial Intelligence of Things-based Autonomous Mobile Robot System for Cleaning Garbage. IEEE Sensors Journal, 2023. pp.1–11. [Google Scholar] [Crossref]

7. Zhai, J. and Peng, Q. Design of Intelligent Voice Dustbin Based on Single Chip Microcomputer, 2020 IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), 15-17 October 2021, China [Google Scholar] [Crossref]

8. Anand K, B, A.S. and K, A.B. Hygiene Guardian: Proximity – Activated Sanitizing Dustbin with AI Vision, 2025 International Conference on Intelligent Control, Computing and Communications (IC3), 2025 [Google Scholar] [Crossref]

9. Meena, M., Sharma, M., Singh, M. and Saha, R. Modeling of Web-Based Solar Powered and Battery Operated Automatic Trash Compactor, 2022 IEEE Delhi Section Conference (DELCON), 11-13 February 2022, India. [Google Scholar] [Crossref]

10. J. Rejina Parvin, Divya Priya C, V Divya and G, A.S., Automatic Segregation of Household Waste using Machine Learning Approaches. 2022 International Conference on Edge Computing and Applications (ICECAA), 13-15 October 2022, India [Google Scholar] [Crossref]

11. Asep Najmurrokhman et.al, Development of Automatic Trash Bin for Sorting Metal and Non-Metallic Wastes Using Proximity Sensors and Notifications via Telegram, 2023 9th International Conference on Wireless and Telematics (ICWT), 06-07 July 2023, Indonesia [Google Scholar] [Crossref]

12. Shaik, S., Kumar, B.N., Anusha, M., Suhani, J., Kalyan, B. and Begum, H. An Efficient IoT based Real Time Smart Trash Separation Bin Model for Urban Areas using LabVIEW. 2023 9th International Conference on Smart Computing and Communications (ICSCC), 17-19 August 2023, India, pp.610–615. [Google Scholar] [Crossref]

13. Bai, H., Zhang, G., Zhu, M., Li, D., Wang, Y. and Qing, Z. (2024). Design of Smart Bin Control System, 2024 IEEE 4th International Conference on Information Technology, Big Data and Artificial Intelligence (ICIBA), 06-08 December 2024, China, pp.607–612 [Google Scholar] [Crossref]

14. Meenakshi B, Logeswari N, Sivaprasad R, Brindha J, Janani N and Gokula Subashree N, Automated Sensing Cleaner, 2023 Intelligent Computing and Control for Engineering and Business Systems (ICCEBS), 14-15 December 2023, India, pp.1–4. [Google Scholar] [Crossref]

15. Kalpana Devi P, Mukesh Narayana Gadde, Oli, P. and Meghana Somineni. Automatic Trash Monitoring System, 2023 8th International Conference on Communication and Electronics Systems (ICCES), 01-03 June 2023, India [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles