Shop OBEX P1 Docs P2 Docs Learn Events
Little Step-U motor driver — Parallax Forums

Little Step-U motor driver

FrankyFranky Posts: 2
edited 2009-09-01 15:12 in Robotics
Any one has experience using VB6 to control Little Step-U unipolar motor drive?

I was sending out serial commands such as {E200}, but the motor does not move 200 steps. It will only work with {E1} inside a loop that repeats itself. Also the motor only "steps" but cannot rotate... Not sure if it is my VB program or the Little Step-U driver that has a problem.

Any suggestions is appreciated. Thanks!

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-08-31 19:57
    If you run it in a loop of 1000 will it go around all the way? If not you may have the motor wired incorrectly. What are you using as a power source for the motor? and how are you connecting the controller to your computer?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • FrankyFranky Posts: 2
    edited 2009-09-01 15:12
    Thanks Stephen. I figured out the problem. It was insufficient voltage. After I applied a 13.5V instead of 12V, the motor spins perfectly. But the {N} command did not return the motor to the zero position. I did have a {Q} before it.

    I also noticed that you have to set time delay for the motor to finish the rotation before it can accept the next command.
Sign In or Register to comment.