Shop OBEX P1 Docs P2 Docs Learn Events
Newbie w/BS2 and Parallax (continuous rotation) servo — Parallax Forums

Newbie w/BS2 and Parallax (continuous rotation) servo

CBinVaCBinVa Posts: 4
edited 2006-01-13 04:11 in BASIC Stamp
Just got the kit and samples I've tried so far aren't working as expected.

I have the Professional development board with a BS2 and a Parallax (continuous rotation) servo

I've flashed LEDs and got tones to the speaker just fine... But I must be missing something re: the servos...

Looking for a simple example that moves the servo (slowly) about 120-degrees, stops, then returns (slowly) to original position.

Sample code I've tried so far have it spinning and spinning...

Can anyone provide a quick simple of code that would do that?

Thanks!
·-Chris

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-13 04:11
    Continuous rotation servos cannot move to a specific position.· They are modified to spin continuously when given positions away from the center position corresponding to direction.· So your results are normal for that type of servo.· Sounds like you need a standard servo.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.