Shop OBEX P1 Docs P2 Docs Learn Events
servo motor control — Parallax Forums

servo motor control

Dr_EggmanDr_Eggman Posts: 1
edited 2004-10-20 21:56 in General Discussion
I recently got the BS2 in order to control my autonomous robot; for movement I am using servo motors. In order to power my servo motor, I am using four AA batteries, which provide a sufficient voltage amount for my servo (6V). I connected the power and ground wires from the battery case directly to their·appropiate locations in·the plug where the wires from the servo motors connect; then, when I attached the remaining wire from the servo motor (the data wire) into one of the input·pins on the carrier board 2, the servo motor began to fry. Does anybody know why this happened, and what I can do to fix this problem?

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2004-09-03 20:39
    Describe "fry?"· I do know that you never mentioned connecting the ground of the servo to the ground of the carrier board...You need a common ground.· And, are you sure you are using the correct power, ground and signal wires on the servo side?



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Knight Designs
    324 West Main Street
    P.O. Box 97
    Montour Falls, NY 14865
    (607) 535-6777

    Business Page:·· http://www.knightdesigns.com
    Personal Page:··· http://www.lightlink.com/dream/chris
    Designs Page:··· http://www.lightlink.com/dream/designs
    ·
  • squiresquire Posts: 5
    edited 2004-10-20 21:56
    If you mean the servo is trying to move against its limits, yes common.
    I have found that a BS2, powered up and reset, supposed to have
    all digital pins set to "input" does strange things to servos.
    Really strange while downloading from my PC to the BS2.

    I have gone to gently centering all servos with power off.
    Not connecting the servo power until the BS2 has its
    download and program is running, only then apply the
    servo power, battery.
Sign In or Register to comment.