Stepper Motor Controller
Stepper motor controller implementation with microstepping and speed ramping (acceleration/deceleration).
About
This project presents a stepper motor controller with microstepping and speed ramping. The controller implementation is based on a custom board with a dsPIC30F4013 microcontroller and an L298N dual H-bridge motor driver. Controller supports microstepping up to 1/32 of full step, but stepper controller implementation can be easily ported to other platforms and configured according to user requirements. Stepper speed ramping (acceleration and deceleration) is based on David Austin's article [1], which deals with how to generate stepper motor linear speed profiles in real time.
A simple LabVIEW virtual instrument is implemented for stepper motor driving and testing based on the given stepper motor controller. A NEMA 17 stepper motor is used in the demo video.
Project files & docs
Image gallery 14 photos
Videos
-
Stepper Motor Controller
Videos play from YouTube only when you press play.
References
- David Austin, “Generate stepper-motor speed profiles in real time”.


