585,927 active members*
3,189 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Stepper Motors / Drives > Arduino Mega + RAMPS 1.4 + Stepper motor/driver
Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2015
    Posts
    8

    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

  2. #2
    Join Date
    Feb 2009
    Posts
    6028

    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.

  3. #3
    Join Date
    Jan 2005
    Posts
    1695

    Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver

    Do the motors lock up when you apply power?

  4. #4
    Join Date
    May 2005
    Posts
    1397

    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?
    James hosts the single best wiki page about steppers for CNC hobbyists on the net:
    http://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what's missing! ,o)

  5. #5
    Join Date
    Mar 2015
    Posts
    8

    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!

  6. #6
    Join Date
    Mar 2015
    Posts
    8

    Re: Arduino Mega + RAMPS 1.4 + Stepper motor/driver

    I'll get a meter today and test it, thank you!

  7. #7
    Join Date
    Mar 2015
    Posts
    8

    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

Similar Threads

  1. Need Help! - Arduino, RAMPS 1.4, and Repetier.
    By alielsayid in forum Arduino
    Replies: 2
    Last Post: 04-05-2016, 10:09 AM
  2. Arduino Mega/Big Easy driver 4 axis foam cutter
    By sschering in forum CNC Wire Foam Cutter Machines
    Replies: 6
    Last Post: 04-03-2015, 02:40 PM
  3. I'm about to buy a replacement Arduino Mega 2560
    By herring_fish in forum Hobby Discussion
    Replies: 0
    Last Post: 12-22-2011, 03:20 AM
  4. Arduino Mega, RepRap Motherbd machine build
    By BTS in forum Open Source CNC Machine Designs
    Replies: 3
    Last Post: 04-13-2011, 05:34 PM
  5. Arduino Mega driving my cnc.
    By aventgps in forum Videos
    Replies: 2
    Last Post: 12-30-2009, 08:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •