键盘设定步进马达正逆转及转数的设计与控制方法

需积分: 0 0 下载量 138 浏览量 更新于2024-01-31 收藏 375KB DOC 举报
The purpose of this graduation project was to design a control system for a stepper motor using a keyboard, specifically focusing on the direction and speed control. The stepper motor is a type of electric motor that converts electrical pulse signals into linear or angular displacement. In this project, an 8051 microcontroller was used to control the stepper motor, combining software and hardware techniques to achieve optimal control. The control signals for the stepper motor were generated by an IO port outputting timed square waves. These signals were then fed through the PH2083 chip to drive the stepper motor. Additionally, the motor's speed was displayed on a 7-segment LED display, which was controlled using an 8279 display driver and receiving input signals from the microcontroller. The design also included important instructions on how to interface the microcontroller with the stepper motor. Microcontrollers have been widely used in modern industrial control and automation systems, making proficiency in microcontroller technology a crucial skill for industrial control engineers. This project deepened our understanding of microcontrollers and helped us become more skilled in assembly language programming. Furthermore, this project served as an important learning opportunity to bridge the gap between theoretical knowledge and practical application. By designing and implementing this control system, we gained hands-on experience in microcontroller development and laid a solid foundation for our future professional work. Keywords: stepper motor, microcontroller, control