Code: Select all
/
// Steppers
//
#define X_STEP_PIN 37
#define X_DIR_PIN 39
#define X_ENABLE_PIN 35
#define Y_STEP_PIN 31
#define Y_DIR_PIN 33
#define Y_ENABLE_PIN 29
#define Z_STEP_PIN 25
#define Z_DIR_PIN 23
#define Z_ENABLE_PIN 27
#define E0_STEP_PIN 46
#define E0_DIR_PIN 44
#define E0_ENABLE_PIN 12
#define E1_STEP_PIN 49
#define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48
GT250 v3 schematic suggests the following:
Code: Select all
E0motor
EX_EN 51 PG0 (WR) = pin 12
EX_STP 41 PL6 = pin 46
EX_DIR 39 PL4(OC5B) PWM = pin 44
E1motor
A_EN 36 PL1(ICP5) = pin 48
A_STP 35 PL0(ICP4) = pin 49
A_DIR 37 PL2(T5) = pin 47
E2motor
E2_EN 25 PB6(OC1B/PCINT6) = pin 41
E2_STP 38 PL3(OC5A) PWM = pin 43
E2_DIR 40 PL5(OC5C) PWM = pin 45
- In software "E0_" variables refer to the pins of E2motor in the schematic, which matches silkscreened "extruder 2" print on the board.
- In software "E1_" variables refer to the pins of E1motor in the schematic, which matches silkscreened "extruder 1" print on the board.
- In software "E2_" variables to the pins of E0motor in the schematic, which matches silkscreened "extruder 0" print on the board.
As "extruder0" does not have a connector soldered, it is omitted from file "pins_GT2560_v3.h"
As I need 3 extruders defined I had to add "extruder0" manually:
Code: Select all
#define E2_STEP_PIN 43
#define E2_DIR_PIN 45
#define E2_ENABLE_PIN 41