RAMPS pin to stepper motor wire - how to match?

5,314 views
Skip to first unread message

HonestJohnP

unread,
Apr 26, 2012, 10:17:12 PM4/26/12
to MakerGear - Make Today, Change Tomorrow
All,

Getting ready to wire the arduino to the steppers.

My steppers and plastruder wires are red, green, yellow, blue

The arduino has pins 2B, 2A, 1A, 1B in that order

what color goes to what pin?

Please let me know. If there is a schematic that maps out pin to
motor, end stop, etc. for v1.4 that has the red, gree, yellow, blue -
please pass it along.

Thanks!

John

Rick Pollack

unread,
Apr 26, 2012, 10:22:10 PM4/26/12
to make...@googlegroups.com
just hook them up in Red Green Yellow Blue order. if the motor runs backwards, you can just power down and flip the connector to reverse it.

Charles Steinkuehler

unread,
Apr 26, 2012, 10:32:03 PM4/26/12
to make...@googlegroups.com, HonestJohnP
The wiring diagram on the reprap wiki RAMPS 1.4 page has color coded
wires going to the steppers if you look closely:

> http://reprap.org/wiki/RAMPS_1.4#Wiring

...this worked for my steppers (from Lulzbot.com) which have red, green,
blue, and black wires.

There is also a bit about finding the proper wiring order via
experimentation on the steppers motor page, if you can't figure out the
right way empirically:

> http://reprap.org/wiki/A4983#Shortcut_for_finding_the_proper_wiring_sequence

--
Charles Steinkuehler

Triffid Hunter

unread,
Apr 26, 2012, 10:48:05 PM4/26/12
to make...@googlegroups.com
On Fri, Apr 27, 2012 at 12:17 PM, HonestJohnP <johnpb...@gmail.com> wrote:
Getting ready to wire the arduino to the steppers.

what color goes to what pin?

1) as long as you get the pairs correct, exact order doesn't matter. 

2) to find a pair, short out two wires. if the motor becomes harder to turn by hand, you found a pair! The remaining two wires are the other pair

3) if the motor runs backwards when you wire it up according to this simple method, simply plug it in the other way, or invert the direction in your firmware configuration.

4) the pairs' wires are adjacent in the plug, ie:
 x    x    x    x
[pair 1][pair 2]

5) this method will work for all 4-wire steppers.

hope this helps
Reply all
Reply to author
Forward
0 new messages