|
|
|
|
|
|
|||
|
|
Another possibility of the same hardware is to use it to generate a PPM signal.
![]() So that with a genuine PC Joystick connected to your PC and a small exe running on it, you can output the PPM signal to any RC radio (student plug) and fly your favorite plane with a joystick. (I had been asked to do it by a -real-copter pilot). The GUI is quite simple : ![]() 1) any PC joystick works (tested with Microsoft force feedback joystick and logitech gamepad 2) 8 axes joysticks are recognized 3) the "rotating button" are also recognized 4) 8 buttons as well 5) the PIC board is plug and play (no driver needed as it is a HID device) 6) all inputs are remapable to any PP output channel 7) you can apply trim and reverse the output channels Finally here is a test with my Hobbyking TH9x radio flashed with ER9x firmware For the purpose of this demo I have only setup the radio to decommutate 4 PPM channels (but trust me it works with 8 !) And I have connected 2 servos to see the result "lively" The sound is in french --> free french training session ![]()
JP |
||
|
|
||
|
|
Quote:
thanks for your update. Now I need to study French, huh? |
|
|
||
|
|
|
|
|
Freedom, haha, I know your comment is written in English. I have been studying your code ( good_main.c is the latest, right?) and I understood most of structure. I would like to connect the futaba 7cap Tx trainer signal, so I will add a NPN transistor for input. This will cause the PPM signal will beinverted. However your code checks falling edge, so I think this part of your code will stay same. Recently I replaced my PC, so I needed to install MP-LAB, C18 and Application framework. I downloaded all latest version and installed them. |
|
|
|
|
||
|
|
Quote:
The code shouldn't be sensitive to inverted or regular PPM signal. I have already tested it with futaba radio and TH9x radio and it works although they don't have the same PPM polarization ![]() Try to understand why with a simple drawing, it's just a matter of logic (no need to look at the code) ! (but difficult to explain with words ...) JP |
|
|
||
|
|
||
|
|
Quote:
Currently I am working on coding C18 program that convert PPM to HID device on 18F2550, based on Freedom's code. Later I may try to use PIC18F14K50, since this chip is much cheaper in Japan. (170 JPyen) |
|
|
||
|
|
||
|
|
Quote:
Merry Xmas JP |
|
|
||
|
|
||
|
Joined Sep 2011
5 Posts
|
Thanks bro!
The joytester is working fine but how could i link my Momo Streering wheel to the transmitter?Is it possible? Could you tell me how this thing works? Thanks. Quote:
|
|
|
||
|
|
||
|
|
Quote:
The Joystick is a USB HID device so you need a computer able to understand this USB protocol. I know that you can use a MCU to do this interface but I don'know how... So the solution that I have implemented right now is to use a laptop PC between the joystick and the MCU. The MCU itself being connected to the Tx. You can see how it works here : http://www.rcgroups.com/forums/showp...&postcount=289 JP |
|
|
||
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question JW24RC - Model RC to USB joystick converter chip | skratchbilder | Radios | 0 | Dec 16, 2004 07:43 PM |
| Quattro USB adapter: RC, Analog Joystick -> USB | PiNa | Simulators | 2 | Sep 22, 2004 01:09 PM |
| Radio Shack USB joystick adapter. | HankF | Simulators | 0 | Jul 23, 2003 01:46 PM |