Shop OBEX P1 Docs P2 Docs Learn Events
Control Servo With Propeller? — Parallax Forums

Control Servo With Propeller?

TylerSkylerTylerSkyler Posts: 72
edited 2012-03-03 21:36 in Propeller 1
Hello All! I'm using a motor controller to control 4 motors. I can control them using pulsout with the Basic Stamp, but not with the propeller(i have figured out the code and it works with small servos). I believe this is because when pulsing the Basic Stamps I/O's voltage is 3.5V, But when pulsing the propeller is only .6V. This seems to be the voltage is to small to be recognized by the motorcontroller. How can I raise the voltage of the propellers I/O voltage?


Thanks,

Tyler

Comments

  • JonnyMacJonnyMac Posts: 9,197
    edited 2012-03-03 16:22
    Are the pins that you're you're using to control the motors also driving the base of transistors? This would explain why you're only seeing 0.6v (I had this happen on one of my own boards and had to sever the connect to the base when driving servos).
  • TylerSkylerTylerSkyler Posts: 72
    edited 2012-03-03 17:31
    No they are going straight from I/O port 1 to the wire thats not the ground or 5V on the 3 pronged cable(can't seem to remember what it is called right now:smile:). But still seeing .6V from it. Any other ideas?

    Thanks,

    Tyler
  • JonnyMacJonnyMac Posts: 9,197
    edited 2012-03-03 21:36
    Nope, I run servos all the time -- though I usually put a 1K resistor in series with the pin to reduce servo noise back into the Propeller. As you haven't shared your code (hint, hint) the problem could be there. In case you're looking for an object that will control up to eight servos with neat tricks (like speed control), here's a link to my object (which was used in a Propeller-based board that ran at Disneyland through the extended Halloween season).

    -- http://obex.parallax.com/objects/445/
Sign In or Register to comment.