Shop OBEX P1 Docs P2 Docs Learn Events
Servo32v3 and IMU object — Parallax Forums

Servo32v3 and IMU object

bboy8012bboy8012 Posts: 153
edited 2009-02-21 01:35 in Propeller 1
I seem to be stumped. I am trying to piece together my own helicopter hover app, from previous Prop programs. I have found that when I comment out IMU.start the Servo32v3 starts to work, but when I uncomment IMU.start, I get no movement from the servos. Any enlightenment?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Hunger hurts, starvation works!

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,568
    edited 2009-02-17 05:04
    bboy8012,

    What does the inside of "IMU" look like?· It could be over riding the other pins depending on how it is being used.

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

    IC Layout Engineer
    Parallax, Inc.
  • bboy8012bboy8012 Posts: 153
    edited 2009-02-17 05:40
    I looked at that and didnt see any over runs but here it is.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • bboy8012bboy8012 Posts: 153
    edited 2009-02-19 14:33
    Update, it was power requirements I believe, I took out one of the servos and it works for a second. Now on to figureing out that problem.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • shanghai_foolshanghai_fool Posts: 149
    edited 2009-02-20 00:09
    The servos really should have their own 5V power with heavy pulse
    current
    capability (such as a battery). The Protoboard 5V regulator is only as
    good
    as the walwart transformer feeding it and maybe 500ma max including
    supplying the 3v3 for the Prop and other devices.

    The protoboard supply REALLY needs 9V at 700ma minimum and servos can
    easily
    draw that much or more when starting to move (for short periods). There
    is
    not nearly enough power storage in the filter caps on the protoboard for

    that much current spikes.

    Running servos driven from the protoboard usually means the prop gets
    reset.
  • bboy8012bboy8012 Posts: 153
    edited 2009-02-21 01:35
    Thanks for that info. It was really bugging me why it would work. Now I have to start looking at power requirements.

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