The Shop > Electronics & IC Programing
Stepper driver connections
raynerd:
Hi guys, hoping someone can help.
I'm running a stepper motor on an expensive driver from an arduino by connected a pulse line to the step input and a direction line to the dir input and tying the common to the arduino ground- simples and it works!! Rather than waste an expensive 4.2a driver to run a 1a none essential project, I purchased a cheaper tb6560 driver without looking properly!!
http://forum.hobbycomponents.com/viewtopic.php?f=39&t=1371#p2687
The input lines I believe are based on a pc breakout! I can't get my head around it... The inputs are
Cw+
Cw-
CLK+
CLK -
En+
En-
I'm not sure how to connect it despite some form of an example in the link above! I just have two wires, dir and pulse...where do I stick um' ?? :doh:
Any help appreciated!
awemawson:
Presumably CLK is the 'Step', 'CW' is Clockwise so direction, and 'EN' is enable. But why a + and a - version of each? I doubt that they are balanced signals so >>maybe<< the - versions are the common rail ie ground. Alternatively they could all be opto-isolated and the + - refer to the anode and cathode of the input LED of the isolator?
I would carefully trace the signals back from the green connector block - I bet they go to the ics next to it. Google the chip, download the data sheet, identify the pin they go to and you'll have your answer :thumbup:
John Rudd:
Chris,
If you look at the example, the -ve connections are all communed up........
This gives Step, Direction and Enable as the three inputs with a common shared with them giving four wires in total....
As you only have step and direction, the enable needs pulling high, so connect to a 5v supply via 10k resistor (you could wire it via a switch to stop the stepper)
Bluechip:
There are opto-couplers on pic2, bottom right. Little black dogsnobbers above the red DIL-switches.
One, the DIL-6, is a 4n35 ... :thumbup:
http://www.farnell.com/datasheets/1693303.pdf
The DIL-4 below it is almost certainly another, can't read what type it is .
Dave BC
raynerd:
Cheers guys!!!
So just to clarify:
CLK to my step pulse line
CK to my dir line
En+ to +5v from arduino
All the three opposite -ve pins join to a common ground between arduino grd and 12v motor supply gnd.
May as well double check before I make it go pop!
Thanks again. :mmr:
Navigation
[0] Message Index
[#] Next page
Go to full version