Re: Airbus gauges for the MIP
Quote:
Originally Posted by
pdpo
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
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.
Re: Airbus gauges for the MIP
Hi there,
Again THANKS....
Peter
Re: Airbus gauges for the MIP
Quote:
Originally Posted by
pdpo
Hi there,
Again THANKS....
Peter
No problem, by the way: How far is your project and where is it located? Do you have pictures?
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
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.
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:
http://www-public.tu-bs.de:8080/~y00...Screenshot.png
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.