How to run bipolar stepper motor


#1

I have a bipolar stepper motor (nema17), a CNC shield and microstepper driver A4988. I am trying to run this motor using arduino uno and mblock. I can’t get the code right. Can anyone please help me with the code?


#2

Did you try the StepperDriver 1.2.1 extension? I created it specifically for that purpose.

You can download it directly from the Extensions menu within mBlock-3 or go to the source (with examples) in the original repository: https://github.com/roboteach-es/mBlock3-extensions/tree/master/RT_StepperDriver

Also, if you show here your code, maybe we can have a look at it and provide specific clarifications.

Regards!


#3

HI Shazia

You can click the link below and find the resource that you need on github.

FYI: https://github.com/laurb9/StepperDriver https://www.pololu.com/product/1182/resources