1 Attachment(s)
Arduino Mega + RAMPS 1.4 + Stepper motor/driver
Hello everyone.
I have managed to assemble this components
1 Arduino Mega 2560
1 RAMPS 1.4
3 Stepper driver Pololu A4988
1 Step Motor Nema 17
1 ATX Power Supply
But I can't make the motor move.
So far, I could just load a GRBL responding to gcodes with "ok", so I'm guessing this firmware is working correctly: https://github.com/LETARTARE/Grbl-xx...Grbl9fMega2560
The program I'm using to send the gcodes is Universal G-Code Sender.
But, I cannot figure it out how to make the motor move. I have tried Marlin and Sprinter, but both gives errors at compile time.
I've also tried using the Marlin pin setup in the GRBL which loads into the arduino mega, as I confused on which configuration should it be as PINs. I readed out there are soft pins and hardware pins, but I'm really confused.
Does anyone knows what could I do? I'm a bit frustrated.
Attachment 275262
Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver
Post the compile errors, im guessing your missing a library addition on Marlin. looks like your also missing the second 12V leads in your connector. Pretty sure the second ones power the stepper drivers and heat bed on the ramps.
Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver
Do the motors lock up when you apply power?
Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver
A scope or even a meter on AC volts can help troubleshoot. Are you getting step pulses into the driver? Are the field wires changing?
Then with a DC volt meter do you see the DC voltages expected at each location?
Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver
No, I have readed about the lock up of the motors but they don't do nothing at all. Perhaps I misunderstood the howto I was following from which I undestood the first power plug was for the motors and the other for the heat bed. I'll try today to put power to the other plug. I think it won't make any bad if it's not being used anyway. Thanks for your reply!
Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver
I'll get a meter today and test it, thank you!
Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver
I just copied the Marlin (as I did with others firmware) to the Arduino library folder, and then load the sketch from the File > Examples menu. I'll read more about it and I'll come back with detailed compile time errors. Thank you