Thread Tools
Apr 21, 2006, 02:15 PM
Registered User
Thread OP

RC-USB Joystick Files


If you've been following the recent threads, you will know that Mark J and myself have been trying to develop Alessio's original code for a 4+8 joystick to give 8 fully analogue channels on an 18F2550 PIC. If you want to follow the development process here are the thread below:

Well as promised here are the project files. They include compiled HEX files for both JR and Futaba channel assignments, ASM file, project file and other include files. We've also included the schematic and board files for the popular Eagle PCB design application.

Please note that these files are for personal use and may not be used for commercial purposes without the consent of the members listed in the credits at the top of the ASM file. The files are also provided on an "as is" basis and we take no responsibility for any damage to your PC, TX or any other item. Anyone using these files does so at their own risk.

Thanks to the moderators for making this post a sticky so that it remains available to all those future members of this forum wishing to build their own interface.


Malcolm & Mark

Please note that since this project was developed several people who have built it have reported that it will work with one TX and not another (often the same brand). This appears to be resolved by using a BC107 transistor in place of the BC550 shown in the schematic. Full details can be found in post 142 and my thanks to Jeff for his help with this issue
Last edited by Malc C; Mar 03, 2008 at 12:44 PM.
Sign up now
to remove ads between posts
Apr 24, 2006, 03:15 PM
Registered User
VinceHaworth's Avatar
great work guys!

Any chance of a gif/tif/jpg schematic?
Apr 24, 2006, 04:03 PM
Registered User
Thread OP
Originally Posted by VinceHaworth
great work guys!

Any chance of a gif/tif/jpg schematic?
Thanks.. and as requested.. images attached
Last edited by Malc C; Apr 24, 2006 at 04:10 PM.
Apr 26, 2006, 07:07 AM
Registered User
Great job !
Deeply appreciate your kindness
May 01, 2006, 08:25 AM
Registered User

Jumper Futaba / Jr

I haven`t find code in .asm file for change Futaba / JR.

Is the jumper JP4 enable in the .asm file ?


May 01, 2006, 09:12 AM
Registered User
Thread OP
The ZIP file contains hex files for both JR and Futaba channel assignments. However if you want to make it jumper selectable then do the following:

Go to the end section:

;	btfsc		PORTB, 7, ACCESS		; RB7 low
;	goto		ReadChAssignFutaba		; no, Futaba radio
Remove the ; from the start of the two lines.

Now do the same in the section below:

;	movlw		low JRAssignment
;	movlw		high JRAssignment
;	movlw		upper JRAssignment
;	movwf		TBLPTRU, ACCESS			;TBLPTR points to first byte of table
;	goto		ReadAssignTable
Now the interface can be selectable by jumpering RB7 (you may need to disconnect and re-connect the uSB cable to make the changes affective) Obvioulsy you will need to re-compile the ASM file and then load the resulting HEX file for the changes to work
May 01, 2006, 11:22 AM
Hi Malc,

Thanks for replying to that, would have done it myself, but only just got home and noticed the thread etc.

Maybe catch you online a bit later if your about (just about to shove some food into my face lol!)

May 01, 2006, 11:31 PM
Registered User
I'm thinking that JP4 is not correct in schematic ( Pin RC0),

in .asm file ( JP4 -> Pin RB7).


May 02, 2006, 03:44 AM
Registered User
Thread OP
You are correct, my mistake, I used the same schematic for an existing interface, and we were going to modify the code to point it to RC0 rather than RB7, However we chose to rem out the lines and make two versions of the HEX file rather than fuffing about with jumpers. If you want this feature then just change the line to PORTC, 0, ACCESS and that should work
May 11, 2006, 03:22 PM
Registered User
bitmaniac's Avatar

unkonown device

I have just finished your excellent piece of hardware
As soon as I connect it to USB led is on and an unknown device is detected in windows xp device list

Any suggestions
Thank you in advance and Congratulation for giving this to the public
Last edited by bitmaniac; May 11, 2006 at 03:31 PM.
May 11, 2006, 05:46 PM
Registered User
Thread OP

The only thing I can think of is the connection of the USB data (D+ and D-) has been reversed.

The attached image was the basis of the schematic, and shows the colour code of the USB cable and the pin connections on the PCB. If you have wired them as shown and it still reports the same problem then I'm at a loss, as both Mark and myself use the same board and same batch of chips, and it was found to be working without issue.

Edit that.. the other possible cause could be the xtal. Make sure its 4Mhz for the 18F2550, and that you have 22pf caps between GND and the legs.
May 12, 2006, 09:18 AM
Actually Malc, if my memory serves me right, I think I swapped the D+ and D- on mine because I did a search and all the sites I came across had the colour codes for D+ and D- the other way round (but dont quote me on that as I cant remember now lol!)
May 12, 2006, 11:25 AM
Registered User
Thread OP
You might of done... but that's how I have mine wired and it works or was that with the 16C745

Should still be the same come to think about it !
May 12, 2006, 12:26 PM
Lol, whichever way you have done it on the small dev board you sent me, it works a treat! so fingers crossed that bitmaniac has popped in the wrong speed crystal.
May 12, 2006, 08:15 PM
Registered User
Will the controller with the PIC18F2550 work with any other brand of transmitter, lets say a multi-Plex cockpit MM ? I have a programmer for the pic's with a "F" and no way to program a pic16C745 unless someone knows of a easy way to program one?
Last edited by Mikromike; May 12, 2006 at 09:06 PM.

Quick Reply

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Question JW24RC - Model RC to USB joystick converter chip skratchbilder Radios 0 Dec 16, 2004 08: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