Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    25+ Posting Member
    Join Date
    Oct 2008
    Location
    Milwaukee, WI
    Posts
    55
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    OC Attitude Indicator Success!

    For my Lockheed T-33 project, I have successfully reworked one of its attitude indicator to work with the OC Servo Motors Card. I have to say, the OC Servo Motors Card works beautifully! Not bad for one's first instrument. Now to the others...


  2. Likes hyamesto liked this post
  3. #2
    75+ Posting Member



    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    86
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    would you be willing to share your command structure with me? I am having a hard time writing the correct command for my gauges.

  4. #3
    25+ Posting Member
    Join Date
    Oct 2008
    Location
    Milwaukee, WI
    Posts
    55
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Be glad to! It's modified from Manuel Velez' code:

    // *****************************************************************************
    // * Config_SIOC ver 4.5 - By Manuel Velez - www.opencockpits.com
    // *****************************************************************************
    // * FileName : test_servo_pitch.txt
    // * Date : 9/13/2015



    Var 0005, Value 0
    {
    &ServoBank = 493
    }
    Var 0000, Value 0
    {
    &ServoPitch = 611
    }
    Var 0006, name ServoBank, Link USB_SERVOS, Output 1, PosL 1, PosC 511, PosR 1023, Type 1 // Bank
    Var 0001, name ServoPitch, Link USB_SERVOS, Output 2, PosL 1, PosC 511, PosR 1023, Type 1 // Pitch
    Var 0020, Link FSUIPC_IN, Offset $057C, Length 4 // FSUIPC Bank, *360/(66536*66536)
    {
    L0 = V0020 * 8.38E-008 // Convert to degrees (neg is right)
    IF L0 > 60
    {
    L0 = 60
    }
    IF L0 < -60
    {
    L0 = -60
    }
    L1 = L0 * 5 // Calc degrees for servo
    &ServoBank = 493 - L1
    }
    Var 0010, Link FSUIPC_IN, Offset $0578, Length 4 // FSUIPC Pitch, *360/(65536*65536)
    {
    L0 = V0010 * 8.38E-008 // Convert to degrees (neg is up
    IF L0 > 25 // Limit 25 deg max
    {
    L0 = 25
    }
    IF L0 < -25 // Limit -25 deg max
    {
    L0 = -25
    }
    L1 = L0 * 5 // Calc degrees for servo
    &ServoPitch = 611 - L1
    }

  5. #4
    150+ Forum Groupie
    Join Date
    Feb 2007
    Location
    Argentina
    Posts
    187
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Great job.
    Regards.
    Horacio.

  6. #5
    25+ Posting Member
    Join Date
    Oct 2008
    Location
    Milwaukee, WI
    Posts
    55
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Thanks! Believe it or not, I think I'm more concerned with getting the T-33 fuselage sectioned-off (to put in my basement) than I am rebuilding the instruments. That's really the big scary part of all this.

  7. #6
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    85
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Nice work there.
    I have an attitude indicator that I am looking at interfacing soon. although I will plug it into an arduino, the servos will do pretty much the same thing.

    I hope to post results soon.

    Is there anything I should concern myself with when opening the physical attitude indicator the first time?

  8. #7
    25+ Posting Member
    Join Date
    Oct 2008
    Location
    Milwaukee, WI
    Posts
    55
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Hi SimSupervisor,

    Thanks. Nothing to concern yourself over… nothing is spring-loaded or hazardous. There are many small parts, some of which can be a little sharp, but nothing dangerous.

    For mine, I gutted the entire contents of the attitude indicator (i.e., got rid of the gyros, motors, mounts, etc.). But, I kept the instrument-face parts. I built wooden mounting parts to house the two servo motors, controlled by the OC servo motors card.

    I drew exact-scale pieces of the exact attitude indicator using Corel Draw!, and I designed the wooden mounting parts based on what I needed. This method enabled me to build the wooden mounting parts with a fair degree of precision. The brown pieces in the drawing are the wooden parts.

    Attached Images Attached Images

  9. #8
    75+ Posting Member
    Join Date
    Aug 2015
    Location
    Montreal
    Posts
    85
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    I am hoping to be able to reuse some of the original guts instead of making my own cages, but if I have to, it will likely be very similar to yours: wood seems like a suitable solution

    Why is block #2 longer, and not squared? to help with positionning?

  10. #9
    25+ Posting Member
    Join Date
    Oct 2008
    Location
    Milwaukee, WI
    Posts
    55
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Block 2 is a bearing for the blue rod. So, the blue rod rotates in the roll direction through Block 2, but the blue rod is fastened (glued) in-place to Blocks 1 and 3. The entire assembly is mounted into the original attitude indicator case at Blocks 2 and 5 (I drilled holes in the attitude indicator case and then screwed Blocks 2 and 5 into the case). Looking at the SIDE view, the bottoms of Blocks 2 and 5 are aligned with each other.

    The green pieces are the plastic servo motor gear things that came with the servo motors.

  11. Thanks hyamesto thanked for this post
    Likes hyamesto liked this post
  12. #10
    150+ Forum Groupie
    Join Date
    Feb 2007
    Location
    Argentina
    Posts
    187
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC Attitude Indicator Success!

    Quote Originally Posted by stevem View Post
    Block 2 is a bearing for the blue rod. So, the blue rod rotates in the roll direction through Block 2, but the blue rod is fastened (glued) in-place to Blocks 1 and 3. The entire assembly is mounted into the original attitude indicator case at Blocks 2 and 5 (I drilled holes in the attitude indicator case and then screwed Blocks 2 and 5 into the case). Looking at the SIDE view, the bottoms of Blocks 2 and 5 are aligned with each other.

    The green pieces are the plastic servo motor gear things that came with the servo motors.
    The Block 2 is really a good idea to properly align of mobile pieces.
    Every day i learn something new.
    Congratulations, and good luck with the T-33 fuselage. (Luckily you're not building a B-36 Peacemaker....)

    Regards.
    Horacio.

Page 1 of 2 12 LastLast