2025 届本科生毕业设计 分类号:TU824.1题 目: 基于单片机的自动抽纸系统设计 2025 年 5 月 15 日摘 要本系统采纳STC89C52单片机设计出一套蹲便器自动抽纸系统。本系统由单片机,红外传感器,激光传感器,步进电机和一些控制模块组成。利用单片机、步进电机等实现人方便后自动抽出一定长度的纸的功能。单片机负责把采集到的数据处理后与控制模块通信。通过红外线来探测是否有人进入系统范围,根据红外线辐射的能量进行检测,检测到有人后经红外传感器把信号发送给中心系统,同时指示灯亮,进行提示。当有人方便时,按下按键,系统便会自动出纸。通过实践,我们小组成功的做出了自动抽纸系统并且拍摄了实物图,本系统用料简单,无论从方法和用料都是具有可行性的。关键词:通信;红外;步进电机;STC89C52ABSTRACTThe system uses a set of single-chip design STC89C52 Pissing automatic pumping paper system. The system consists of microcontroller, infrared sensors, laser sensors, stepper motors and some control module. Use of microcontroller, stepper motor for automatic extraction of people after a certain length of paper to facilitate the function. MCU responsible for processing the collected data communication with the control module. Via infrared to detect if someone enters the system-wide, according to the energy detect infrared radiation detected by the infrared sensor after someone sends signals to a central system, and indicator lights, prompting. When someone convenient, press the button, the system will automatically eject. Through practice, the success of our team to make an automatic pumping system and shoot a real paper map, the system is simple to use material from both the methods and the materials used are feasible.Keywords: Communicate; Infrared; Stepper motor; STC89C52 目 录绪论................................................................................................................................11 设计思路与方案.....................................