Why downgrade the board performance by regressing to a 16 bits ?
To be honest, I'm more looking for versatility (be able to print and laser engrave) than speed/performance.
Why the revB ? Because the connectors are mainly compatible with the M201 original plug.
My first discovery :
- pinGT2560 rev B (seems all the revision) doesn't contain all the pins definition to be able to use the 3 extruders / fan / temp / heater sensors
After several investigation, it seems that the following is to most accurate (matching the schematic) /complete :
Code: Select all
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "GT2560 VB"
#endif
//
// Limit Switches
//
#define Z_MIN_PIN 30
#define Z_MAX_PIN 32
Code: Select all
#define X_MIN_PIN 22 //22
#define X_MAX_PIN 24 //24
#define Y_MIN_PIN 26 //26
#define Y_MAX_PIN 28 //28
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 //43
#define E0_DIR_PIN 44 //45
#define E0_ENABLE_PIN 12 //41
#define E1_STEP_PIN 49
#define E1_DIR_PIN 47
#define E1_ENABLE_PIN 48
Code: Select all
#define E2_STEP_PIN 43 //physical 41
#define E2_DIR_PIN 45 //physical 39
#define E2_ENABLE_PIN 41 //physical 51
Code: Select all
//
// Temperature Sensors
//
#define TEMP_0_PIN 11 //8
#define TEMP_1_PIN 9
#define TEMP_2_PIN -1 // 1 need to be verified
#define TEMP_BED_PIN 10
//
// Heaters / Fans
//
#define HEATER_0_PIN 10 //2
#define HEATER_1_PIN 3
#define HEATER_2_PIN -1 // 1 need to be verified
#define HEATER_BED_PIN 4
#define FAN_PIN 9
Code: Select all
#define FAN1_PIN 8
#define FAN2_PIN 7
Code: Select all
//
// Misc. Functions
//
#define LED_PIN 6
#define PS_ON_PIN 12
#define KILL_PIN -1
#define SUICIDE_PIN 54 // PIN that has to be turned on right after start, to keep power flowing.
#define SERVO0_PIN 11 // 13 untested 3Dtouch
#ifdef LIGHT_SUPPORT
//#define LIGHT_SWITCH_PIN 21
#define LIGHT_PIN 6
#endif
//
// SD
//
#define SDSS 53
#define SD_DETECT_PIN 38
#define SDPOWER -1
//
// LCD / Controller
//
#define BEEPER_PIN 18
#define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 17
#define LCD_PINS_D4 16
#define LCD_PINS_D5 21
#define LCD_PINS_D6 5
#define LCD_PINS_D7 36
#if ENABLED(NEWPANEL)
#define BTN_EN1 42
#define BTN_EN2 40
#define BTN_ENC 19
#endif
I'm waiting for the Molex plug to be soldered on E1 and E2 and will publish the final wiring/result
