摘要
主要介绍了在windows平台下实现对步进电机控制的一个实际系统。本系统利用单片机控制步进电机 ,减少对CPU资源的占用 ;步进电机的转速和步长在windows下设置。软件编程使用了“操作数 +操作码”的结构 。
In this paper, we proposed a practical system for controlling stepper motor based on Windows. The application of SCM, which controls the stepper motor, cuts down the occupation of resources of CPU. Moreover the rotation speed and the step length are modulated on PC. The structure of 'operand & operator' is applied, which makes the programs simple and realistic.