Auto Squaring, My axis is hella square...

@Ryan has been trying to keep that branch up to date with Marlin, but I think something got lost in an update. I think this should have had that:

1 Like

Heffe linked the file you should use. If it give you issues use the Beta version of arduino, I have a marlin 2 version but I updated it yesterday and have not verified it.

I probably missed this information in the wiki, but can anyone give me any clarification regarding how this function should work using the CNC as a 3D printer?

Since all the available slots for the drivers are now occupied, where and how should the extruder motor be wired?

Not for printing unless you wire in another Driver.

Yes, my question actually was more about how this should be wired?

Is there a way to extend the ramps somehow to install more drivers?

Yeah, someone on the forums posted about using a drv8825 breakout board wired to some of the aux pins. You might have to give up the LCD.

I think your GitHub has it wrong:

https://github.com/Allted/Marlin/blob/MPCNC_Ramps_T8_16T_LCD_32step_DualEndstop/Marlin/src/pins/pins_RAMPS.h

That should have the E2 pins defined, right?

ahhhh man…its wrong.

Thanks allot guys!

I finally have it compiling and uploading without a problem!

As you said, I had to go over to the Arduino 1.9.0 Beta-version and change the file pins_RAMPS.h to:

#define E0_STEP_PIN 70 #define E0_DIR_PIN 70 #define E0_ENABLE_PIN 70 #ifndef E0_CS_PIN #define E0_CS_PIN 70 #endif

#define E1_STEP_PIN 26
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 24
#ifndef E1_CS_PIN
#define E1_CS_PIN 42
#endif

//mpcnc
#define E2_STEP_PIN 36
#define E2_DIR_PIN 34
#define E2_ENABLE_PIN 30
#define E2_CS_PIN 44
//mpcnc


 

Note that I had to remove the comments from the lines above - Othervise it trew an error pointing at the first ā€œ//ā€ letter… wierd

//Kalle

 

 

Hm, it didn’t work… None of the axis allowed backwards movement, and only one of the x motots moves…

The marlin 1.1 version works. I don;t have time to work on the 2.0 today. They are doing a huge makeover on it again including adding the ability to set extruders to zero so it is kind of a waste to fix a problem that they have scheduled to fix.

https://www.v1engineering.com/wp-content/uploads/2017/08/DualDual_1_1_5.zip

Thanks, will try that!

Just came across this board today and immediately thought of this project when I saw it. Have you thought about trying to use this to help with getting the MPCNC as a 3D printer working with this autosquaring system?

RAMPSXB

It’s $40 + shipping, so it’s on the pricier side, but it adds 4 additional stepper motors, as well as a ton of other things and allows you to keep your lcd screen. Interested in hearing what you guys think about it.

If you need another driver you can add in a stepper driver to the pins directly without the need for a shield. It looks good enough but 4 extra is excessive and kinda expensive.

Karl, I have updated and fixed all the dual firmware. I hope. It was missing the pins as you and Heffe found and it looks like some other code was gone from the X axis but fixed last night.

So all my github stuff looks good. I have updated all my printers and will test the dual firmware on a Rambo later, and a ramps as soon as I can find a spare.

Marlin 2 looks to be really solid now I don’t have to do any LCD tweaks to get it working anymore and Archim2 works now as well. I saw a mention of the final 1.1 release was due any day, so hopefully this will all get easier to maintain and then the zero extruder code will get pushed!

Nice work!

What’s the main benefits of marlin 2 VS 1 if I’m on the arduino/Ramps?

For right now I will just say, not much. The dual 1.1 firmware you are using isn’t that old. In general with Marlin, if it works don’t update it. They have been fixing all sorts of little issues and cleaning up code but for the most part it doesn’t effect us.

Would that RAMPSXB board work to add full dual dual functionality on the MiniRambo? Also leaving room for an extruder or two?

Should, never used one though.