Welcome! Log In Create A New Profile

Advanced

Newbie Help Needed - Change Stepper Driver

Posted by trdcelica 
Newbie Help Needed - Change Stepper Driver
February 04, 2014 10:45PM
Hi guys,

I posted the start of my problem in the General part of the forum, now I am hoping to move it here for more detailed help. I am new to the Reprap world and am finishing my first build of a Prusa i3. I have noticed my extruder motor is not even close to working properly. Upon further testing, it is apparent the stepper driver is bad for the extruder motor.

I have RAMPS 1.4 with Marlin software. I have a total of 5 stepper drivers and four are being used. My question is, how do I configure the software to treat the unused stepper driver for the extruder? I am pulling my hair out. This is probably a basic question but I searched all over and can't find an answer! Please help if you can!!!! I need it!!!
Re: Newbie Help Needed - Change Stepper Driver
February 05, 2014 06:08AM
Just edit your pins.h

In more detail.

In configuration.h you set motherboard = 33
Find that in pins.h starts at [github.com]
The extruder pins are defined [github.com]

so take

#define E0_STEP_PIN 26
#define E0_DIR_PIN 28
#define E0_ENABLE_PIN 24

#define E1_STEP_PIN 36
#define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30

and make it

#define E0_STEP_PIN 36
#define E0_DIR_PIN 34
#define E0_ENABLE_PIN 30

#define E1_STEP_PIN 26
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 24

Save, compile and upload.

Now E1 and E0 are swapped over.

Edited 1 time(s). Last edit at 02/05/2014 06:11AM by Dust.
Re: Newbie Help Needed - Change Stepper Driver
February 05, 2014 06:34AM
Thanks!!!!!!! The example was perfect!!!!
Re: Newbie Help Needed - Change Stepper Driver
February 05, 2014 07:37AM
You are a GENIUS! FIXED My PROBLEM!!!!!!!!!!!!!!

THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Re: Newbie Help Needed - Change Stepper Driver
February 05, 2014 10:18AM
Why didn't you just move the extra stepper driver into the socket where the bad one is. It is not necessary to have all of the stepper drivers in place - only the ones you are using.
Re: Newbie Help Needed - Change Stepper Driver
February 05, 2014 08:52PM
wondered that myself, and presumed their mega has bad io lines, or the board inter connects are bung. So I answered presuming they know what they wanted.

They seem happy with the results. So all good.
Sorry, only registered users may post in this forum.

Click here to login