1、 1 摘摘 要要 随着数字电子计算机的广泛应用, 单片机的应用也已深入到了社会领域的各 个方面。为此选本次毕业设计课题为:基于 P89C668 单片机的步进电机运动控制 系统的研发,P89C668 单片机属于Philips 的增强型 8051 系列。本设计是利用 单片机来控制步进电机的运转,通过键扫描,程序的控制来实现步进电机的起、 停,正、反转,加、减速的运动状态。本次设计应用到的开发工具是:Protel DXP2004 和 uVision2,本系统是应用汇编语言进行控制的。 正文中首先简单描述了课题背景,开发环境和需要完成的功能;接着介绍了 系统方案设计,其中包括硬件选型和开发工具两部分,
2、论述了本次毕业设计所应 用的各种设备的功能及其工作过程,此部分为系统的硬件设计做作准备;最后详 细介绍了系统硬件的设计,附有相应的电路图,并给出了系统的硬件设计总图。 在正文中还简单描述了增强型 8051 单片机的电路接口的硬件调试。 关键词:单片机,步进电机,8051 2 ABSTRACTABSTRACT Along with the digital computer widespread application, the monolithic integrated circuit application also thoroughly arrived social domain each
3、aspect, For this anthology graduation project topic is: Based on the P89C668 Single chip Microcomputer. Stepping Motor movement control system research and development, the P89C668 Single chip Microcomputer belongs to Philips the enhancement 8051 series. This design is controls a Stepping Motor revo
4、lution using Single chip Microcomputer, through the key scanning, the procedure control realizes Stepping Motor stops, the reverse, adds the state of motion which, decelerates, This design applies the development kit is Proter DXP2004 andVision2, this system carries on the control using the assembly language. In the main text first simply described the topic background, the function which the development environment and needs to complete; Then introduced the system plan design, including