- November 26, 2017 at 6:15 am #48509
Yann, you need to install the library u8glib. In Arduino, there’s a library manager and you can search for it and install it.
Are you a newbie to cnc or just Arduino? The dual endstops is an advanced CNC tool and not required for most workpieces. You can square the machine before powering the motors and it will stay square through the operation. The dual endstops just automates that.January 16, 2018 at 12:03 pm #51102
finally getting back to my MPcnc, which i use mostly for 3d printing.. jus came across this dual endstop, auto squaring..
i’m correct, that this is not possible for 3d printing.. as one looses the use of a exturder. (ramps 1.4 board)January 16, 2018 at 12:08 pm #51106
Correct, not without wiring in another external stepper driver and editing the firmware.February 11, 2018 at 1:34 pm #52889
I am getting an error when compiling the “MPCNC_Rambo_T8_16T_LCD_DualEndstop” it sais:
In file included from sketch\src\inc/MarlinConfig.h:29:0,
sketch\src\inc/../pins/pins.h:762:8: error: #error “No E stepper plug left for Y2!”
#error “No E stepper plug left for Y2!”
In file included from sketch\src\inc/MarlinConfig.h:34:0,
sketch\src\inc/SanityCheck.h:296:4: error: #error “Y_DUAL_STEPPER_DRIVERS requires Y2 pins (and an extra E plug).”
#error “Y_DUAL_STEPPER_DRIVERS requires Y2 pins (and an extra E plug).”
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
ny idea of what that could be?
and when trying the none dual endstop version for Ramps, I get an error saying: fork/exec C:\Program Files\Arduino\hardware\tools\avr/bin/avr-gcc.exe: The filename or extension is too long.
I guess it’s not my night… Is marlin 2.0 the way to go for auto-squaring, or is there a 1.1x version out there?
Older version RC7 works great and compiles without any problems!
/KalleFebruary 11, 2018 at 1:45 pm #52890
You have to define pinouts for the E2 driver. If you’re using E0 for one, then you need to set those pins to something else, like 70 so it doesn’t interfere.
I think the latest beta version of Arduino is needed to compile 2.0. the latest stable Marlin had the changes, but AFAIK, Ryan does not have a preconfigured version for it.February 11, 2018 at 2:01 pm #52893
I thought that was allready done in the “DualEndstop”-version?
Where is E2 defined? pins_RAMPS.h, pins.h, or one of the config-files?
is this what i’m suppose to change?:
#define E0_STEP_PIN 70 //26
#define E0_DIR_PIN 70 //28
#define E0_ENABLE_PIN 70 //24
#define E0_CS_PIN 70 //42
#define E1_STEP_PIN 26 //36
#define E1_DIR_PIN 28 //34
#define E1_ENABLE_PIN 24 //30
#define E1_CS_PIN 42 //44
Thanks for quick reply!
/KalleFebruary 11, 2018 at 2:52 pm #52896
That looks close, but you also need E2. X2 will move to E1 and Y2 will move to E2.February 11, 2018 at 2:56 pm #52897
Are you using ramps or not? Because this change is right for ramps (which is when you got the extension too long error). If you’re not using ramps, then the pins file will be different.
To fix the too long error, you have to use the latest version of Arduino. I haven’t fixed that error myself. I use Linux. I’ve just seen Ryan suggest that in these forums. IIRC, he’s also suggested something about moving the project to C:/tmp/ out something smaller.February 11, 2018 at 3:05 pm #52898
Yes! Ramps 1.4..
So, is there an example somewhere that shows thet correct settings for pinout ramps with dual x and Y?
Is there a pinout map i have to find to sets the right pina?
/kFebruary 11, 2018 at 4:12 pm #52900
#define E0_STEP_PIN 70 //26 #define E0_DIR_PIN 70 //28 #define E0_ENABLE_PIN 70 //24 #define E0_CS_PIN 70 //42 #define E1_STEP_PIN 26 //36 #define E1_DIR_PIN 28 //34 #define E1_ENABLE_PIN 24 //30 #define E1_CS_PIN 42 //44 //mpcnc #define E2_STEP_PIN 36 #define E2_DIR_PIN 34 #define E2_ENABLE_PIN 30 #define E2_CS_PIN 44 //mpcncFebruary 11, 2018 at 4:16 pm #52901
@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 user thanked author for this post.February 11, 2018 at 5:04 pm #52905
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.February 11, 2018 at 6:50 pm #52913
Dui, ni shuo de duiParticipant
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?February 11, 2018 at 6:56 pm #52915
Not for printing unless you wire in another Driver.February 11, 2018 at 7:08 pm #52917
Dui, ni shuo de duiParticipantNot 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?February 11, 2018 at 8:02 pm #52925Is 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.February 11, 2018 at 8:04 pm #52926Heffe 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 think your GitHub has it wrong:
That should have the E2 pins defined, right?February 11, 2018 at 8:08 pm #52927
ahhhh man…its wrong.February 11, 2018 at 10:33 pm #52939
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
#define E0_CS_PIN 70
#define E1_STEP_PIN 26
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 24
#define E1_CS_PIN 42
#define E2_STEP_PIN 36
#define E2_DIR_PIN 34
#define E2_ENABLE_PIN 30
#define E2_CS_PIN 44
Note that I had to remove the comments from the lines above – Othervise it trew an error pointing at the first “//” letter… wierd
//KalleFebruary 12, 2018 at 1:11 pm #52994
Hm, it didn’t work… None of the axis allowed backwards movement, and only one of the x motots moves…February 12, 2018 at 1:14 pm #52995
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.February 12, 2018 at 1:16 pm #52996February 12, 2018 at 10:38 pm #53030
Thanks, will try that!February 16, 2018 at 7:43 pm #53251
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?
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.February 16, 2018 at 7:50 pm #53253
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.February 19, 2018 at 11:30 am #53356
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!February 19, 2018 at 1:20 pm #53361
What’s the main benefits of marlin 2 VS 1 if I’m on the arduino/Ramps?February 19, 2018 at 2:03 pm #53364
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.March 15, 2018 at 11:49 am #55226
Would that RAMPSXB board work to add full dual dual functionality on the MiniRambo? Also leaving room for an extruder or two?March 15, 2018 at 12:18 pm #55231
Should, never used one though.
You must be logged in to reply to this topic.