Shop OBEX P1 Docs P2 Docs Learn Events
BOE BOT problem with servo — Parallax Forums

BOE BOT problem with servo

surfparossurfparos Posts: 2
edited 2007-04-17 07:04 in Robotics
Hello
I'm french so sorry if my english is bad,

Hi All,
I'm writing from Athens Greece.
I just purchase a Boe Bot and i've got a problem with the servos.
In fact, when I run the following program :

DEBUG "Program Running !"

counter VAR Word

FOR counter = 1 TO 60
PULSOUT 13, 850
PULSOUT 12, 850
PAUSE 20
NEXT

END


The left servo go to Back direction, and the right to Front, and I don't understand why.
If somebody could help me, it would be very nice.
Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2007-04-16 14:00
    What you describe is correct behavior. The "center" setting for servos is at a pulse width of approximately 1.5ms (PULSOUT ...,750). The Robotics tutorial manual describes how to adjust the servos so that this is so. Any pulse more than 1.5ms (like PULSOUT ...,850 which produces about 1.7ms) causes rotation to the right (looking at the servo shaft) unless I've got things backwards. With the servos mounted on opposite sides of the BOE-BOT, this will cause one servo to go backwards and the other forwards. Try "PULSOUT 13,850" and "PULSOUT 12,650".
  • surfparossurfparos Posts: 2
    edited 2007-04-17 07:04
    Dear Mike
    thank you for the immediate response.
    I understood the concept.

    best regards

    surfparos
Sign In or Register to comment.