Page 1 of 2
pin layout for gt2560 board
Posted: Thu Jul 28, 2016 7:56 am
by E_rik
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
Re: pin layout for gt2560 board
Posted: Thu Jul 28, 2016 11:25 am
by William
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
Re: pin layout for gt2560 board
Posted: Fri Jul 29, 2016 6:37 am
by E_rik
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?
Re: pin layout for gt2560 board
Posted: Fri Jul 29, 2016 9:13 am
by William
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 (60.4 KiB) Viewed 23781 times
Re: pin layout for gt2560 board
Posted: Fri Jul 29, 2016 12:29 pm
by E_rik
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.
Re: pin layout for gt2560 board
Posted: Fri Jul 29, 2016 2:20 pm
by William
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
Re: pin layout for gt2560 board
Posted: Fri Jul 29, 2016 9:02 pm
by E_rik
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.
Re: pin layout for gt2560 board
Posted: Sat Jul 30, 2016 10:07 am
by William
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.
Re: pin layout for gt2560 board
Posted: Sun Jul 31, 2016 3:38 am
by E_rik
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.
Re: pin layout for gt2560 board
Posted: Mon Aug 01, 2016 10:20 am
by William
Here is the diagram:
- QQ截图20160801101457.jpg (6.2 KiB) Viewed 23724 times
- QQ截图20160801101444.jpg (15.13 KiB) Viewed 23724 times