Shop OBEX P1 Docs P2 Docs Learn Events
Wacky Servo Bugs! — Parallax Forums

Wacky Servo Bugs!

RubrChickenRubrChicken Posts: 39
edited 2009-01-13 18:18 in Propeller 1
I made an accelerometer program. I get TV output just fine, but the servo only goes one direction. I made another demo, and it goes the right direction. Whats up???????

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,562
    edited 2009-01-13 06:45
    RubrChicken,

    The servo's that you are using don't seem to be standard servo's, or at least they are not being correctly driven which could explain the strange behavior you are noticing.
    Standard hobby servos expect a signal ranging from 1ms to 2ms with a rest period of at least 20ms. What I see in your program under the servo.spin program is that the pulse duration "ON" is 150us for pulsedown and 300us for pulseup with a restperiod of 3.75ms for both.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
  • RubrChickenRubrChicken Posts: 39
    edited 2009-01-13 18:18
    Hmmm... I'm using spektrum servos. I know I'm doing it wrong, but I was wondering why one worked and the other didn't.
Sign In or Register to comment.