Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    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

    Link2FS_Arduino_Keys_beta2

    This utility inputs keystrokes from switch's to just about any program using an Arduino card. (Cheap)

    Latest release ,,,,

    The Beta3 version has been released and its available here ,,,

    http://www.jimspage.co.nz/arduino_keys_beta.htm

    Have fun ,,, Jim

    12-5-11

    Added Nov 2012
    This program has just been updated and both are now available from the same page.
    Last edited by Jim NZ; 11-24-2012 at 04:25 AM.
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  2. Thanks Buckster13, Joe Cygan, dnoize thanked for this post
  3. #2
    Tally Ho Tally Ho's Avatar
    Join Date
    Apr 2011
    Location
    EGOW
    Posts
    12
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Link2FS_Arduino_Keys_beta2

    Hi Jim,

    Great stuff indeed. I just started with harware interfacing and FSX, your programms and website are a great help.

    So a BIG THANKS JIM!

    Peter

  4. #3
    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: Link2FS_Arduino_Keys_beta2

    Wow,, Thanks Peter,, only too happy to help a fellow pitbuilder.
    Once you get going,,, your life will be changed
    Its neat having things interacting with you as you fly,, and then ,,, you end up making it better ,,, then better again.
    Have fun Peter ,, I know you will ,,, we all do here.

    Welcome to Mycockpit too Peter ,, a huge resource of knowledge here so if you have questions about ANYTHING cockpit style ,, just fire away.
    Keep us posted on progress and of course ,, pictures too if you like.

    Cheers ,,, Jim
    Last edited by Jim NZ; 05-04-2011 at 05:45 AM. Reason: added
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  5. #4
    10+ Posting Member
    Join Date
    Apr 2011
    Location
    Leeds, UK
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Link2FS_Arduino_Keys_beta2

    Hi Jim.

    I just wanted to thank you so much for the program.

    I am just getting into Arduino and i've been looking for a way to integrate it with FS9.

    It was looking like I would have to use serial and PPJOY, but thanks to your program, I now have a USB input card.

    Keep up the fantastic work.

    Thanks again
    Paul

  6. #5
    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: Link2FS_Arduino_Keys_beta2

    Hi Paul and welcome to Mycockpit.org ,,, Good stuff on your new card and yes I was aware of PPjoy but I thought I'd try something different. It worked out well using the Arduino but the first release showed up some bugs. Hopefully the bugs are all fixed now and tonight I uploaded the version 3 beta. You will have to go back to my page and download it again. (I haventy yet updated the actual page, but the download is the new beta 3 download.)

    Thanks for the kind words Paul ,,, It makes a big difference when a developer gets feed back and it makes the effort all worth while. Some one is happy with ones work ,,, Great stuff.

    Keep tinkering and keep us informed with progress,, we are all interested in other guys developments and we all end up helping one-an-other, no matter how big or small the problems are.
    Thanks again ,,, Jim
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  7. #6
    25+ Posting Member
    Join Date
    Apr 2007
    Location
    SC
    Posts
    71
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Link2FS_Arduino_Keys_beta2

    Jim,

    Quick question.... assuming the use of an UNO looping through pins 2 through 19 actual pin outputs. Is there a limit to the number of "buttons/outputs" the keys program can handle?

    In otherwords, If I programatically - within the UNO - create another 20, or 40 or 100 virtual outputs... at what point do we exceed the limits of your keys program? or do we?

    Thanks!

    Tony

  8. #7
    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: Link2FS_Arduino_Keys_beta2

    Hi Tony,,
    The quick answer is 99 possible keys.
    The pin number is sent from the Arduino to the computer as a 2 digit number,,
    ie D120,,,
    "D" is the marker,,
    "12" is pin 12
    "0" is the state of the pin.

    Now, knowing your skills in this area,, I'll fire this in here too,,, without going thru all my "Keys" code I think from memory it just checks to see if its the same as whats in the listbox entry.
    Sooooo,, In the above case you could use DAZ0 if you wanted.
    Try it and see ,, I'm not set up for a quick play here at the moment.
    The critical things are ,, length of data burst is 4 ,, the "D" is prefered at this stage (future things) but the last digit HAS to be 1 or 0.

    Sooooo,, If the above works the long answer is,, 1296
    Now I really am babbling ,,,, Jim
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

  9. #8
    25+ Posting Member
    Join Date
    Apr 2007
    Location
    SC
    Posts
    71
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Link2FS_Arduino_Keys_beta2

    Thanks Jim... I"ll experiment and report back!

    Thanks!

    Tony

  10. #9
    25+ Posting Member
    Join Date
    Apr 2007
    Location
    SC
    Posts
    71
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Link2FS_Arduino_Keys_beta2

    Quick and simple test... no buttons, just code generated inputs

    void setup()
    {
    Serial.begin(9600);
    }

    void loop()
    {

    for (char PinLtr = 'A'; PinLtr <='Z'; PinLtr++)
    {

    Serial.print ("D");
    Serial.print (PinLtr);
    Serial.print ("1");
    Serial.print ("0");

    }

    delay(500);

    }
    Sends DA10 through DZ10... appears to work fine, out to notepad....

  11. #10
    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: Link2FS_Arduino_Keys_beta2

    Neat stuff Tony Thats actually good to know and it could be a useful thing to use in certain circumstances. I'm thinking of your "daisy chaining ??" but more so as an internal identifier of a rotary switch or rotary encoder back to my program. Ideal !!!
    Yes,, definately a handy wee option to use.

    Thanks for that Tony ,,, Jim
    www.jimspage.co.nz/intro.htm
    All this and Liz still loves me ! !

Page 1 of 2 12 LastLast