Based on MCU Stepping Motor Control
Abstract: This paper introduce a kind of monolithic machine-based step-by-step electric motor runs navar. This design uses the AT89C51 MCU and ULN233A stepper motor driven. This paper mainly includes the temperature sampling moduce,power module,driver module,display module,the keyboard moduce and alarm module. It adds DS18B20 chip’s real-time detection to the ambient temperature of 0 ° ~100 ° C to control the cw and ccw of the stepper motor. When the temperature exceeds the on-line set, the alarm will make a loud ringing noise, and it uses the keyboard to control the laps and rate of the stepper motor, which will be displayed by the LCD display. The LED will indicate the current state of the motor (cw , ccw or stop) and use the Protues simulation test to realize the above functions. The simulation results show that the design has the advantages of high reliability, strong stability and so on.
Key Words: MCU; AT89C52; ULN2003A; DS18B2
摘要......1
引言..1
1.步进电机和驱动系统的简介 2
1.1步进电机的介绍 2
1.2步进电机的驱动系统简介 3
1.3 步进电机的几种控制方式..4
2.系统硬件电路设计 6
2.1设计整体框图 6
2.2温度采集模块 6
2.3电源模块 7
2.4驱动模块 8
2.5 LCD显示模块 8
2.6状态显示模块 9
2.7键盘模块 10
2.8报警模块 10
2.9系统硬件设计原理图 11
3.系统软件设计 11
3.1系统程序框图 11
4.系统的仿真测试 12
4.1系统仿真软件的简介 12
4.2系统各个部分的仿真 12
4.3系统仿真总图 14
5.总结 17
参考文献....18
附录 19
致谢 34,4072