L298驱动步进电机摘要:本系统采用STM32作为主控制芯片,用L298驱动步进电机,并由按键分别控制步进电机的启/停,快速/慢速,整步/半步,正转/反转,发光二极管显示按键情况。实现了步进电机的基本功能。关键词:STM32、L298、步进电机Abstract: This system adopts STM32 micro processer as main controller. The stepper is driven by L298 chip,and the Keys controls the steppers mode separately as START/STOP,FAST/SLOW,FULL/HALF,CW/CCW, then LED shows whether the Key is pressed .The system achieved the base functions easily.Key words: STM32, L298, stepper motor第1章 引 言本系统采用STM32F103XX微控制器驱动步进电