摘要:随着科学科技的日新月异,家居生活的自动化程度越来越高,自动化设备的使用率越来越高,自动门就是一个典型的例子,它在人们日常生活中得到了广泛的应用,人们对它的各方面性能及其安全性要求越来越高。自动门的控制系统是随着人们对生活条件的不断追求、科技的不断发展应运而生的高科技产品。我的设计是基于单片机的自动门控制系统,采用STC89C51单片机作为主控制器,使用红外线传感器作为感应器,检测到人体辐射的红外线能量变化,将其转化为电信号,触发单片机中断。再由单片机通过ULN2003驱动步进电机动作,电机的正反转分别表示自动门的开启和闭合,通过15个LED灯的逐次亮灭来模拟开关门状态。74002
毕业论文关键词:STC89C51,热释红外线传感器,步进电机
Abstract:With the rapid development of science and technology, the degree of live automation is higher and higher, automation equipment is used more and more heavily, automatic doors are a typical example, it has been widely used in people's daily lives, people on all aspects of its performance and safety requirements getting higher and higher。 Automatic door control system is with the people's living conditions constantly seeking of hi-tech products, the continuous development of science and technology came into being。My design is based on single-chip computer automatic control system, using controller STC89C51 microcontroller as the primary controller , infra-red sensors is used as sensors, detects infrared energy change in human radiation and transforms it into electrical signals, trigger the microcontroller interrupt。 From microcontroller through the ULN2003 drivers stepping motor, stepping motor positive inversion means automatic opening and closing of the door, respectively, through successive 15 LED lights on or off to simulate the open or close status。
Key words: STC89C51,Pyroelectric infrared sensor,stepping motor
目录
1 绪论 4
1。1 选题的意义和目的 4
1。2 自动门的发展与现状 4
1。3 设计任务的要点分析 5
2 系统模块方案的选择 6
2。1 控制模块 6
2。2 检测模块 6
2。3 动作模块 7
2。4 硬件的元件清单 7
3 硬件系统设计和实现 8
3。1 设计的框图和原理 8
3。2 单片机及其外围电路 8
3。3 热释电红外检测电路 11
3。4 步进电机及其驱动电路 12
4 软件系统编写和设计 15
4。1 主程序流程图 15
4。2 程序编写及定义 16
4。3 延时程序 18
4。4 主函数 18
5 设计的仿真和调试 23
总结 26
参考文献 27
致谢 28
1 绪论
1。1 选题的意义和目的 STC89C51单片机自动门系统设计+电路图:http://www.youerw.com/zidonghua/lunwen_84462.html