pin layout for gt2560 board

E_rik
Posts: 6
Joined: Thu Jul 28, 2016 7:51 am

pin layout for gt2560 board

Post by E_rik » Thu Jul 28, 2016 7:56 am

Hi guys,

I 'm trying to use a gt2560 without marlin, i have only 3 stepper motors which i want to control with the gt2560, no endstops or extruders.

Can i use the pin layout of the Ramps 1.4 for that?? http://reprap.org/wiki/RAMPS_1.4#Firmwa ... ssignments

To which pins are the X Y Z ramps connected?

thanks!

Erik

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

Re: pin layout for gt2560 board

Post by William » Thu Jul 28, 2016 11:25 am

E_rik wrote:Hi guys,

I 'm trying to use a gt2560 without marlin, i have only 3 stepper motors which i want to control with the gt2560, no endstops or extruders.

Can i use the pin layout of the Ramps 1.4 for that?? http://reprap.org/wiki/RAMPS_1.4#Firmwa ... ssignments

To which pins are the X Y Z ramps connected?

thanks!

Erik
Hi,
You can refer to the pin assignment for GT2560:
pins.zip
(14.26 KiB) Downloaded 2443 times
-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!

E_rik
Posts: 6
Joined: Thu Jul 28, 2016 7:51 am

Re: pin layout for gt2560 board

Post by E_rik » Fri Jul 29, 2016 6:37 am

Thanks but i can't open that file properly. It opens in Notebook and all the text is one big mess.

Do you have a better version of it or know a program to open it?

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

Re: pin layout for gt2560 board

Post by William » Fri Jul 29, 2016 9:13 am

E_rik wrote:Thanks but i can't open that file properly. It opens in Notebook and all the text is one big mess.

Do you have a better version of it or know a program to open it?
Hi,
You can find the "pins.h" in your own Marlin firmware and then open it in your notebook,which may work:
QQ截图20160729091047.jpg
QQ截图20160729091047.jpg (60.4 KiB) Viewed 23777 times
-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!

E_rik
Posts: 6
Joined: Thu Jul 28, 2016 7:51 am

Re: pin layout for gt2560 board

Post by E_rik » Fri Jul 29, 2016 12:29 pm

I can open the pins.h but i don't see the gt2560 board on the list, i searched for half an hour.

Is it the same pinmap as this 2560 board? This is a nice pin layout.

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

Re: pin layout for gt2560 board

Post by William » Fri Jul 29, 2016 2:20 pm

E_rik wrote:I can open the pins.h but i don't see the gt2560 board on the list, i searched for half an hour.

Is it the same pinmap as this 2560 board? This is a nice pin layout.
OK,i actully mean you can make a compare to the pins in "pins.h" of our GT2560 with your pin layout of the Ramps 1.4,and make a reference to the diference.
Here you can download a firmware for GT2560 board if you didn't have one:
http://www.geeetech.com/forum/viewtopic ... 20&t=17046
-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!

E_rik
Posts: 6
Joined: Thu Jul 28, 2016 7:51 am

Re: pin layout for gt2560 board

Post by E_rik » Fri Jul 29, 2016 9:02 pm

Sorry i forgot to post the pinout:

https://www.arduino.cc/en/Hacking/PinMapping2560

Is there a pinout like this from the gt2560 somewhere?

I would like to use it as an arduino with extra options for steppermotors, that's why i bought this board.

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

Re: pin layout for gt2560 board

Post by William » Sat Jul 30, 2016 10:07 am

E_rik wrote:Sorry i forgot to post the pinout:

https://www.arduino.cc/en/Hacking/PinMapping2560

Is there a pinout like this from the gt2560 somewhere?

I would like to use it as an arduino with extra options for steppermotors, that's why i bought this board.
Sorry,i have no idea what you exactly mean?The pinout you posted is the same as the pinout of GT2560,cuz the chip of GT2560 is Atmega2560.
-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!

E_rik
Posts: 6
Joined: Thu Jul 28, 2016 7:51 am

Re: pin layout for gt2560 board

Post by E_rik » Sun Jul 31, 2016 3:38 am

Do you have a diagram mapping the A4988 pins to the Atmega 2560 pins?

Right now i have only a battery 18V 3A and 1 stepper motor connected to the board. If i run a testprogram there are 3 red led's which flash during the program, the motor is not moving.

// Bounce.pde
// -*- mode: C++ -*-
//
// Make a single stepper bounce from one limit to another
//
// Copyright (C) 2012 Mike McCauley
// $Id: Random.pde,v 1.1 2011/01/05 01:51:01 mikem Exp mikem $

#include <AccelStepper.h>

// Define a stepper and the pins it will use
AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5
AccelStepper MyStepperX(AccelStepper::DRIVER, 54, 55);

void setup()
{ MyStepperX.setEnablePin(38);

// Change these to suit your stepper if you want
stepper.setMaxSpeed(100);
stepper.setAcceleration(20);
stepper.moveTo(500);
}

void loop()
{
// If at the end of travel go to the other end
if (stepper.distanceToGo() == 0)
stepper.moveTo(-stepper.currentPosition());

stepper.run();
}

This is the program that i run, do you think the motor on x-axis should move now? I measure 18V on the x-axis connector and also the ramps get warm but the motor won't run.

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

Re: pin layout for gt2560 board

Post by William » Mon Aug 01, 2016 10:20 am

Here is the diagram:
QQ截图20160801101457.jpg
QQ截图20160801101457.jpg (6.2 KiB) Viewed 23720 times
QQ截图20160801101444.jpg
QQ截图20160801101444.jpg (15.13 KiB) Viewed 23720 times
-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!

Post Reply