Shop OBEX P1 Docs P2 Docs Learn Events
Programing troubles for BS2 controlling EasyDriver v3 (A3967) — Parallax Forums

Programing troubles for BS2 controlling EasyDriver v3 (A3967)

hotrodhotrod Posts: 14
edited 2009-03-23 21:34 in BASIC Stamp
Hello everyone!!! I am a newbie to the programming world who needs help fast...

I am working on a school project that is going to rotate a series of drawing for my design studio
With a BS2 i am controlling a 2-phase stepper motor using a EasyDriver. I have all the components wired together and functioning.
I have movement in the motor, but it is very slow. I believe this is due to the code I wrote. I don't believe the format is written correctly for the right steps.
I have an example code someone wrote, but it is on an Arduino platform.
397 x 500 - 71K
413 x 540 - 104K

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-03-21 06:43
    Well, it looks like you are trying to control it like a servo and the stepper controller wants 'dir' and 'step' control. Take another look at the datasheet on what it is you need to send to the controller.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • hotrodhotrod Posts: 14
    edited 2009-03-23 21:34
    Well, how can I translate the Auduino code to work on the BS2?

    I know that the Easydriver only needs two inputs. one for direction input and the other for how many steps.
Sign In or Register to comment.