摘要
本设计采用AT89C51对步进电机进行控制,通过单片机I/O口输出的方波作为步进电机的控制信号,信号经过L298N驱动电路来驱动步进电机,完成相应的规定动作;同时用键盘来控制任意坐标点的参数,并用L C D液晶显示器显示悬挂物体中画笔所在位置的坐标;软件功能模块主要完成对步进电机运动的位置、速度、方向以及运动时间的控制。
The design takes advantage of MCU AT89C51 to control step-motor, the time-sequence square wave, output of I/O terminal of MCU acts as controlling signal of step-motor. It drives step-motor through L298N driving-circuit, and accomplishes corresponding given operation. Meanwhile, It uses keyboard to control the parameter of arbitrariness coordinate, and dialing-switch to select the operation which must be finished by step-motor. CRT is used to note the coordinate of the position of painting-pencil in the suspending object. Software function building block mairdy accomplishes controlling of the position, velocity, direction and time of the motion.
出处
《自动化与仪器仪表》
2009年第1期32-33,43,共3页
Automation & Instrumentation