Shop OBEX P1 Docs P2 Docs Learn Events
what is the difference in Futaba and towerpro servo programs — Parallax Forums

what is the difference in Futaba and towerpro servo programs

jaspittmanjaspittman Posts: 22
edited 2008-01-16 02:11 in BASIC Stamp
I got two Towerpro MG995 and can not get them to function properly. I ran a simple program that will work on a parallax servo (white, red, black wires), but will not work on both my MG995 (orange, red, brown wires). This is the program:
Main:
counter = 0
FOR counter = 1 TO 150
PULSOUT 0, 1000
PAUSE 20
NEXT

FOR counter = 1 TO 150
PULSOUT 0, 500
PAUSE 20
NEXT

END

The MG995 will start to move and then sputter and hum. Why is this?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-01-16 02:00
    How are you powering the servos? The servo motors can take quite a bit of current. If you're trying to power the Stamp and the motors from the same source, there may not be enough current for the Stamp, the voltage may drop, and the Stamp reset which would cause the program to start over and the servos would jump or twitch.

    Put a 'DEBUG "Starting..."' statement at the beginning of your program and leave the Stamp connected to the PC and the Stamp Editor's debug window up.· You should only see one 'Starting...'.
    ·
  • FranklinFranklin Posts: 4,747
    edited 2008-01-16 02:11
    Not much good being said about the MG995 so I'd test them on a known good program/controller to see if they aren't just dead.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.