TGit-Tech / GRBL-28byj-48

Grbl ver 1.1f.20170131 with XYZ Unipolar Stepper Support (28byj-48)
Other
95 stars 46 forks source link

Y and Z vibrating #9

Open dgroenheide opened 3 years ago

dgroenheide commented 3 years ago

Hello,

When I use this, my X turns both ways but my Y and Z turn only one way and vibrates the other way. How do I fix this?

TGit-Tech commented 3 years ago

Sounds like a hardware issue. If you're using the ULN2003 driver board I cannot think of a way the code could 'vibrate' the stepper in one direction but move in the other since its 4-wire sequential. However; if you're playing with the code (this code) that would be a different question altogether. You might want to test your hardware with just some general move code?

dgroenheide commented 3 years ago

Thanks for you reply! I tested it with an arduino uno and it worked fine! However when I run gcode on it and it moves all 3 axis, then it cuts power while moving. I am using a 9V 1A power supply

TGit-Tech commented 3 years ago

You didn't mention which motor driver board you're using. If you're trying to wire directly to an UNO power loss would be expected as I'm pretty sure motors will overloading the IO pins.

dgroenheide commented 3 years ago

I use 3x ULN2003 and it cuts power

TGit-Tech commented 3 years ago

Sorry its taken so long to get back; summer work. Did you find a solution?

dgroenheide commented 3 years ago

Hello, I still didn't find my solution

TGit-Tech commented 3 years ago

What exactly do you mean by 'it cuts power'?
Have you tried using a different power source like a 12Vdc one?
And checked the 5-12V pin jumpers on the ULN board for the correct jump?

Does this symptom happen both with gcode execution and manual control? Is the motor gear / framing snagging or pinching in one direction? I've put machine oil or cooking oil (pam) on some hardware to get smoother slide and gear mesh..

Those are about the only things I can think to check.

dgroenheide commented 3 years ago

It cuts power when all 3 motors are used. The leds also turn off for a second. I didn't try a 12v source because I don't have one. I will try that.

TheExpertNoob commented 2 years ago

Line 244 of stepper.cpp looks sus.