cancel
Showing results for 
Search instead for 
Did you mean: 

Stepper vibrating and stepping 1 forward and 1 backward. What am i doing wrong

SCeyl.1
Associate

Hey i am sinan,

I am trying to control stepper(hs4401) with a4988 and stm32f103(bluepill). Althought i have got wiring correct when i power up, stepper just vibrating and going back and forth. When i connected same driver and same motor to arduino, motor just works with one little problem which is that when step pin and dir pin are low again same problem. Is there anyone who know what am i doing wrong

thank you

best regard

sinan

2 REPLIES 2
Laurent Ca...
Lead II

Dear @SCeyl.1​ 

Welcome to the STM32 Community

Could you give more details to the STM32 Community about your setup -the material you use- ?

(HW and SW, CPU(s), tools and versions, board(s), motor(s) and so on)

And more especially did you use STM MC tools (such as MC_suite, MC-Motor Profile, MC-SDK, MC-workbench, and so on)?

Best regards

Laurent Ca...

VAtya.1
Associate

Hello! I have the same problem. For me, the 1.1f grbl is ported, but the a4988 doesn't drive the engine, it just beeps the engine. There may be a problem with configuring the output pins, observing the signal with an oscilloscope is an irregular rectangular signal. It does not go below 2-3 V. You may have a similar problem.