摘要
对AVR单片机AT90S8515进行编程,实现对35BYJ46型四相八拍步进电机的控制,以达到精确定位的目的.使AT90S8515单片机并行口C口高四位PC7~PC4分别与驱动接口芯片ULN2803的输入引脚A、B、C、D相连,并使驱动芯片的4个输出引脚分别与步进电机的4、3、2、1四个励磁线圈的引脚相连.通过对单片机进行编程,使数据从C口高四位输出经驱动电路放大后控制步进电机,使其按照单片机编写的程序进行按步骤的正序旋转或逆序旋转.
The introduction to this text carries on programming with AVR microchip AT90S8515 and it realizes to control 35BYJ46 series stepping motor in order to achieve the accurate purpose that makes a reservation. Connect the high four bit of AT90S8515's port C with drive interface chip ULN2803's four input pins A,B,C,D and the output pins of ULN2803 connect with the four input pins of the series stepping motor. Making program to the chip then the data out of the microchip AT90S8515 drived by the ULN2803 can control the series stepping motor, so the motor can turn as the AT90S8515 drived.
出处
《沈阳化工学院学报》
2005年第2期126-128,共3页
Journal of Shenyang Institute of Chemical Technolgy
关键词
精简指令集
单片机
步进电机
看门狗
reduced instruction set computer
microchip computer
series stepping motor
watch dog