Wiring dual E3D's

The RAMBo board is finally here, and here's a place to talk about it!
Post Reply
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Wiring dual E3D's

Post by atoff »

I'm a little bit confused about how to wire these two hotends. With the stock, single hotend, Heat 1 is used for the peek fan, but Heat 1 should be used for the hotend, no? Common sense tells me to connect Hotend #1 to Heat 0, Hotend #2 to Heat 1. I was going to leave the layer fan connected to Fan 0. Now I need to connect the two fans for the heatsinks. I would assume Fan 0 and Fan 1 would be where each of the heatsink fans connected to, but I'd want these to always be on, so perhaps just connect them directly to the PSU?

Also, would I need to make changes to the firmware? The way Heat 1 currently function, for the peek fan, wouldn't work with a hotend. I'm confused.
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Wiring dual E3D's

Post by Polygonhell »

For historical reasons, with the SeeMeCNC firmware, you would need to connect the second hotend to Fan 1, but it isn't that simple, to get dual extruders working you need to make changes in configuration.h and pins.h in the firmware. Your best bet if you're not completely comfortable with figuring out the changes yourself is to find one of the several dual extruder threads on the boards and start there.

By default Heat1 is used for the PEEK fan, this is because when I did the original repetier configuration for the RMax, my PEEK fan wire wouldn't reach Fan1 without messing around with stripping wire, and when John did the official release he apparently copied what I had. All the mosfet outputs are identical on the RAMBO board, they just happen to be labelled fan and heat.
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Thanks, it clears things up a bit, but I'm still very confused. I tried searching for threads about this, but the most I could find that went into detail about the configs was Foshon's thread here: http://forum.seemecnc.com/viewtopic.php?f=36&t=2152, but he only explains how to configure the extruder.

From what you're saying, it seems the pin configuration for Fan 1 and Heat 1 are swapped... so if I edit pins.h and swapped pins... i.e.

#define HEATER_1_PIN 7
#define FAN_PIN 8

to

#define HEATER_1_PIN 8
#define FAN_PIN 7

I should be able to use Heat1 for the second hotend, right? But according to the pin chart http://reprap.org/wiki/Rambo_development,

Pin 7 is already heat1, and Pin8 for Fan0. I'm also confused about digital vs analog. Because there's pin 7 digital for Heat1, but also pin 7 analog for Thermistor 3, Analog-Ext 2. Are the Mosfet outputs all digital?

I've gone through pretty much all the threads I could find on Dual Extruders / Hotends, nothing that actually describes how to configure pins.h and configuration.h.
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Wiring dual E3D's

Post by Polygonhell »

I don't use the official firmware, so I can't comment on specific, all I know is when I set mine up, there were several changes to pins.h. I had to reverse out the changes I had made which was to set Heater 1 to -1 and Fan to 7 (I think), I then disabled the PEEK fan in configuration.h where in my firmware it was explicitly set to pin 7.
There is a missing extruder configuration in pins.h and the second extruder thermistor was also mapped incorrectly to the bed thermistor.

You'll also need to enable 2 extruders in configuration.h, set up the values including the PIN mappings for it in configuration.h, and perhaps not obviously wipe your EEPROM and copy the values back into it after downloading.

You need to be methodical and test this stuff as you go, or you'll end up with a destroyed hotend or worse, the 40W heater cartridges will easily hit 500C+ if the thermistor is set yo the wrong pin for example.
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

I see, thanks, making a bit more sense, as it's collaborating with Mhackney's notes here: http://forum.seemecnc.com/viewtopic.php ... =200#p6043

Yes, Temp1 was set to the heater bed (pin 3)... odd.

So, I'll Leave HEATER_1_PIN to 7
Change TEMP_1_PIN to 1

then disable the fan in configuration.h

with #define EXT0_EXTRUDER_COOLER_PIN -1

I'll connect the fans directly to 12v. They'll always need to be on anyway. I do like how the fan currently turns off after it dips below 50c, but really, that doesn't matter much.

