Results 1 to 2 of 2
  1. #1
    New Member
    Join Date
    Feb 2013
    Location
    Turkey
    Posts
    1
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    FS Connect Inputs

    Hi Jim,

    First off all very thank you for LINK2FS Multi & DEMO INO's you have published.

    Now I have an ADRUINO MEGA and working on a hommemade : MCP+EFIS Unit.

    I made a plan doc on excel what unit needs what type of buton switch etc and which ARDUINO pin I will use and if it has a FS Connect Input or need to program it. (Example COURSE-ROTARY-PIN 2,3 - A55,A56)

    So I put encoders to the first lines and I can handle 5 Encoders on MCP (Course,IAS,HDG, ALT,VS) with FS Connect Inputs and its really a good opportunity for us.

    I used this code structure from your ino's.

    void ENCODER(){R =(quad1.position()/2); //The /2 is to suit the encoder(See my website)
    if (R != Rold) { // checks to see if it different
    (Rdif = (R-Rold));// finds out the difference
    if (Rdif == 1) Serial.println ("A55");//CAPT COURSE DOWN
    if (Rdif == -1) Serial.println ("A56"); //CAPT COURSE UP
    Rold = R; // overwrites the old reading with the new one.
    }
    This type of code for encoders were easy to setup and follow.

    I have 2 questions:

    1-Do you plan to add more FS Connect options for EFIS? (FO COurse, EFIS Baro, EFIS Mins )

    2- I want my card to check FS buton and switch positions and set them to my arduino switch positions (Such as AT if my switch is at OFF then make it OFF on first connect)

    Sorry if I missed anything already around here...

  2. #2
    500+ This must be a daytime job Jim NZ's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    764
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: FS Connect Inputs

    Glad you got it sorted.

    Now with your questions ,,,
    1/.. Most of the EFIS stuff is all done within the planes own "systems" and as such are not represented in FSConnect data ,, you could however "mimic" some stuff in the Arduino itself. (separate displays and inputs) I've never done it so I'm not much help I'm afraid.

    2/.. Yes that can be done ,, there are a few ways but probably the easiest is just to send the selected switch positions every so-often ,, you need to be careful you don't resend things like rotary encoders etc tho ,,, again ,, I haven't done that.

    Cheers ,, Jim
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !