基于AT89C52单片机的自动门控系统设计.doc

  1. 1、本文档共35页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于AT89C52单片机的自动门控系统设计

毕 业 设 计(论 文) 题目:基于单片机的自动门控系统设计 The automatic door control system design based on MCU 学生姓名: 学 号: 所在系部: 机械工程系 专业班级: 指导教师: 日 期: 2015年5月 摘 要 随着本论文着重阐述了以单片机为,传感器及步进电机为核心的系统。本设计用作为控制,步进电机、热释电型红外传感器相结合的系统。充分发挥了单片机的性能。其优点硬件,软件,可靠,性价比高等,具有一定的用和参考价值。 : 单片机9C52 步进电机传感器 Abstract With the high-speed development of modernization, the automatic door is everywhere in our life. Automatic doors are beautiful and convenient for people in and out, gives people a better human. At the same time gradually toward large-scale automatic door control system, intelligent direction. This paper emphatically expounds the with the single chip processor as the controller, sensor and step motor as the core component of the system. This design is to use AT89C52 single chip microcomputer as the controller, stepping motor, pyroelectric infrared sensor, the led indicator light, buzzer combination system. Pyroelectric infrared sensor to SCM transmission signal, driven by single chip microcomputer control motor, so as to control motor rotation, the door can be automatically switch. Give full play to the performance of the single chip microcomputer. Its advantage is hardware design can be strong, powerful software, the overall system safe and reliable, cost-effective higher, has certain practical and reference value. Keywords:Single chip microcomputer AT89C52 目 录 摘 要 I Abstract II 1.绪 论 1 1.1本课题国内外研究现状及发展趋势 1 1.2本课题研究的意义与目的 1 1.3本课题的设计与要求 2 2.系统总体方案设计及论证 3 2.1设计的基本设计思路 3 2.2系统控制核心的对比及选择 3 2.3无刷电机和步进电机的对比以及选择 4 2.4传感器的选择 5 2.5总体方案论证 6 3.硬件系统设计 7 3.1单片机介绍 7 3.1.1 AT89C52主要特性 7 3.1.2 AT89C52管脚说明 7 3.1.3引脚具体方案 8 3.2红外热释电模块HC-SR501 9 3.2.1 HC-SR501特性 9 3.2.2红外模块调整方案 10 3.3步进电机 10 3.3.1步进电机特点 10 3.3.2驱动控制系统组成 11 3.3.3步进电机运行方案 12 3.4电路设计框图及原理 12 4.软件系统设计 15 4.1程序设计思路 15 4.2系统运行流程图 15 4.3主程序分析 17 4.3.1程序声明 17 4.3.2子函数声明 17 4.3.3单片机引脚声明 17 4.3.4全局变量 17 4.3.5主函数实现部分 17 4.3.6中断函数 21 总 结 24 参考文献 25 致 谢 27 1.绪 论 1.1本课题国内外研究现状及发展趋势 第一台在世界范围内销售的自动门控系统是由DOORMX开发,相比国内要早很多。1802年8月德标公司成功设计并开发出

文档评论(0)

2017meng + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档