- 1、本文档共33页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于单片机与步进电机控制
摘要
随着科学技术的快速发展,社会对产品的要求也越来越高。各种精密器件需求增加,这就使得我们对制造产品的机器要求越高。而步进电机恰好有运行平稳、低噪音、响应快、使用寿命长、高输出扭矩With the rapid development of science and technology, social requirements of products is getting higher and higher. Increased demand for a variety of sophisticated devices, which allows us to manufacture products that require higher machine. The stepper motor has just run a smooth, low noise, fast response, long life, high output torque and control the characteristics of error.Stepper motor in the national product will play an increasingly important role.
This article describes a single-chip microcomputer to control the use of AT89S51 stepper motor examples of the system. The system can be related through the keyboard input data, stepper motor based on these data to carry out the corresponding action. Stepper motor is able to set up ways of working with interactive features. Display circuit to display real-time operation of stepper motor rotation, with the characteristics of real-time.
This paper also introduced the single-chip AT89S51, Stepper Motor Driver IC ULN2003, CD4511 chip such as the use of methods and the use of the occasion. The article also mentioned that the hardware component, the program flow chart, procedures and notes.
Keywords::single-chip microcomputer ;stepper motor;control;show
目 录
1绪论 1
1.1 什么是步进电机 1
1.2 步进电机的发展 1
1.3 步进电机的运用 1
1.4步进电机分类 1
1.5设计的应用及意义 2
2 系统总体方案 3
2.1 系统总体规划 3
2.2 单片机及外围器件介绍 4
2.2.1 单片机AT89S51介绍 4
2.2.2 BCD-7段锁存译码驱动器CD4511介绍 6
2.2.3 高压大电流达林顿晶体管阵列ULN2003A介绍 7
2.2.4 三端稳压芯片LM7805介绍 9
2.2.5 四相五线永磁型步进电机M35SP-7NP介绍 9
2.2.6 七段数码管介绍 10
3 系统硬件设计 12
3.1系统电路结构设计 12
3.2硬件电路工作原理 12
3.2.1单片机控制按键说明 12
3.2.2硬件原理图 13
3.3硬件电路组成部分 13
3.3.1 单片机AT89S51的复位电路 13
3.3.2 时钟电路 14
3.3.3 显示电路 14
3.3.4 驱动电路 15
3.3.5 4×4键盘电路 15
4 系统软件设计 16
4.1系统设计流程图 16
4.1.1 系统设计主程序电路流程图 16
4.1.2 系统设计子主程序电路流程图 17
4.1.3 系统设计4×4键盘扫描键值程序电路流程图 18
5 系统运行与调试 19
5.1 开发软件简介 19
5.2 KEIL软件介绍 19
5.3 PROTEUS概述 20
5.4前期仿真调试 21
5.5硬件调试 21
6 总结与展望 22
附录 23
附录一 程序 23
附录二 实物照片 27
文档评论(0)