Results 1 to 3 of 3
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Sep 2013
    Location
    Christchurch
    Posts
    6
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Cessna172 light switch panel

    Hi to you all.
    My name is Ian and like others I am new to Arduino.

    Not to good on the programming side but like the electronics.
    Jim you gave me some help on your old blog and I managed to get some switches doing things

    I am now looking at building a light switch panel for the default FSX Cessna 172 using the Arduino Uno and your Link2fs_Keys_V4
    I am having trouble trying to find the button/key under the controls settings in FSX to operate some of the light switches e.g. the strobe light etc
    Any help would be appreciated
    Ian


  2. Likes castrial liked this post
  3. #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: Cessna172 light switch panel

    Hi Ian ,, As you are using FSX I think you are better to jump straight into my "Link2fs_Multi" as it has all the individual light switchs available as direct simconnect inputs.
    The only coding necessary is in the Arduino and there is an included demo for lights in the download ,, so really ,,, every thing is already done for you.

    The only thing you need to do is wire up the switchs to the Arduino.
    No need to mess around with anything in FSX.
    No need to mess around in the "Multi",, it happens automatically.

    The demo includes bringing the light 'state' out for indications so you will have to disable that bit if you want more pins to be used as other switchs. (Be careful you don't put a switch onto a pin that has been setup as an 'output')

    Good luck ,, Jim


    EDIT ,,,,,,
    Actually Ian ,, I spoke too soon.
    That demo is set up for a mega so study it and see how you go at making your own to suit the Uno.
    Last edited by Jim NZ; 09-17-2013 at 07:05 PM.
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  4. #3
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Sep 2013
    Location
    Christchurch
    Posts
    6
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Cessna172 light switch panel

    Quote Originally Posted by Jim NZ View Post
    Hi Ian ,, As you are using FSX I think you are better to jump straight into my "Link2fs_Multi" as it has all the individual light switchs available as direct simconnect inputs.
    The only coding necessary is in the Arduino and there is an included demo for lights in the download ,, so really ,,, every thing is already done for you.

    The only thing you need to do is wire up the switchs to the Arduino.
    No need to mess around with anything in FSX.
    No need to mess around in the "Multi",, it happens automatically.

    The demo includes bringing the light 'state' out for indications so you will have to disable that bit if you want more pins to be used as other switchs. (Be careful you don't put a switch onto a pin that has been setup as an 'output')

    Good luck ,, Jim


    EDIT ,,,,,,
    Actually Ian ,, I spoke too soon.
    That demo is set up for a mega so study it and see how you go at making your own to suit the Uno.
    Thanks Jim as always you are very helpful.
    As mentioned my understanding of programming is limited and am having trouble getting my head round "Link2fs_Multi", but will keep trying and let every on no how I get on using the UNO board as suggested.