Page 1 of 2

Failed to use stepper motor driver.

PostPosted: Thu Nov 15, 2012 7:41 pm
by winson27
Referring to the topic above, I failed to drive my stepper motor with the driver. If I don't use UART, by sending pulse of 1000 ms into the pulse port, nothing happen? On and Off continuosly, what should i send in to control the rotation of stepper motor?? If I want to use arduino digital port like port 13 to send in the pulse, what kind of pulse or program should i use? Need help in urgent, Thanks.

Re: Failed to use stepper motor driver.

PostPosted: Thu Nov 15, 2012 8:28 pm
by zhenning
Have you check out the arduino stepper motor library: http://arduino.cc/en/Reference/Stepper :)

Re: Failed to use stepper motor driver.

PostPosted: Fri Nov 16, 2012 8:41 am
by winson27
But, now I am using SD02B and there's only 1 port for me to send in the pulse(not tx and rx), and after I read the user manual, I tried to send in the blinking pulse but the motor runs out of control, its like totally slipping, very high speed no matter what pulse I change~

Re: Failed to use stepper motor driver.

PostPosted: Fri Nov 16, 2012 10:09 am
by robosang
Do this motor driver have button for fast testing?

Re: Failed to use stepper motor driver.

PostPosted: Fri Nov 16, 2012 10:44 am
by Alen.ATLow
Slipping ?
Normal for stepper motor slipping, I check ->

Stepper motor coil resistance
Stepper motor phase wiring - Most likely
Stepper motor sizing (is it undersized ?)

Re: Failed to use stepper motor driver.

PostPosted: Fri Nov 16, 2012 5:41 pm
by sich
You can press the TEST button on SD02B to test the driver. Most likely it's because of wrong wiring. Can you follow the instruction in SD02B user manual to determine the wiring sequence? Another possible reason is the pulse you sent is higher than the working frequency of your stepper motor. Try keep it at very low rate first.

Re: Failed to use stepper motor driver.

PostPosted: Sat Nov 17, 2012 12:40 am
by winson27
The wiring is correct coz when i press the test button, it runs normally. Can you pls suggest a program of arduino uno for me? Which can be used to trigger the "Pulse Port" of SD02B. Thanks alot.

Re: Failed to use stepper motor driver.

PostPosted: Sun Nov 18, 2012 4:44 pm
by shahrul
For starting, you put pulse at low frequency or that means you give higher delay for the pulse.
Ex stepper motor driver.

Re: Failed to use stepper motor driver.

PostPosted: Mon Nov 19, 2012 2:03 pm
by sich
Did you tie EN pin to 5V and DIR pin to either 0V or 5V? Or you left the pins floating?

Re: Failed to use stepper motor driver.

PostPosted: Tue Nov 20, 2012 12:01 am
by winson27
my EN pin must connect to 5V (even i don't want the motor shaft to be hold) and DIR must 0V or 5V? floating of these 2 will cause problem?