I'm wanting to run a sketch on my set up (velleman K8200 printer controlled by Arduino mega, RAMPS 1.4 and pololu A4988 stepper drivers) but not having any joy with it. I looked at the RAMPS 1.4 test code to get pin definitions. I wrote this code for it, it verifies fine, but when I upload, nothing happens, the motors don't move at all. I've defined each stepper based on the pins that are on theby mrsmith91 - Stepper Motors, Servo Motors, DC Motors
I wrote this code for it, it verifies fine, but when I upload, nothing happens, the motors don't move at all. I've defined each stepper based on the pins that are on the test code (the original code in the post) and that code works, so the pins must be correct, what is wrong with this then? #include //AccelStepper Xaxis(1, 54, 55); // pin 54 = step, pin 55 = direction //AccelStepper Yaxis(1, 6by mrsmith91 - General
Here's the board Im using. I think I have half steps then? (Sorry Im not great with electronics)!by mrsmith91 - General
I'm using an arduino mega and a RAMPS 1.4 board. I don't mean to sound stupid but don't know how to modify the sketch to run the different stepsby mrsmith91 - General
How do I know the settings for microsteps/find out? It is a 200 step motor, and 3.2 seconds per rotation is about right. I figured that but but not sure how to define it to use stepper library functions or anything.by mrsmith91 - General
Thanks for the response cdru Surely it can't be going the highest speed possible, its pretty slow. If I emptied the set up and loop voids and wrote a code including the stepper library and using the stepper.setSpeed would I be able to control the speed of the stepper motors that way?? Thanksby mrsmith91 - General
Hi there reprapers!! Im quite new to this and trying to figure something out. If I run the test code (Below) with just one motor plugged in to x, my motor goes backwards and forwards in a loop as expected. Im wondering though what sets the speed at which it turns? I can't see any code where the speed is set, just HIGH or LOW?? Can someone explain it to me as I need to alter the code so that I caby mrsmith91 - Stepper Motors, Servo Motors, DC Motors
Hi there reprapers!! Im quite new to this and trying to figure something out. If I run the test code (Below) with just one motor plugged in to x, my motor goes backwards and forwards in a loop as expected. Im wondering though what sets the speed at which it turns? I can't see any code where the speed is set, just HIGH or LOW?? Can someone explain it to me as I need to alter the code so that I caby mrsmith91 - Developers
Hi there reprapers!! Im quite new to this and trying to figure something out. If I run the test code (Below) with just one motor plugged in to x, my motor goes backwards and forwards in a loop as expected. Im wondering though what sets the speed at which it turns? I can't see any code where the speed is set, just HIGH or LOW?? Can someone explain it to me as I need to alter the code so that I caby mrsmith91 - General
Hi there reprapers!! Im quite new to this and trying to figure something out. If I run the test code (Below) with just one motor plugged in to x, my motor goes backwards and forwards in a loop as expected. Im wondering though what sets the speed at which it turns? I can't see any code where the speed is set, just HIGH or LOW?? Can someone explain it to me as I need to alter the code so that I caby mrsmith91 - RAMPS Electronics