1 / 33
文档名称:

基于单片机的自动抽纸系统设计毕业设计.doc

格式:doc   页数:33页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

基于单片机的自动抽纸系统设计毕业设计.doc

上传人:cdsqbyl 2015/11/8 文件大小:0 KB

下载得到文件列表

基于单片机的自动抽纸系统设计毕业设计.doc

相关文档

文档介绍

文档介绍:2014届本科生毕业设计分类号:
题目: 基于单片机的自动抽纸系统设计

2014年 5月 15 日
摘要
本系统采用STC89C52单片机设计出一套蹲便器自动抽纸系统。本系统由单片机,红外传感器,激光传感器,步进电机和一些控制模块组成。利用单片机、步进电机等实现人方便后自动抽出一定长度的纸的功能。单片机负责把采集到的数据处理后与控制模块通信。通过红外线来探测是否有人进入系统范围,根据红外线辐射的能量进行检测,检测到有人后经红外传感器把信号发送给中心系统,同时指示灯亮,进行提示。当有人方便时,按下按键,系统便会自动出纸。通过实践,我们小组成功的做出了自动抽纸系统并且拍摄了实物图,本系统用料简单,无论从方法和用料都是具有可行性的。
关键词:通信;红外;步进电机;STC89C52
ABSTRACT
The 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 munication 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 ess 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
目录
绪论 1
1 设计思路与方案 1
设计思路 1
设计方案 1
2 步进电机的工作原理及特性 2
步进电机的简介 2
步进电机的特点 2
步进电机的工作原理 3
3 硬件电路设计 5
单片机最小系统电路 5
控制模块 10
驱动模块 10
激光检测电路输出 13
串口通信模块 13
4 软件设计 14
程序流程图 14
系统主程序 15
定时中断设计 16
外部中断设计 17
Proteus仿真软件 17
本次系统的仿真图 18
5 PCB板设计及硬件调试 19
PCB制作过程 19
硬件调试PCB 20
系统设计实物图 20
结束语 22
参考文献 23
附录 24
致谢 29

绪论
在一些人流量较大的地方,例如游乐场、商场或者大型的公共场所。传统的公共厕所节水效果不理想,很容易被人为的损毁,并且可能滋生很多细菌。对于环境污染而言,手动抽纸无疑是有害无益的,并且对于人类的身体健康都有显著地影响。为了节约水源和保证纸张的不浪费,为了解决这个问题,便设计了一个采用STC89C52单片机的蹲便器自动抽纸系统。利用单片机、红外和激光传感器驱动步进电机,来实现人方便以后自动抽纸的功能。在当今这个当节约成为一种潮流的时代,仍旧存在这一群人,对公共财物一点不节约,从而造成手