Compufly Port to Java with enhancements

This is a port of Flytrons USB2PPM Project Compufly with enhancements 

You can use multiple usb sources and map any axis and button to any channel of your choice. 

You can also map multiple buttons to the same channel and adjust the ppm value to them for a 3 way switch with 3 buttons type set up

Current feature list

Servo/PPM output

  1. Ability to output no less then 10 ppm Channels
  2. Channels need to be able to be inverted
  3. Channels need to be able to have Trims rate settings
  4. Channels need to be able to have Exponential rate settings
  5. Channels need to have multiple input to output mappings
  6. Channel Resolution 2048 (11Bit)

Joystick/Gamepad Control

  1. Accept 3 or more USB device inputs
  2. USB button detection on joystick interface
  3. Support for POV HAT Buttons
  4. Support for HAT Switches
  5. Tabs or Pages for all detected USB interfaces
  6. Mapped Values for all axis for specific device per Tab/Page

Output Device Configuration

  1. Selection of number of channels
  2. Mode selection Positive/Negative PPM

GUI

  1. Resizable for use on note/netbooks
  2. Ability to save/load settings
  3. Show values for ppm output and joystick/mini joy axis with Progress Bar type scroll

 

Everything is kind of setup for my CH Products set up with joystick throttle and rudder at the moment.

Check out the google code page and try it out for yourself. Make sure to read the wiki pages fore more info. 

Google Code: Joystick to PPM
I am looking for Java programmers and testers to help work out bugs. If you think you fit the build email me and I'll add you to the list. 

Screen Shots


 

 

aircool00 at g mail dot com

Cheers,

Ryan

Views: 1096

Comment by Gord Likar on October 11, 2011 at 12:44am

Hi Ryan, great project!  I see linux serial and parallel drivers in the lib folder.   Have you tested it in linux?

After looking at   USB2PPM on the website, I still a little confuddled about how the output side works, and there's talk about directx.   Would  you explain how the output side works, and how it hooks to a transmitter module? 

Comment by Melih Karakelle on October 11, 2011 at 5:43am

@Ryan, 

Looking awesome!! 

I just tested. It's working flawlessly with Windows7 32 bit :)

 

@Gord,

The compufly including usb to serial converter chip (CP2102) and OS finding it as a serial port. You dont need DirectX for using it, some simple serial commands enough. You got 2 option for controlling your plane. You can plug it on your transmitter's trainer port or connect directly to transmitter module's ppm input without using an RC transmitter body(direct ground station application).

 

Comment by Ryan C Smith on October 11, 2011 at 10:57am

@Gord 

I had my blinders on when setting everything up and failed to mention that you need to have a Compufly USB2PPM device from Flytron.com Melih created this device and the original opensource software. My new project is a port to Java from Delphi 7. There have been some new features added and hopefully after some feed back we can flush out some bugs and make a list of more features to be added. I am excited I got the seal of approval from Melih and hope to hear back from those who have downloaded the source and program.

Comment by Gord Likar on October 11, 2011 at 11:41am

That's okay Ryan, I assumed  the need for a Compufly. 

Thanks fellows.  I'll have to do some searching on PPM, don't understand how a uart can output ppm.

 

Comment by Kirill on October 11, 2011 at 11:57am

A little out of topic, but maybe someone could give me an advice. I'd like to make an inverse task - to make PPM2USB converter to send PPM signal from my transmitter into USB port of PC and emulate a joystick.


Moderator
Comment by Sgt Ric on October 11, 2011 at 12:03pm

Do you mean like the adapters available for most flight simulators?

 

Comment by Kirill on October 11, 2011 at 12:08pm

Yes, like those ones. But I'd like to make one by myself. I already know how to decode signal (I've chosen Arduino for this, AtMega328) and send it to serial. But I'm wondering, what's next...

Comment by Ryan C Smith on October 11, 2011 at 12:09pm

@ Krill

I made a post on RC groups a little while back on how to do this here

Hope that helps

Cheers

Ryan

Comment by Kirill on October 11, 2011 at 12:20pm

Yes, it's similar, but I would like to use a transmitter instead of PC joystick. Anyway, thanks for the link!

Comment by Ryan C Smith on October 11, 2011 at 12:25pm

Well in that case you will want one of these

Deal Extreme

USB G3/G5/G5.5/FMS/AeroFly Flight Simulator Dongle

12-in-1 USB 2.0 Almighty Flight Simulator Dongle

HobbyKing

USB Simulator Cable XTR/AeroFly/FMS

 

Or my be cheaper on Ebay

Cheers

Ryan

 

Comment

You need to be a member of DIY Drones to add comments!

Join DIY Drones

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service