Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    75+ Posting Member TobiBS's Avatar
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    82
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Airbus gauges for the MIP

    Quote Originally Posted by pdpo View Post
    I cannot thank you enought for the detailed info. When time permits I'll have take a look at this and see if I can accomplish something too.
    I wish you good luck and hope to see pictures of the result here.

    Quote Originally Posted by pdpo View Post
    Just one more thing... out of your explanation I understand there is some driver available for this usb chip and there is an SDK to talk with it, correct?
    Yes that is exactly right, you can get the driver from http://www.ftdichip.com/Drivers/D2XX.htm, I think its worth to mention that it is not only available for Windows but also for MAC or Linux and there are some tools to test and configure the chip before you use it together with your software, it is called MProg.

    The documentation I used for programming in C++ is avaliable on the page, too, here is the driect link: http://www.ftdichip.com/Documents/Pr...s/D2XXPG34.pdf

    I think the lib and header comes together with the driver, all I needed for the software were the following commands:
    FT_OpenEx to open the connection, some FT_Set* Commands to set the connection parameters (the µC firmware above is for a baudrate of 9600 Baud), the rest of the parameters is as follows:
    Code:
    ftStatus = FT_SetBaudRate (ftHandle, 9600);
    ftStatus = FT_SetDataCharacteristics (ftHandle, FT_BITS_8, FT_STOP_BITS_1,FT_PARITY_NONE);
    ftStatus = FT_SetFlowControl (ftHandle, FT_FLOW_NONE,'a','b');
    As you can see we are using no flow control, 8 bits, 1 stop bit and no parity.

    To send to the device, you use FT_Write, that is all you need.

  2. #22
    150+ Forum Groupie pdpo's Avatar
    Join Date
    Nov 2005
    Location
    belgium
    Posts
    260
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Airbus gauges for the MIP

    Hi there,

    Again THANKS....

    Peter
    FS9+PM+AST+opencockpits

  3. #23
    75+ Posting Member TobiBS's Avatar
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    82
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Airbus gauges for the MIP

    Quote Originally Posted by pdpo View Post
    Hi there,

    Again THANKS....

    Peter
    No problem, by the way: How far is your project and where is it located? Do you have pictures?

  4. #24
    150+ Forum Groupie pdpo's Avatar
    Join Date
    Nov 2005
    Location
    belgium
    Posts
    260
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Airbus gauges for the MIP

    Hi there,

    There are some pictures on this site in the foto gallery. Checkout the ones posted by PDPO
    I am located in the north west of belgium.

    Greetz Peter
    FS9+PM+AST+opencockpits

  5. #25
    75+ Posting Member TobiBS's Avatar
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    82
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Airbus gauges for the MIP

    In Post #17 (http://www.mycockpit.org/forums/show...9&postcount=17) I inserted the Code for the µC, but unfortunately the Code tags in this forum don't seem to work correctly, because the code is cut, before it ends, therefore if anyone needs the complete code, just drop me a mail.

  6. #26
    75+ Posting Member TobiBS's Avatar
    Join Date
    Feb 2008
    Location
    Germany
    Posts
    82
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Airbus gauges for the MIP

    I finally developed a driver that is worth of being used, with a graphical interface, etc.
    The interface is rather simple:

    But normally you do not see this interface, it starts up minimized to tray.

    It displays the current readouts for braking pressure and ACUU PRESS (currently not supported) and the status of BOARD and FSUIPC connection. It continously tries to connect of both of them.

    The software is written in Qt, for the compilation you need the FSUIPC_User Lib and Header from Pete Dowson as well as the ftd2xx Lib and Header from FTDI.

    You can get the source from http://www-public.tu-bs.de:8080/~y00...F/Software.zip

    And to say it clear now, all software and data in this thread provided by me is released under GNU GPL Version 3

    Have fun with the software, I hope anyone makes use out of it, please post photos if you built one yourself.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Gauges?
    By Steve1970 in forum General Aviation (GA) Builder Disccusion
    Replies: 5
    Last Post: 12-15-2009, 03:55 PM
  2. Gauges CAD/DXF
    By riche543 in forum Westozy's Mechanical Engineering
    Replies: 3
    Last Post: 10-01-2009, 04:50 AM
  3. 737-200 gauges
    By roblockett in forum General Builder Questions All Aircraft Types
    Replies: 11
    Last Post: 03-21-2009, 04:25 PM
  4. gauges
    By Petex1 in forum Computer Hardware Setup
    Replies: 6
    Last Post: 02-21-2009, 02:33 AM