摘要
采用AT89S52单片机为核心的基于USB接口的步进电机控制系统,通过USB接口与PC机进行数据传输,实现上位机对步进电机的控制。利用Visual Basic 6.0提供的通信控件编写上位机界面,完成PC机与单片机之间的通信,可精确的控制X向、Y向步进电机,实现直线或圆弧插补。
Step motor control system based on USB interface which takes AT89S52 SC as its controller realizes the control of PC to step motor through the data transmission of USB interface and PC. The PC interface is compiled by correspondence controls provided by Visual Basic 6. 0 and completes the correspondence between PC and single- chip microcomputer. It can con- trol the X - oriented and Y - oriented step motors accurately and realizes the line or arc interpo- lation as a result.
出处
《大连民族学院学报》
CAS
2009年第3期223-225,271,共4页
Journal of Dalian Nationalities University
关键词
步进电机
USB接口
控制系统
插补
step motor
USB interface
control system
interpolation