doggington
Member
Hi
its been a long time since I've been on this forum.
I have a little project in my head to control a Dividing Head or rotary table on my milling machine with a stepper motor. (specifically to make clock gears).
the only info I can find is related to Arduino. I have managed in the past to write programs for other projects by starting with some code that I have found here
from other similar projects and making it fit mine by trial and error. not the best I know but it works for me!
Can anyone point me in the direction of some code that I can get started with. Looking at the driver (TB6600) I have three inputs to control ENA (on/OFF) I guess,
DIR, (direction) and PUL ( pulse ). At this stage all I need is to be able to do is input a number of pulses to achieve a precise amount of rotation.
Arduino seems to have all that I need but I know nothing of C and C++. plus I have several picaxe project boards and a passable knowledge of what I am doing with the editor!
Many thanks in advance
its been a long time since I've been on this forum.
I have a little project in my head to control a Dividing Head or rotary table on my milling machine with a stepper motor. (specifically to make clock gears).
the only info I can find is related to Arduino. I have managed in the past to write programs for other projects by starting with some code that I have found here
from other similar projects and making it fit mine by trial and error. not the best I know but it works for me!
Can anyone point me in the direction of some code that I can get started with. Looking at the driver (TB6600) I have three inputs to control ENA (on/OFF) I guess,
DIR, (direction) and PUL ( pulse ). At this stage all I need is to be able to do is input a number of pulses to achieve a precise amount of rotation.
Arduino seems to have all that I need but I know nothing of C and C++. plus I have several picaxe project boards and a passable knowledge of what I am doing with the editor!
Many thanks in advance