Shop OBEX P1 Docs P2 Docs Learn Events
one more servo problem — Parallax Forums

one more servo problem

ArchiverArchiver Posts: 46,084
edited 2001-10-19 10:55 in General Discussion
hey guys,
i am using the bs2 sx and using a ts-53 servo. Here is the code i am
using:

again:
for b2 = 100 to 200
for b3 = 1 to 5
pulsout 7, b2
pause 15
next
next
goto again

for some reason the servo receives the signal but it goes cw
everytime. Even when i run this:

pulsout 7, 150 or
pulsout 7, 100 or
pulsout 7, 200

it doesn't matter which one i run, the servo always goes cw. Am i
doing something wrong? any help would be appreciated. Thanks.
Jon

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-10-19 02:26
    Try a much larger number for the pulsout value. For my BS-2 I use a range
    from 175 - 1200.

    Original Message
    From: jhtoolman2000@y... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Q7WDxFXt_x9QSEl9xc0Zqb-rYaUV5aDJb35BiA_Gg-Q2VerEo2xX87TG15_bXdKag5KmrZFb7FBpHGKvOE7q]jhtoolman2000@y...[/url
    Sent: Thursday, October 18, 2001 9:18 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] one more servo problem

    hey guys,
    i am using the bs2 sx and using a ts-53 servo. Here is the code i am
    using:

    again:
    for b2 = 100 to 200
    for b3 = 1 to 5
    pulsout 7, b2
    pause 15
    next
    next
    goto again

    for some reason the servo receives the signal but it goes cw
    everytime. Even when i run this:

    pulsout 7, 150 or
    pulsout 7, 100 or
    pulsout 7, 200

    it doesn't matter which one i run, the servo always goes cw. Am i
    doing something wrong? any help would be appreciated. Thanks.
    Jon








    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/
  • ArchiverArchiver Posts: 46,084
    edited 2001-10-19 03:18
    Try a value of 1550 for the PULSOUT -- should center the servo. A value of
    425 should move it all the way one direction and 2700 all the way to the
    other end of the travel.

    Original Message

    > hey guys,
    > i am using the bs2 sx and using a ts-53 servo. Here is the code i am
    > using:
    >
    > again:
    > for b2 = 100 to 200
    > for b3 = 1 to 5
    > pulsout 7, b2
    > pause 15
    > next
    > next
    > goto again
    >
    > for some reason the servo receives the signal but it goes cw
    > everytime. Even when i run this:
    >
    > pulsout 7, 150 or
    > pulsout 7, 100 or
    > pulsout 7, 200
    >
    > it doesn't matter which one i run, the servo always goes cw. Am i
    > doing something wrong? any help would be appreciated. Thanks.
  • ArchiverArchiver Posts: 46,084
    edited 2001-10-19 04:11
    with the bs2x, you need b2 in the range 900-3000

    On 19 Oct 2001, at 1:18, jhtoolman2000@y... wrote:

    > hey guys,
    > i am using the bs2 sx and using a ts-53 servo. Here is the code i am
    > using:
    >
    > again:
    > for b2 = 100 to 200
    > for b3 = 1 to 5
    > pulsout 7, b2
    > pause 15
    > next
    > next
    > goto again
    >
    > for some reason the servo receives the signal but it goes cw
    > everytime. Even when i run this:
    >
    > pulsout 7, 150 or
    > pulsout 7, 100 or
    > pulsout 7, 200
    >
    > it doesn't matter which one i run, the servo always goes cw. Am i
    > doing something wrong? any help would be appreciated. Thanks. Jon
    >
    >
    >
    >
    >
    >
    >
    >
    > 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/
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-10-19 10:55
    On my BS2-SX, the PULSOUT range is this: 1250 (1ms) to 2500 (2ms).

    HTH
    Justin.


    Original Message
    From: jhtoolman2000@y... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=-NnIjBQIoHQhCOT20FKAk--dYO6SfK0d8DD3Ww2NbSliaFVv9jWvicu8tBx5HPAQWZ4NsTc6bE3ZcgOesR1LVzc]jhtoolman2000@y...[/url
    Sent: 19 October 2001 02:18
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] one more servo problem


    hey guys,
    i am using the bs2 sx and using a ts-53 servo. Here is the code i am
    using:

    again:
    for b2 = 100 to 200
    for b3 = 1 to 5
    pulsout 7, b2
    pause 15
    next
    next
    goto again

    for some reason the servo receives the signal but it goes cw
    everytime. Even when i run this:

    pulsout 7, 150 or
    pulsout 7, 100 or
    pulsout 7, 200

    it doesn't matter which one i run, the servo always goes cw. Am i
    doing something wrong? any help would be appreciated. Thanks.
    Jon








    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.