Shop OBEX P1 Docs P2 Docs Learn Events
BS2, PULSOUT, and servo question — Parallax Forums

BS2, PULSOUT, and servo question

ArchiverArchiver Posts: 46,084
edited 2001-07-13 01:40 in General Discussion
hi....newbie here,

connection a modified servo to the BOE and bs2 , i tried to vary
the "pulsout pin, rate" from pretty much zero to well inot the
900's,....and it always turns the same way.

the only way i can get it to turn the other direction is to use
smaaaalll negative fractions... like (-1/32)

what am i doing wrong and/or what values do you guys use?

thanks fer the help!
Greg

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-07-13 01:39
    Depending on which BS2 you have, the value could be in the thousands. I
    can't remember what I use for the BS2SX, but its somewhere in the 1000 range
    for neutral, and the BS2E is around 320 using a Futaba servo.

    Are you using a variable for the PULSOUT statement? If so, you are proabably
    using a byte-sized variable (holds value of 0-255) instead of a word-sized
    variable (holds value 0-65525).

    Original Message

    > connection a modified servo to the BOE and bs2 , i tried to vary
    > the "pulsout pin, rate" from pretty much zero to well inot the
    > 900's,....and it always turns the same way.
    >
    > the only way i can get it to turn the other direction is to use
    > smaaaalll negative fractions... like (-1/32)
    >
    > what am i doing wrong and/or what values do you guys use?
  • ArchiverArchiver Posts: 46,084
    edited 2001-07-13 01:40
    Greg,

    You may not be going high enough to get it to go the other way. Try using a
    larger value. An older pair of servos I have takes 1200 and 650 for forward
    and reverse.

    - Brice
    Educational & Personal Robots
    http://www.cyberbound.com

    Original Message
    From: <jeep4x4greg@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, July 12, 2001 5:14 PM
    Subject: [noparse][[/noparse]basicstamps] BS2, PULSOUT, and servo question


    > hi....newbie here,
    >
    > connection a modified servo to the BOE and bs2 , i tried to vary
    > the "pulsout pin, rate" from pretty much zero to well inot the
    > 900's,....and it always turns the same way.
    >
    > the only way i can get it to turn the other direction is to use
    > smaaaalll negative fractions... like (-1/32)
    >
    > what am i doing wrong and/or what values do you guys use?
    >
    > thanks fer the help!
    > Greg
    >
    >
    > 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.