EggDuino icon indicating copy to clipboard operation
EggDuino copied to clipboard

Motors only turn in one direction

Open LinusDillon opened this issue 9 years ago • 4 comments

Had an issue where the motors would always spin in the one direction, regardless of sign of the move parameter passed. To make it work I had to remove the "abs" function in the speed calculations in "prepareMove".

Am using an AdaFruit motor shield, and amended code to initialise the AccelSteper library by passing in the step forward and step back functions from the Adafruit library.

Am still having an issue with the steps being too large, even though I am in micro step mode (can get smooth movement if I manually sent command).

LinusDillon avatar Jan 03 '16 00:01 LinusDillon

For me the situation is similar. The engine is the pen counterclockwise willing to rotate.

ememem13 avatar Mar 08 '17 10:03 ememem13

Hi,

I also have the same problem. The pen only moves in one direction. How can i fix this?

ronnylulu avatar Mar 14 '17 06:03 ronnylulu

One of the A4988 was defective. :-((

ememem13 avatar Mar 15 '17 10:03 ememem13

I have the same problem andalso one of the A4988 was defect

druckgott avatar Apr 06 '18 17:04 druckgott