Shop OBEX P1 Docs P2 Docs Learn Events
Robotics, Motor Controllers (post 2) — Parallax Forums

Robotics, Motor Controllers (post 2)

ArchiverArchiver Posts: 46,084
edited 2003-10-04 14:42 in General Discussion
Hey,

Thanks for the advice. But I'm still confused. I'm using the BS2P
(40 pin model) and I was told that all Stamps are mono-tasking, that
you can only control one pin at a time. So if i use PWM on a
certain pin doesn't that mean I can only control one motor at a
time. I was hoping that I could send a signal to the H-bridge for a
short time (say 0.1 seconds or shorter) and it would continue at
that speed until I send another signal to it. But if a have PWM
doesn't that mean that I have to have the command to control that
pin for the entire duration of having the motor on?

Thanks
James

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-10-04 14:42
    At 09:17 AM 10/4/03 +0000, ensignkim113 wrote:
    >Hey,
    >
    >Thanks for the advice. But I'm still confused. I'm using the BS2P
    >(40 pin model) and I was told that all Stamps are mono-tasking, that
    >you can only control one pin at a time. So if i use PWM on a
    >certain pin doesn't that mean I can only control one motor at a
    >time. I was hoping that I could send a signal to the H-bridge for a
    >short time (say 0.1 seconds or shorter) and it would continue at
    >that speed until I send another signal to it. But if a have PWM
    >doesn't that mean that I have to have the command to control that
    >pin for the entire duration of having the motor on?
    >
    >Thanks
    >James
    Hi James -

    Multiple PWM can be achieved in a couple of different way, but all off-Stamp.
    One option is the PWMPAL which Parallax offers here on their web site:
    http://www.parallax.com/detail.asp?product_id=28020

    The other alternative is the PAK-5 Processor which Al WIlliams offers here:
    http://www.al-williams.com/pak5.htm

    The PWMPAL offers 4 channels of PWM, and the PAK-5 offers 8 channels of PWM.

    Regards,

    Bruce Bates





    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and
    >Body of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Sign In or Register to comment.