With the application of computer and microelectronics technology in areas such as industrial production, the use of computer technology and microelectronics technology to control the stepper motor to meet the requirements of industrial production has gradually become an emerging technology has increasingly become the study of various fieldsfocus. At the same time, the stepper motor control requirements. This project originated from the reconstruction project of Jiangxi Phoenix Optical Group spectrometer lens production line drive equipment modification subprojects required to achieve and improve the level of intelligent monitoring of the workshop lens production lines.The design for the AT89C51microcontroller as the core, the microcontroller itself with the timer interrupt, I/O output and peripheral devices combine to achieve a continuous speed control with buttons on the stepper motor, stepper motor real-time control and display of ways of working. In addition, the optimization of stepper motor drive circuit, software programming and precise control of the whole system is stable and reliable and can be applied to optical lens production lines.For the workshop optical lens production line of stepper motor drive control system hardware, software design and implementation. The hardware part includes the system schematic diagram based on the PROTEUS design, simulation and PCB circuit board production. The software design includes C language programming, with the keyboard input to control the stepper motor works, and will run the state displayed on the LCD screen to good effect in the actual production application. |