Stepper motor wiring

Hi,

I’ve almost finished my MPCNC build, but am having an issue with the stepper motors.

I’ve wired the steppers in series, but if I try and move the x or y axis, one stepper moves in one direction, the other moves in the opposite direction.

I’m sure I can’t be the first person to experience this, but I couldn’t see an obvious answer to what wires need to be swapped around to get them moving in the same direction.

I’ve gone down the DIY route, so everything is soldered and covered in heatshrink tubing and braid now. 99% sure I’ve got the cabling as per the diagram, can anyone suggest what I should try next?

Many thanks,

geoff.

1 Like

You’ll need to reverse the connections to one of the motors. Unfortunately, that sounds like you’ll need to redo the heatshrink tubing and undo the soldered connection.

1 Like

Thanks BT. Just to confirm, does that mean I need to completely reverse the connections, e.g. swap A1 <-> B2 and A2 <-> B1?

Thanks,geoff

If one of the steppers is going the wrong way, flip it’s plug over to reverse it. If they are both going the wrong way, flip them at the board (is series wired of course).

Unfortunately, I don’t have any plugs on the steppers, they are soldered directly to the wires.

Thanks,

geoff.

Yep. Might want to test before soldering back together.

2 Likes

Hmm, I might have more of an issue with the stepper motors / mini rambo board. I can’t seem to get the z-axis to move without some serious juddering. Checked the wiring, tried multiple combinations, different ports, but all seem to produce the same result.

Any suggestions welcome!

Thanks,

geoff.

If it’s doing that, the wire pairs are wrong. Ignore the colors, they only differentiate the wires, not the pairs. There’s no color standard.

1 Like

Thanks Barry.

I’ve identified the pairs, using an LED and also by connecting the wires together on the servo.

I thought I’d tried all the wiring combinations, but will look again tomorrow.

geoff.

Ok, I’ve tried every possible combination of wiring the Z stepper motor, none of which have fixed the issue.

I’m guessing I have an issue with the mini rambo board. Does anyone know how to test this further?

Thanks,geoff.

Have you tried the z stepper motor connected to either the X or Y stepper drivers to confirm the motor works the way it is supposed to? If it’s the motor, then you should only have to replace it. If it is the driver, then you may have an option to swap the z-axis to the 4th stepper driver on the board; this will require some firmware changes, though.

1 Like

Hi BT,

Yes, I did try using another port on the board (x,y,extruder). Not tried every combination, but it all seemed to produce the same result. Also tried another stepper motor. Not sure if it’s something I’m doing wrong with the cabling.

Bit frustrating at the moment!

Thanks,

geoff.

As BT pointed out there are ways around a bad driver if that is actually the issue but you need to verify all your steppers first. If you are wiring them yourself you need to remember to always power down completely before connecting or disconnecting any stepper wires. The mini is protected, you should not have been able to kill a driver unless something went terribly wrong.

1 Like

Thanks Ryan. I’ve ordered another stepper motor to try and narrow down the issue. Just wondering if there is anything in the firmware that could cause this behaviour?

 

geoff.

Some progress, another stepper motor and (because they were cheap) a RAMPS 1.4 stack arrived in the mail today.

New stepper still judders on the old / Mini Rambo board.

Everything is working fine on the new RAMPS 1.4 board though!

I guess I had a defective / broken Mini Rambo board, not sure how likely that is though?

Does anyone know if there are any disadvantages on using the cheaper RAMPS 1.4 instead of the Mini Rambo?

 

Thanks,

geof.

Genuine board or import? Did you try re-flashing the firmware (and double checking it is mini firmware)?

 

If it works you should be okay, the ratio of working vs not is to high to recommend. If yours works you should be fine.

1 Like

It’s an import from China. I’ve tried reflashing the board a few times (mostly to get the LCD screen working). Didn’t seem to make a difference to the steppers though. I’m using the ‘Marlin-MPCNC_MRambo_T8_16T_LCD.zip’ firmware, I assume this is the correct one?

 

Thanks,

geoff.

There have been a ton of questions about those it seems they must have swapped out some components. You can look at the components themselves and see if the numbers match up, at least for the bigger chips.

 

I have never handled or used one so I can’t be sure, but with all the questions something is not as it should be. Just like the ramps, they are great boards (genuine) the imports typically can not even handle an LCD anymore and some have extremely old usb chips.

1 Like

Indeed, it looks like some of the revisions on the chips have changed from the photo here - https://reprap.org/mediawiki/images/f/f5/MiniRamboV1.3a.jpg

Not sure if that would cause the issue I’m having though, or even if it was I don’t have the equipment or skills to swap out SMD components that small!

Will stick with the RAMPS for now and see if I can get a refund on the mini rambo (unlikely I know)

Thanks,

geoff.

Is that a photo of the genuine board? The revisions on that are correct, the imports can change all sorts of things, it sounds like the digi pots (it it has them) are not correct.