Skip to main content
SCeyl.1
Visitor II
February 9, 2021
Question

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

  • February 9, 2021
  • 2 replies
  • 946 views

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

This topic has been closed for replies.

2 replies

Laurent Ca...
Senior III
March 2, 2021

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
Visitor II
November 25, 2021

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.