Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    300+ Forum Addict



    Join Date
    Jan 2009
    Location
    Tampa
    Posts
    487
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    Well that's the direction I am going as well. I have a bunch of the IOCards stuff, and the flexibility it provides is what I am trying to emulate. A small program with a GUI to select and map FSUIPC offsets to the different parallel port pins. A small board with 8-12 pins might be useful to many folks. Just the ability to turn on lights, gear indicators, etc without spending a ton of money.

    I also ran across a very cheap USB solution to get 8 I/O pins and a serial port you can send data to. The serial port could be used to send data to a serial LCD/VFD. It's very easy to build, comes with a driver, and it will be very ez to write a program to drive it from FSUIPC. Actually, with little fuss it could be the same program that would drive the parallel port card. It's called th IgorPlug, and uses a very cheap AVR microcontroller, a crystal, 1 cap and 3 resistors. I almost finished a test board last night, will have it working tonight I think. It's very promising and will be an excellent compliment to the parallel port board and the MJoy16 input card. It is probably no big deal to move to a chip with more I/O as well... I will explore that once the basic board is working and tested. If I can expand the design to give 24 pins it will be perfect.


    Buddy

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

    Re: throte quadrant backlight

    OK sound good.
    I want to just get it working.
    I want to use the paralet port,or USB ,makes no difrent to me.
    If you could get me the nesecery software I would be geratfull.

  3. #13
    300+ Forum Addict



    Join Date
    Jan 2009
    Location
    Tampa
    Posts
    487
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    Ok, I have the parallel port and the USB hardware tested. I am working on the software now. Seems to be it will be simple enuff, but everytime I say that it gets complicated...I like the USB very much, the first one I've built has 8 pins that can be inputs or outputs, plus has serial output for displays, etc. Don't know how much use that will be except for folks with serial VFDs and LCDs.....

    the next USB will have 24 pins plus the serial.

    The parallel has 8 outputs, once I have some software that talks to FSUIPC workin I will try to get 12 pins workin


    more to come soon!

    Buddy

  4. #14
    300+ Forum Addict



    Join Date
    Jan 2009
    Location
    Tampa
    Posts
    487
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    OK, I have the hardware talking to FSUIPC, and can turn on/off LEDs connected to the Igor Plug via USB. Last night I had it setup and running fine via wideclient. I am sure it will work fine locally on the FS PC as well. I should have the parallel port tested in the same manner by Sunday.

    Right now I have a routine hard-coded that looks at the 2 bytes at offset ODOC (lights) and picks out a couple for instrumentation and landing. My thought is to have a cfg file that has this format:

    (the first line in [] denotes the interface type as [USB] or [parallel]

    [USB]
    output number,offset,byte within offset,bit,description

    so the cfg line for the panel lights would look like this:

    1,ODOC,1,6,Panel Lights

    where:

    1 is the output pin on the Igor Plug
    ODOC is the FSUIPC offset
    1 is the first of 2 bytes used for this offset
    6 is the bit position for the panel lights
    Panel Lights is just a label to keep track of what each output is being used for

    I am working on a GUI to configure this cfg file within the program, but it could be built/modified in notepad,etc.


    Bartlomiej: Did you say you can build the little hardware board for this? If not I can help with that too. I think the whole board with screw-terminals for each pin cost me a total of $10. To move to the 24-pin board will cost about $15.

    I used the ATTiny2313 for mine and I will move to the ATMega8 after I get the software to a useable state. I also tested the serial port output using a serial VFD display and it works great! I setup a small routine to display ALT, NDG, SPEED and updated it every 500 milliseconds. Very cool. I had done this using a Rabbit RCM2200, but that board is massive overkill for such a task, and cost $40 each.

    It's also interesting to note that although we started down this road talking about outputs, these boards are capabale of being used for inputs as well. I tested reading switches on some bits while driving LEDs with others, worked fine. Of course we have to write software to read them and make them send inputs to FSUIPC, but we can if we want to. Not as easy as a Bodnar board, not as seasoned as IOCards, but do-able and very cheap. Right now I just want to focus on the outputs.

    I am considering having some PCBs made up, but only if I can get more interest in them. Without getting into larger quantities a PCB will jack the price up enuff that the project loses appeal over other boards that are already out there. I would like this to stay a not-for-profit community project. If anyone wants a pre-programmed chip that can't do it themselves I will send one for the price of the chip and postage. If we have PCBs made the bare boards will be available at cost, you assemble. Digikey has the chips for about $2.60 each in single qty. Ebay has some that are 5 for $15, free shipping.

    More to come...

    BuddyM

  5. #15
    300+ Forum Addict



    Join Date
    Jan 2009
    Location
    Tampa
    Posts
    487
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    More info,

    I have the software reading multiple offsets, displaying them on "virtual" LEDs in the software, and driving the pins on the Igor Plug to reflect the switches in FS.

    It's time to get some input from the community...... even if you are not interested in this board, can you think of any offsets that you have used, or wished you could use, to turn on an LED, buzzer, etc? If so... is the offset a value that can be read (like 0BEC for nose gear), or a group of bits in an offset that represent different functions, like 0D0C for the lights?

    I need to know so I can code cfg file variables to look for such things.... For the gear offsets I will need to code 2 values, 0 for full up, and 16383 for full down. Are there more like this that you have needed or seen? This is some new territory for me but I think we can make it useful, or at the least educational (for me anyway). I know that several outfits have already been thru this excercise, but I have only used IOCards for outputs... I have seen how they handle things and it's very slick... I don't want to copy them, but a similar collection of "known parameters" for popular functions like gear, inner/middle/outer markers, lights, etc might me useful..... any input at this point would be useful.......

    Buddy

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

    Re: throte quadrant backlight

    Hi sorry that i didn't write nack for a while.
    I've read some great news here,you got the softweare that's great.
    Listen I'm even prapare to pay smole amound for the softweare and the board.
    whether it's gona be USB or LPT as longe as it will do the thing it's fine with me.
    Besicaly it shuld turn od and off light's (baclight)
    So have a think about it and let me know.

    Or if you want to tell me where to get the board and send me te softweare thats fine with me as well

    Or tell me how to write the softweare.

  7. #17
    300+ Forum Addict



    Join Date
    Jan 2009
    Location
    Tampa
    Posts
    487
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    OK, the 8-output USB board is ready to be used. The software is not finished by any means, but it works and is stable. I am still working out ways to handle all of the different types of offsets to read. If you want I can build a board for you, test it, and mail it to you. I'm not getting any input from the community so if I have PCBs made I may wait and do 10 or 20 of the 24-output boards.

    Buddy

  8. #18
    25+ Posting Member
    Join Date
    Feb 2010
    Location
    London
    Posts
    55
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    Well as long as it lights up the back light it's works for me.
    So mail me the softweare if you can and how I can bet the board.

  9. #19
    300+ Forum Addict



    Join Date
    Jan 2009
    Location
    Tampa
    Posts
    487
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: throte quadrant backlight

    Ok, give me a couple more days to work out a couple more things in the software. When it's ready I will test the board with it and then send it you. As far as buying it, how about we trade.... you be my beta test subject and I'll give you the board??


    I did have a question too.... which plane are you flying and how is the backlight operated...that is to say what switch on the panel makes it light up?

    Buddy

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

    Re: throte quadrant backlight

    I will be mor that happy to test the boeard for you,you will recive full raport on how it will work with the throtle qadrant,and with the flight simulator.

    I'm flying Airbus 340 ,as for the switch,it should be the one on the overhead,the same that switches on the backlight in the cocpit for all of the instruments.
    Or you can use "L" on the keyboard to switch all of the lights.
    I'm away for a few days but when i come back I will check it to make sure and send you the details.

    Loking forward to see the softwear and like I said I'll mere than happy to test the board for you.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Finaly, the backlight for the MIP!!
    By Anderson/SBSP in forum My Cockpit Update
    Replies: 10
    Last Post: 12-02-2010, 06:33 PM
  2. White backlight?
    By Anderson/SBSP in forum General Builder Questions All Aircraft Types
    Replies: 0
    Last Post: 07-25-2009, 08:16 PM
  3. Backlight Opencockpits MCP
    By Goldmember in forum OpenCockpits General Discussion
    Replies: 7
    Last Post: 07-09-2009, 04:41 AM
  4. Wet Compass backlight
    By joaquim Sa Nogueira in forum I/O Interfacing Hardware and Software
    Replies: 2
    Last Post: 02-04-2008, 02:10 PM