Hi
I am newbie and I am working on my first robot but I am stuck, I bought canakit stepper motor but cannot find any instructions to connec the canakit steppe motor;
Please Help
Gupta
Hi
I am newbie and I am working on my first robot but I am stuck, I bought canakit stepper motor but cannot find any instructions to connec the canakit steppe motor;
Please Help
Gupta
ok, I`v just had a quick look at the data sheet, and it seems to be a simple Clock and Direction type of driver, these are really nice (and simple) to work with! 
a basic algorythm to test it would something like this:
Direction pin 12 = out
Direction pin 13 = out
delay = 10
Start:
pin 12 = 0
gosub step
pin 12 = 1
gosub step
goto start:
step:
for clock = 0 to 200
pin 13=1
wait delay/2 ms
pin 13=0
wait delay/2 ms
next
return
this will turn you motor around in one direction for 200 steps, and then reverse the direction and turn the other way for 200 steps.
this will be done at a 100Hz rate.
also you`ll have to turn this into arduino code as it`s just a raw basic code at the moment, but it will work 
there is also an Enable pin (active low) on the chip diagram, I`m not sure if this is brought on the board you`re using at all, but if it is, you need to connect it to GND.
hope this helps!
ok, I`v just had a quick look at the data sheet, and it seems to be a simple Clock and Direction type of driver, these are really nice (and simple) to work with! 
a basic algorythm to test it would something like this:
Direction pin 12 = out
Direction pin 13 = out
delay = 10
Start:
pin 12 = 0
gosub step
pin 12 = 1
gosub step
goto start:
step:
for clock = 0 to 200
pin 13=1
wait delay/2 ms
pin 13=0
wait delay/2 ms
next
return
this will turn you motor around in one direction for 200 steps, and then reverse the direction and turn the other way for 200 steps.
this will be done at a 100Hz rate.
also you`ll have to turn this into arduino code as it`s just a raw basic code at the moment, but it will work 
there is also an Enable pin (active low) on the chip diagram, I`m not sure if this is brought on the board you`re using at all, but if it is, you need to connect it to GND.
hope this helps!