Shop OBEX P1 Docs P2 Docs Learn Events
WAM and Servo assistance needed — Parallax Forums

WAM and Servo assistance needed

NWCCTVNWCCTV Posts: 3,629
edited 2012-07-03 20:59 in BASIC Stamp
On Pg. 130 of WAM 2.2 manual, utilizing the Homework Board I was able to create the circuit and all works well. What I would like to do however is to modify the program to use an If IN3 = 1, Pulsout and If IN4 = 1 Pulsout to go in reverse. My question is, which wire from the Servo would go to the pin I want to use for the Pulsout? I am thinking the red wire but I want to make sure before doing this.

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-07-03 20:46
    The white wire is the signal wire.

    Red is 5V and black is ground.

    Lots of servos don't use white, red and black as the colors. The power line (5V) is always the center wire and ground is usually either black or brown. The other wire is the signal wire (often white or yellow).

    Many servos will die very quickly if you reverse the 5V and ground lines.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2012-07-03 20:59
    Got it. I just backed up a few pages in the manual and figured it out.
Sign In or Register to comment.