Jump to content
Ultimaker Community of 3D Printing Experts
printhead

Burned out Driver: Swap Y-Axis with E2-Axis

Recommended Posts

My UM2 is not happy :(

I've managed to fry the stepper driver for the Y-Axis. Pretty clear case, the PCB is charred where the magic smoke escaped from the chip.

There is an unused axis for a second extruder (E2) on the board...

I've quickly looked at the code, It looks like I could just swap the STEP_PIN, DIR_PIN, and ENABLE_PIN entries in pins.h for MOTHERBOARD==72 (STOP_PIN should probably remain the same, I guess thats the end-switch). I'd rather not use a custom compiled firmware, but its cheaper than a replacement board.

I'd appreciate if someone more familiar with Marlin could tell me if there is something else I should do, or if this this a stupid idea for some reason.

Thanks,

Stefan

Edited by Guest

Share this post


Link to post
Share on other sites

seconding, could someone elaborate on exactly what to change? i modified the lines in the area i linked (swapping y for e1) but am unable to get it working. connecting the y motor to the x axis and moving it via printrun works fine so its definitely the driver.

 

https://github.com/Ultimaker/Ultimaker2Marlin/blob/master/Marlin/pins.h#L986

Share this post


Link to post
Share on other sites

@TOMTFX - you copied the 3 pins from E1 (the values 47,48,49) into Y pins?  So for example you left the min/max pins alone but changed the 31 to 49 and the 29 to 48.  Are you sure you left the 26 and 28 alone?

 

Then you built Marlin successfully?  And then you downloaded it onto your printer?  And then rebooted and did a FACTORY RESET?  (factory reset shouldn't matter but some settings (I think not pins) are stored on the eeprom and you need to do a factory reset sometimes to get everything copied properly from firmware to eeprom)?  And you also remembered to move the Y cable to the E1 connector?

 

And then what?  The Y axis refuses to move?

 

@tinkergnome - is there some step I skipped?  Is there some other code he has to edit other than pins.h?

 

 

Share this post


Link to post
Share on other sites

OH!  I think I know the problem.  Many UM2 PCBs were shipped without the second extruder driver.  They simply did not solder on the chip for E1.  Look at your motherboard carefully - the stepper driver chips are somewhat prominent.  Square chips.  There is X,Y,Z,E0,E1 so 5 identical connectors - there should be 5 identical chips near each of these connectors except the one for E1 may be missing.

Share this post


Link to post
Share on other sites

Thanks for the response :) here is the code as i have edited it. it is on motherboard==7

 

#define Y_STEP_PIN 49
#define Y_DIR_PIN 47
#define Y_MIN_PIN 26
#define Y_MAX_PIN 28
#define Y_ENABLE_PIN 48

 

and

 

#define E1_STEP_PIN         31
#define E1_DIR_PIN          33
#define E1_ENABLE_PIN       29

 

on verifying i get this, but it does compile

 

sketch/SdFatUtil.cpp:29:13: warning: type of '__bss_end' does not match original declaration
 extern int  __bss_end;
             ^
sketch/Marlin_main.cpp:292:23: note: previously declared here
   extern unsigned int __bss_end;
                       ^
Sketch uses 117350 bytes (46%) of program storage space. Maximum is 253952 bytes.
Global variables use 5935 bytes (72%) of dynamic memory, leaving 2257 bytes for local variables. Maximum is 8192 bytes.

 

 

upon uploading and running i get the first run wizard and are prompted to run first startup, z axis homes as does x axis. slightly after this the printer throws er07 when the switch isnt pressed as the motor does not move.

 

thanks again!

Share this post


Link to post
Share on other sites

It's been a while, but I did find the code change I've made back then:

 

https://github.com/smurn/Ultimaker2Marlin/commit/425f89ecc549e8feb6db6349525146e957f7d45f

 

The firmware has changed since then, of course, but maybe this still useful. Those were the only changes I've made, and the printer has been working just fine the last two years.

Share this post


Link to post
Share on other sites
1 hour ago, printhead said:

It's been a while, but I did find the code change I've made back then:

 

https://github.com/smurn/Ultimaker2Marlin/commit/425f89ecc549e8feb6db6349525146e957f7d45f

 

The firmware has changed since then, of course, but maybe this still useful. Those were the only changes I've made, and the printer has been working just fine the last two years.

thanks for this, it seems to be the same changes i made save for the fact that there are 2 endstop pins for each axis now.

48 minutes ago, gr5 said:

Did you check to see if there is no driver for the E1 connector?

i did, there is most certainly a square chip and associated circutry to match the other 4 behind the e1 plug

Share this post


Link to post
Share on other sites
3 hours ago, gr5 said:

@tinkergnome - is there some step I skipped?  Is there some other code he has to edit other than pins.h?

 

Wait a minute... @Julian28010 asked for an UMO+, but now we are talking about the UM2-Firmware? I'm pretty sure, that the UMO+ uses the same electronics board, but a different firmware (and display), right?

 

18 minutes ago, TOMTFX said:

thanks for this, it seems to be the same changes i made save for the fact that there are 2 endstop pins for each axis now.

 

If you own an UM2, you made the changes on the wrong place. Search for MOTHERBOARD == 72

 

In case of an UMO+ it's the wrong firmware, it should be this one: https://github.com/Ultimaker/Marlin/tree/Marlin_UM_Original_Plus

Share this post


Link to post
Share on other sites

https://github.com/Ultimaker/Ultimaker2Marlin/blob/master/Marlin/pins.h#L1156

 

this was the right bit to change in the end for anyone who finds this like i did. i was simply doing the wrong one.

 

y changes

#define Y_STEP_PIN 49
#define Y_DIR_PIN 47
#define Y_STOP_PIN 26
#define Y_ENABLE_PIN 48

 

e1 changes

#define E1_STEP_PIN         32
#define E1_DIR_PIN          33
#define E1_ENABLE_PIN       31

 

cheers for the help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • Our picks

    • Architect Design Contest | Vehicles.
      We're open for entries! - Design and submit your 3D designs of architectural entourage - vehicles - for a chance to win a large filament pack. Presenting an idea, an architectural design or something as big as an urban project isn't easy. A scaled model can really help to get your idea across.
        • Like
      • 19 replies
    • What The DfAM?
      I'm Steve Cox, an experienced engineer familiar with 3D printing. I wanted to share some DfAM guidelines with this community to help and make stronger parts.
      I'm also an Autodesk Certified Instructor for Fusion 360, so many of the images in ...
        • Thanks
        • Like
      • 18 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!