And of course, the next step will be to look into enabling the 2 extruders in configuration.h (which is described in Foshon's thread, so should be good to go there). I'll need to look into the missing info in pins.h for the extruder config.

Learning learning... sometime's it's better not to be handed a clean step-by-step. :D
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Wiring dual E3D's

Post by Polygonhell »

Even with those changes you might find the second extruder stepper doesn't move, there is a line in pins.h that looks like this

#define E0_PINS ORIG_E0_STEP_PIN,ORIG_E0_DIR_PIN,ORIG_E0_ENABLE_PIN,E0_MS1_PIN,E0_MS2_PIN,
#define E1_PINS

You will probably need to change to look like this

#define E0_PINS ORIG_E0_STEP_PIN,ORIG_E0_DIR_PIN,ORIG_E0_ENABLE_PIN,E0_MS1_PIN,E0_MS2_PIN,
#define E1_PINS ORIG_E1_STEP_PIN,ORIG_E1_DIR_PIN,ORIG_E1_ENABLE_PIN,E1_MS1_PIN,E1_MS2_PIN,
bubbasnow
ULTIMATE 3D JEDI
Posts: 1061
Joined: Fri Aug 02, 2013 4:24 pm
Location: Dayton, WA

Re: Wiring dual E3D's

Post by bubbasnow »

atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Sweet, thank you both, just need to do a bit more wiring, solder the XT60 connectors to my hotends, then I'll get working on it! :) I created a guide for a 1/2" PVC pipe to run the wires, so it's starting to get there.
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Okay, I've run into another problem. For my second EZStruder, I'm trying to connect a Kysan 42BYGH4803 motor. I believe I've connected the wires correctly, and I'm trying to test in place of the original motor (so I have it wired in place of the original Wantai motor)... but I'm getting nothing but clunking from the motor.

The datasheet for the Kysan is here: https://ultimachine.com/sites/default/f ... rMotor.pdf
The Wantai, I believe is this: http://www.wantmotor.com/ProductsView.asp?id=155&pid=80

I basically matched the way it's wired, so that I have Green Red Blue Yellow (C,B,D,A) for the original, and Green Yellow Blue Red (C,B,D,A) for the Kysan.

I didn't change the motor current or anything like that just yet, but I did go into configuration.h to look at the values.

value set for the original wantai motor is 200, which equates to rougly 1.1-1.2A I believe. Though the motor is rated for 2.5A
The Kysan is rated for 1.5A, so it should work just fine with the settings as is... so am I missing something?
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Wiring dual E3D's

Post by Eaglezsoar »

atoff wrote:Okay, I've run into another problem. For my second EZStruder, I'm trying to connect a Kysan 42BYGH4803 motor. I believe I've connected the wires correctly, and I'm trying to test in place of the original motor (so I have it wired in place of the original Wantai motor)... but I'm getting nothing but clunking from the motor.

The datasheet for the Kysan is here: https://ultimachine.com/sites/default/f ... rMotor.pdf
The Wantai, I believe is this: http://www.wantmotor.com/ProductsView.asp?id=155&pid=80

I basically matched the way it's wired, so that I have Green Red Blue Yellow (C,B,D,A) for the original, and Green Yellow Blue Red (C,B,D,A) for the Kysan.

I didn't change the motor current or anything like that just yet, but I did go into configuration.h to look at the values.

value set for the original wantai motor is 200, which equates to rougly 1.1-1.2A I believe. Though the motor is rated for 2.5A
The Kysan is rated for 1.5A, so it should work just fine with the settings as is... so am I missing something?
The pairs on the Kysan are RED - GREEN and Yellow - Blue Try that configuration and everything should work fine.
If the motor runs backward then you can just swap the Red - Green.
“ Do Not Regret Growing Older. It is a Privilege Denied to Many. ”
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Just tried that, ignoring how the original is wired (maybe the wire colors on the data sheet for the original Wantai motors are wrong), and it does work properly, but immediately upon plugging it in it squeals, regardless if it's turning. High pitch squeal the whole time.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Wiring dual E3D's

Post by Eaglezsoar »

atoff wrote:Just tried that, ignoring how the original is wired (maybe the wire colors on the data sheet for the original Wantai motors are wrong), and it does work properly, but immediately upon plugging it in it squeals, regardless if it's turning. High pitch squeal the whole time.
You can detect the pairs to use with a volt-ohm meter if you think the diagram is wrong.
“ Do Not Regret Growing Older. It is a Privilege Denied to Many. ”
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Yeah, looks like the colors in the datasheet I have were wrong. The Kysan and Wantai actually have the exact same colors / pairs. But still getting the high pitched squealing. I think at this point it's a possible issue with current? But like I said, should be fine as is, since the default is under the current the motor handles.

Thanks for the help by the way!

Also, do you happen to know what the M-code is to test the current? I searched and found this: M908 P<address> S<value> : Set stepper current for digipot (RAMBO board)

The S value I understand, but I'm not sure what to set for the P value for the default extruder stepper.

I believe I want to set the digipot to 147 for this motor... so, M908 P<PotID, which I don't know> S147

edit: Okay, I think it's P3. I'm assuning 0 = x, 1 = y, 2 = z, 3 = Ext1 4 = Ext2. Will test now.
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Okay, the command worked, at 147 value the squealing isn't as loud, but it's still significant. The back of the motor also gets pretty warm after just a few clicks of the extrude button. 147 value equates to about 1.2A (80%). Not really sure what's going on, setting it lower and the motor becomes weak... weaker than the Wantai.
Polygonhell
ULTIMATE 3D JEDI
Posts: 2417
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: Wiring dual E3D's

Post by Polygonhell »

The value to power thing is only approximate, the actual delivered power depends on the coil resistance of the motor.
Do you know which of the wantai motors you happen to have, they are all over the place on that page.
User avatar
Eaglezsoar
ULTIMATE 3D JEDI
Posts: 7159
Joined: Sun Apr 01, 2012 5:26 pm

Re: Wiring dual E3D's

Post by Eaglezsoar »

atoff wrote:Okay, the command worked, at 147 value the squealing isn't as loud, but it's still significant. The back of the motor also gets pretty warm after just a few clicks of the extrude button. 147 value equates to about 1.2A (80%). Not really sure what's going on, setting it lower and the motor becomes weak... weaker than the Wantai.
The M908 usage is correct. The motors do get warm. You seem to have a handle on what to do and I wish I could advise further.
“ Do Not Regret Growing Older. It is a Privilege Denied to Many. ”
atoff
Printmaster!
Posts: 277
Joined: Sun Mar 30, 2014 5:24 pm

Re: Wiring dual E3D's

Post by atoff »

Thanks, I'll play around with it after all is connected, but it seems like it's connected correctly now.
Post Reply

Return to “RAMBo”