Replacing GTM32 pro board by GT2560 RevB

Post Reply
Tparent
Posts: 39
Joined: Sun Sep 30, 2018 3:54 pm

Replacing GTM32 pro board by GT2560 RevB

Post by Tparent » Fri Aug 16, 2019 6:27 am

I'm currently replacing the GTM32 pro by a GT2560 RevB.

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
add

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
add

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
add

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
Remark : don't ask me why, but when you compile the version Marlin 1.1.8 (available in firmware section), the compiler is selecting the pinMECRETOR.h as reference (and not the pin_GT2560_REVB)

I'm waiting for the Molex plug to be soldered on E1 and E2 and will publish the final wiring/result

;)
i3 B + i3 C + i3 M201 + A10 + A10m + A30
(+3 x Kossel)
Mostly PLA

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Replacing GTM32 pro board by GT2560 RevB

Post by William » Fri Aug 16, 2019 9:16 am

:D Thanks for your share.
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: Replacing GTM32 pro board by GT2560 RevB

Post by _kaktus_ » Fri Aug 16, 2019 2:07 pm

Hi.
:mrgreen:

One note, the GT2560, regardless of the version, has an 8-bit µC (ATmega2560-16AU).
The 16 symbol in the designation indicates the maximum core clock rate. The remaining letters define the hardware version and IC package type..

Device Overview

That's an interesting idea.
You will probably be modifying the firmware and that is why you take this step. :idea:

I love the people who modify this printer in every way possible. :D

You have to present the results of your experiment. :!:
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Tparent
Posts: 39
Joined: Sun Sep 30, 2018 3:54 pm

Re: Replacing GTM32 pro board by GT2560 RevB

Post by Tparent » Sun Sep 01, 2019 6:33 am

I believe that I have completed the challenge :)

Still the need to solder 2 connector on the board and assemble one plug for the second Z stepper (option Z2 has is dedicate A4988 driver : DUAL Z in Marlin)

Also discovered the two last pin values to obtain a full map of available pins (see above):
- #define TEMP_2_PIN 8
- #define HEATER_2_PIN 2

Will post the full setup + Marlin 2.0 config soon

Thierry
i3 B + i3 C + i3 M201 + A10 + A10m + A30
(+3 x Kossel)
Mostly PLA

Post Reply