View Full Version : Discussion About TX PPM signal reading from RS232
chinlin0924
Jan 03, 2006, 02:58 AM
hi all,
I 'd like to write a 3D fly simulator with Direct3D technique
( mypage: http://mail.im.tku.edu.tw/~chinlin/eng/download )
but I don't know how to read the PPM signal from RS232 throu the training wire(RS232/USB int.). of Transmitter Does anyone know where I can find the doucments about PPM-based singal data reading through RS232 or USB interface.So that I can apply the axis data on my 3D flying model.
thank you
lazy-b
Jan 03, 2006, 03:41 AM
I suggest you use a Standard Windows Joystick game Controller driver to get the Data of Stick Position, this will make your program compatible will all kind of Joystick controller design for Windows XP/98.
Have saw some one make use of Sound Card Line-In to Read PPM Signal of RC Transmitter, then make a Driver that convert the PPM signal into Joystick Controller, with this Driver, you can use any Flight Simulator or Game that uses Standard Joystick Controller.......The driver can even use Microsoft Flight Simulator games and Real Flight G2.
chinlin0924
Jan 03, 2006, 05:48 AM
I suggest you use a Standard Windows Joystick game Controller driver to get the Data of Stick Position, this will make your program compatible will all kind of Joystick controller design for Windows XP/98.
Have saw some one make use of Sound Card Line-In to Read PPM Signal of RC Transmitter, then make a Driver that convert the PPM signal into Joystick Controller, with this Driver, you can use any Flight Simulator or Game that uses Standard Joystick Controller.......The driver can even use Microsoft Flight Simulator games and Real Flight G2.
hi lazy-b,
I have a XTR training line (USB). Does it also work with Standard Windows Joystick game Controller driver? I am not sure what kind of driver it uses. I just want to know where can I get the API, and apply on my program.
thank you
Malc C
Jan 03, 2006, 06:31 AM
Nope XTR use its own protocol as the USB interface is used as the copy protection for the application. Whilst in theory it may be possible for you to discover the way in which the XTR interface works, and replicate the protocol, you would be in breach of copyright and I would suspect find yourself facing court action from Reflex.
There are several web sites that offer an RC-PC interface that use the same USB chip (16C745) to provide a standard "Windows Joystick" emulation, and they include the HEX code and schematic as well. - You could either use that code and make your software work with it, or write your own code for a PIC so that it only works with your application and then sell the package.
The only thing you need to think about (having read lots of posts on the RC group's sim forum) is that Stefan has produced the Clearview simulator which provides photo real backgrounds and also works with both the Standard windows joysticks and PIC-Serial interfaces. There is also another sim due to enter the arena, the Pheonix sim is still in development, but looks to be another contender that will eat into the market share currently dominated by Reflex, Knife Edge and Ipacs. Here are some links
http://www.phoenix-sim.com/
http://www.rcflightsim.com/cvweb1/main.jsp
The advantage of Clearview is that it offers a lot of options, works with standard interfaces, is constantly updated, and has a try before you buy demo, which then only costs $30 to register and obtain a release key.
chinlin0924
Jan 03, 2006, 08:01 AM
Malc C ,
Thank you for sharing.
vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.