Shop OBEX P1 Docs P2 Docs Learn Events
Driving multiple Steppers with Serial Servo Controller — Parallax Forums

Driving multiple Steppers with Serial Servo Controller

ArchiverArchiver Posts: 46,084
edited 2003-02-27 12:40 in General Discussion
Colleagues,

I want to run two Steppers from a Stamp, but the stepper is too busy
to send pulses. In this forum I saw a message, which said that there
is an IC, which serially communicates with the processor, and sends
pulses to the stepper, so processor is free to do other stuff. I can
not fing that message. Could anyone post the reference to that
part(s) please?

Thanks,
Nick

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-02-27 12:24
    Nick

    I have been using the Serial servo controler from Milford
    Instruments. See www.milinst.com. They are in the U.K.
    They have a wide variety of kits.
    Basically you need a PIC controller to control the servo's, but
    ready made kit takes the hassle out of building, and getting it
    wrong, which could prove costly.

    I have a problem . I am writing code to control the servo's via BS2,
    but am having difficulty in determining where the Servo position is
    exactly.

    Upon power up I have written the first line of code to send servo to
    a default central position. This I know works fine.
    But I'm finding it difficult to determine their position if they are
    then moved, left then right. I'm using the Serout command (see below)

    Postion = 100 ' Central position for servo
    serout signal,n96n,[noparse][[/noparse]sync,servo,position] 'send servo to centre

    Any ideas would be appreciated ?

    Chris-H


    --- In basicstamps@yahoogroups.com, "Nick Alexeev <kender_a@y...>"
    <kender_a@y...> wrote:
    > Colleagues,
    >
    > I want to run two Steppers from a Stamp, but the stepper is too
    busy
    > to send pulses. In this forum I saw a message, which said that
    there
    > is an IC, which serially communicates with the processor, and sends
    > pulses to the stepper, so processor is free to do other stuff. I
    can
    > not fing that message. Could anyone post the reference to that
    > part(s) please?
    >
    > Thanks,
    > Nick
  • ArchiverArchiver Posts: 46,084
    edited 2003-02-27 12:40
    Hi,

    I also have a multiple servo controller, not from Milford insts though but it
    was included on a Lynx robotarm. This robot has 5 servos and also came with a
    software program which takes the fun out of writing any code but is very easy
    to use.
    As sevos only have their own internal feedback system I would expect your
    code will have to "remember" where you asked the servo to go to and presume
    it went and stayed there. Otherwise you will need a separate position
    feedback device on every servo.

    Stuart



    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.