Shop OBEX P1 Docs P2 Docs Learn Events
Connecting Servos — Parallax Forums

Connecting Servos

nab014nab014 Posts: 22
edited 2008-05-05 15:12 in Robotics
Is there any reason why you can't connect the servos that come with the Boe-Bot to ports 14 and 15 instead of 12 and 13? Note that I'm talking about the four sets of three prongs above the bread board.

Comments

  • Larry SutherlandLarry Sutherland Posts: 77
    edited 2008-05-02 03:27
    No.There is noting stopping you from doing that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔





    ·Right_Uderstanding, Attitude, Speech, Action, Livelihood, Effort, Concentration, and Awareness
  • ercoerco Posts: 20,256
    edited 2008-05-02 05:01
    All of the pins are interchangeable. Obviously, you have to change your software to match the new pins. All of your pulsout 14 and 15 commands will become pulsout 12 and 13 commands·for this specific example.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • nab014nab014 Posts: 22
    edited 2008-05-02 23:01
    Okay.........let me explain everything. I'm working on an engineering project in college and we are trying to use the Boe-Bot for our prototype and possibly for the final product. We are designing a automated leveling system for trailers, such as an RV. For the prototype, we're using the parallax servos to power the prototype jacks. I wrote a simple program that "expands" the jacks and another program that "contracts the jacks. When I tried to expand this program to simply do all four at once, the four servos start to turn in the correct direction and then seconds later all stop and then only the servos connected to port 14 and 15 spin but spin in the wrong direction. This is a pretty simple program, see below, so I don't know what to think other than there's something different about the other two accessory ports (port 14 and 15). Help would be appreciated.

    ' {$STAMP BS2}
    ' {$PBASIC 2.5}
    
    
    counter        VAR           Word
    
    FOR counter = 1 TO 5000
      PULSOUT 12, 650
      PULSOUT 13, 650
      PULSOUT 14, 650
      PULSOUT 15, 650
      PAUSE 20
    NEXT
    
    END
    
    
  • Steve JoblinSteve Joblin Posts: 784
    edited 2008-05-03 00:28
    This is a double posting... please refer to you original post at http://forums.parallax.com/forums/default.aspx?f=5&m=266657
  • nab014nab014 Posts: 22
    edited 2008-05-03 00:39
    I did a double posting to try and reach the most people.....
  • PARPAR Posts: 285
    edited 2008-05-03 01:05
    nab014 said...
    I did a double posting to try and reach the most people.....
    Check out this posting, which explains about double postings and other forum etiquette:

    http://forums.parallax.com/showthread.php?p=467912

    " 6. No cross-posting. Do not cross-post questions in the same forum or other forums. When the same post is found in more than one post, even under different subject lines, the forum moderator will remove one (or more) of the redundant posts. "

    PAR
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-05-05 15:12
    Unfortunately there are too many replies to remove this thread, but this is the end of it. As Steve said, you need to follow up in the original only. Cross posting is not allowed. Had this been caught sooner it would have been removed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.