stepper Stepper Motor Controller
Author: J. Bajić 
2019 03 29 172747 

This project present a Stepper Motor Controller with microstepping and speed ramping implementations. Controller implementation is based on custom board with dsPIC30F4013 microcontroller and 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 plaforms and configured according to user requirements. Stepper speed ramping (acceleration and decelaration) is based on David Austin article [1], which deals with how to generate stepper motor linear speed profiles in real time. 

dspic       L298       nema17

A simple LabVIEW virtual instrument is implemented for stepper motor driving and testing based on given stepper motor controller. NEMA 17 stepper motor is used in demo video.

[1] David Austin, “Generate stepper-motor speed profiles in real time”.


 - Stepper motor controller on githubsource
 - Motor driver board schematic and pcb: sch&pcb
LabVIEW virtual instrument: stepper
 - Motor cover model on thingiverse: model
 - Demo video on youtube: video



  • 1_top1_top
  • 3_arrow3_arrow
  • IMG_20190718_004510IMG_20190718_004510
  • 2_bottom2_bottom
  • IMG_20190718_004638IMG_20190718_004638
  • IMG_20190718_004830IMG_20190718_004830
  • IMG_20190718_004912IMG_20190718_004912
  • IMG_20190718_004856IMG_20190718_004856
  • IMG_20190718_013551IMG_20190718_013551
  • IMG_20190718_013622IMG_20190718_013622
  • schematicschematic
  • pcbpcb
  • IMG_20190718_013646IMG_20190718_013646
  • labview_applabview_app


© - Faculty of Technical Sciences, Novi Sad, 2016