The increasing demand for hygienic and contactless solutions in public and private environments has encouraged the development of automated systems for everyday applications. This paper presents the design and implementation of a motion- sensing automatic waste bin using an STM32 microcontroller, ultrasonic sensors, and a servo motor. The system detects user presence through ultrasonic sensing and automatically opens the bin lid using a servo motor controlled by the microcontroller. An additional ultrasonic sensor is used to monitor the internal waste level of the bin, while an OLED display provides real- time feedback regarding system status. The proposed system offers a low-cost, reliable, and easily deployable solution for touch-free waste disposal. Experimental evaluation demonstrates fast response time, stable sensing performance, and smooth mechanical operation. The system can be effectively deployed in homes, educational institutions, hospitals, and public facilities to improve hygiene and user convenience.
翻译:在公共和私人环境中,对卫生且非接触式解决方案日益增长的需求推动了日常应用自动化系统的发展。本文介绍了一种基于STM32微控制器、超声波传感器和伺服电机的运动感应自动垃圾桶的设计与实现。该系统通过超声波传感检测用户存在,并利用微控制器控制的伺服电机自动开启桶盖。额外配置的超声波传感器用于监测桶内垃圾量,同时OLED显示屏提供系统状态的实时反馈。所提出的系统为无接触垃圾处理提供了一种低成本、可靠且易于部署的解决方案。实验评估表明,该系统具有快速响应时间、稳定的传感性能和平稳的机械运行特性。该系统可有效部署于家庭、教育机构、医院及公共设施中,以提升卫生水平和用户便利性。