Page 3 of 11 FirstFirst 1234567 ... LastLast
Results 21 to 30 of 103
  1. #21
    150+ Forum Groupie
    Join Date
    Nov 2013
    Location
    Evansville, Indiana
    Posts
    217
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    veiobilly,
    I had not worked on the MCP in a while but the last couple of weeks I have been pouring into it
    Your comment is kind of timely as I am 98% complete with the MCP, as it is, working with the MilViz 737-200.


    As I may have mentioned earlier, like a lot of high end payware planes, the MilViz 737-200 has LUA Variables and commands that are outside the FSX stock functions. In order to trigger many of these things I had to go outside of Link2FS.

    I built a hybrid setup with 2 Arduinos. One Arduino, the Mega, takes care of all the displays, buttons, encoders, LEDs and switches on the MCP. It also communicates thru Link2FS to do the majority of the data exchange with FSX. Now, the second Arduino, a Leonardo (an UNO would also work) acts as a proxy for the Mega to talk to a LUA script that I had to write. The Mega's COM port is being used by Link2FS so it can't talk to the LUA Script directly.
    The Leonardo (Proxy Arduino), has a very simple code in it.
    That is, small in size and doesn't do a whole lot. It wasn't that simple to come up with
    It uses the "Wire" protocol library to communicate with the Mega and then Serial to read and write to the LUA script. Basically what the Leonardo receives from one side it passes to the other.

    MEGA <--wire--> Leonardo <--USB Com--> LUA Script

    My code is not yet ready for release. And I am not sure when that will be. I want to organize it a little more and remark it better for the Novice. The goal is to have fewer people needing one on one tutorials.
    It gets complicated writing 2 or 3 sets of code to have 2 entities communicate with each other, passing variable states and such.

    If you want to see a demonstration and hear explanations you can find me streaming while flying on Twitch.
    twitch.tv/fess_ter_geek

    ~Fess
    Attached Images Attached Images
    I will only ever be, half the Geek that I wished I was.
    TheGeekForge.Com

  2. #22
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    i'm getting this error....i love thats its for the milviz 737-200 though...my favorite aircraft..thats the project im working on now also

    Arduino: 1.6.4 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

    MilViz_MCP.ino:90:99: fatal error: LedControl.h: No such file or directory
    compilation terminated.
    Error compiling.

    This report would have more information with
    "Show verbose output during compilation"
    enabled in File > Preferences.

  3. #23
    150+ Forum Groupie
    Join Date
    Nov 2013
    Location
    Evansville, Indiana
    Posts
    217
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    Quote Originally Posted by franqstar View Post
    MilViz_MCP.ino:90:99: fatal error: LedControl.h: No such file or directory
    franqstar,

    You need to install the LedControl Library for the arduino IDE.


    ~Fess
    I will only ever be, half the Geek that I wished I was.
    TheGeekForge.Com

  4. #24
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    where is that located

  5. #25
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    this is my first time working with arduino on these things

  6. #26
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    i'm using your code..funny this isn't the first code i've tried thats giving me errors

  7. #27
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    i dont have the led's yet

  8. #28
    150+ Forum Groupie
    Join Date
    Nov 2013
    Location
    Evansville, Indiana
    Posts
    217
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    franqstar,

    If this is your first go with Arduino, then you need to start slow, learn to crawl and then walk, before trying to run.

    Do something simple from Jim's examples (included with the Link2FS download) and learn from that.
    Make a gear indicator with some leds or make a radio frequency move with a single push button.

    This next part, I don't know how to say without sounding rude so here it is, in its bluntness....

    ***Steps on Soap Box***
    If you do a google search for "Arduino LedControl Library" you will find what you need.
    I do not have URL's memorized, so that is how I would find it.

    Your next question will be, how do I install an Arduino Library?
    Google that too.
    You need to be a little pro-active.
    The more you learn on your own the better off you will be.
    The difference between Novice and Guru is, Doing.
    ***Steps off Soap Box***

    What ever code you are trying to run of mine, it is probably too complex and incomplete for your current level of understanding.
    You need learn some primer information or you will get lost.
    I am in the process of documenting the entire MCP project with pictures on my site.
    It is a slow progress and I don't know when it will be completed.
    When it is done, it will be possible for someone to replicate pin for pin and use my code. But it will not be for the faint of heart I do not plan on making graphical wiring diagrams but I will provide the pinout connections in table format.

    Again, sorry if I came across rude.

    ~Fess
    I will only ever be, half the Geek that I wished I was.
    TheGeekForge.Com

  9. #29
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    i tryed jims but thats giving me errors too

  10. #30
    25+ Posting Member
    Join Date
    Feb 2013
    Location
    hawaii
    Posts
    29
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Boeing Style MCP/Autopilot panel

    well its not nessasarily my first time...well i have never done coding myself more like just copy,paste,wire everything up...i use arduino for my christmas light shows

Page 3 of 11 FirstFirst 1234567 ... LastLast