1、用串行口控制步进电机两维运动系统2009-5-1310:00:00 王继业 供稿摘 要:本文介绍了一种通过微机的串行口控制两维坐标定位系统的新方法。该方法不需要MCU,可以方便的通过改变串口的波特率来改变步进电机的运行速度,可以通过RS232串口中控制Modem状态的输入、输出信号来控制运动的方向和读入不同的位置信息。该方法使用逻辑电路实现控制功能,比用MCU的方法不仅简单,省却了编程的麻烦,而且提高了可靠性。关键词:串行口;步进电机;运动控制Abstract: a new method about the two-dimension coordinate c
2、ontral system by the serial port of the personal-computer is introduced. this method is convenient for changing the motion speed of the step motor through chaning the baud rate of the serial port, and contraling the motion direction and getting the position information of the motor
3、by contraling the input or output signal of the Modem state in the RS232 serial port. This new method using logic circult to realising the contraling function is more simple, so there is no need of programming, and can improve the reliability.Keywords: serial port、step moter、motion