Results 1 to 5 of 5
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Mar 2013
    Location
    Bariloche, Argentina
    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

    Arduino Card Newbie + 737 Home Cockpit

    Hi,
    I'm building a 737NG home cockpit and the only cards I could buy are the Arduinos. (I'm from Argentina and we're having some imports problems)
    I didn't know about Arduino Card until i've found Jim's Site (BTW, a great site!). So I proceeded to buy an Arduino Mega 2560 (Because of the amount of switches). When I received it, all worked OK, but the problem is here: If I want to control LEDs, Switches and Rotary Encoder do I have to do my own PDEs? Because I don't know ANYTHING about programming and I thought that FSX will tell Jim's Program which LED will be turned on/off.
    If I have to do that, it is very difficult?

    Thanks in Advance,
    Gabriel

  2. #2
    150+ Forum Groupie BuzziBi's Avatar
    Join Date
    Mar 2013
    Location
    Norway
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Arduino Card Newbie + 737 Home Cockpit

    Hello GaboBaa.


    I've been using arduino only for a few months so I'm certainly no pro.
    I have found what I need at Jim's pages.
    There are various examples to code for the arduino card, available to be downloaded from his web pages.
    I have combined different sketch, or. Ino files, pde's to get the result I want.
    Download and study.
    It was a little confusing at first, but what you need is there!
    As an example: Rotary encoders and sketch are her on A MOTION FLIGHT SIMULATOR, ON THE CHEAP.. JIMSPAGE.CO.NZ Arduino Keys link2fs multi program.
    And you can download encoder sketch from that page. In the Rotary encoder help.zip there ar examples for encoders.
    Its easy to copy and add more encoders.
    What I found out in the beginning, was that I was so busy with achieving the goal, that I did not take time to read and study all he has written on hes pages

    Often we wish for others to do all the job, and the truth is, that they've almost done that!
    The little that's left for us to do, is what it takes to be left with the illusion that we have done it ourself!

    There are also plenty of examples of coding if you are Googling!


    If you get stuck, the guys are good at helping when they have time! Just ask.
    Best of luck
    Life was hard, but then came Windows 7.
    Now we can fly! --------
    --------

  3. #3
    150+ Forum Groupie
    Join Date
    Apr 2011
    Location
    United States of America
    Posts
    232
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Arduino Card Newbie + 737 Home Cockpit

    Welcome Gabriel!

    Much like yourself, In 2010 I researched FSX input alternatives and accidentally found Jim's Web page. Again, much like yourself, I knew nothing of C programming - yet, I took the dive anyway. As BuzziBi stated, Jim's page is a great resource. In addition, during my learning process, I leaned on LadyAda (also known as Limor - an MIT engineering grad - who created Adafruit! - google it.) for basic "noobie" arduino code and arduino possibilities.

    Here is a starter link to her site: Arduino Tutorial - Lesson 5

    Between Jim's site and Limor's, you should be up to arduino speed in no time!

    Happy Coding!
    As always, this forum has many who point you in the direction you want go.
    JM

  4. #4
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Mar 2013
    Location
    Bariloche, Argentina
    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: Arduino Card Newbie + 737 Home Cockpit

    Guys,
    Thanks a lot for the advices!! I've read Jim's page the whole afternoon and finally I could connect some switches to the Arduino. It felt so good!
    I'll start reading and viewing those videos that you sent.
    Thanks a lot and I will start uploading photos of my sim!

    Gabriel

  5. #5
    150+ Forum Groupie BuzziBi's Avatar
    Join Date
    Mar 2013
    Location
    Norway
    Posts
    275
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Arduino Card Newbie + 737 Home Cockpit

    I've found a grate site yesterday: Arduino Tutorials | JeremyBlum.com | Page 2
    So I have started all over again
    I have studied this earlier: Course Syllabus | Open Source Hardware Junkies
    You may have to register, I do not remember, but it's free!
    You can find some great learning videos on both sites.
    Life was hard, but then came Windows 7.
    Now we can fly! --------
    --------