FMSUSB
Introduction:
Searching the web for an RC(PPM) to FMS (Flying Model Simulator) USB interface i didn't find such a device for free
and with interesting characteristics. For this reason i decided to
start the developing of the FMSUSB. The name could be not so
appropriate because this is an interface that converts the PPM signal
coming out from the RC to a Windows Joystick, so it can be used not
only with the famous FMS, but also with all the games that are allowing
a joystick as an input. For example you can use your RC also to drive a
car. Another interesting thing is that no extra driver is needed to allow this circuit to work on a Windows 2000 or XP system, really plug and play!!!
Features:
| Interface type: |
USB |
| Interface drivers: |
No drivers (Windows 2000/XP) |
| PC input type: |
Two joysticks with 8 analog axes each |
| Number of analogue RC channels supported (axes): |
Up to 12 |
| Number of digital RC channels supported (buttons): |
0. I'm working on that feature |
| Resolution: |
120 points for a full stick run |
| Works with RC type: |
All (positive PPM and negative PPM) |
| Compatible Flight Simulators: |
All the ones that are allowing joysticks as input |
| Other games supported: |
All the ones that are allowing joysticks as input |
| Special features: |
Changable RC channel to joystick axes mapping. |
| Cost (Euro €): |
0 if you selfbuild your own! |
What you can have from me:
(email me for pricing requests) |
- Programmed chip
- PCB
- All components
- USB cable
- The interface ready to work
|
Tested Games:
Flight simulators:
Name |
Website |
Download FMSUSB configuration |
Flight Model Simulator |
|
Not needed |
RCFSim |
|
Not needed |
Realflight G2 |
|
|
Others:
The Schematic:
In the following picture you can see the schematic drawing of the
circuit. Click on the image to download the full size schematic in
zipped PDF format.
26/12/2004: There was a mistake in the schematic: C4 had a value of
222pF... i was so tired... ;-) it's value is of 2200 pF! Now the
revision 1.0.1 of the schematic with this little correction is out.

815 downloads
Components description:
First of all i want to explain why there are two chips
in this schematic: it's only to allow you to build your PCB either with
the PIC16C745 or the PIC16C765 chip. If you don't want to use the PCB i
have made (that can accept both 745 and 765 devices) you can find in
the schematic all the connections you need to build your own one with
the 16C745 or the 16C765.
The filtering capacitor C1 must be placed as near as possible to the power pins of the PIC chip.
The R1 resistor must have a maximum tolerance of +-5% and the capacitor
C5 a maximum tolerance of +-20% because of the USB 1.1 specification.
If you don't respect this requirements the device may not work properly.
Values for C2 and C3 capacitors must be between 15pF and 33pF, i used
22pF. Resistors R2, R3, R4, R5 and capacitor C4 are non critic, but try
to use values as near as possible to the specified.
The PCB:
In the following picture you can see the PCB for the interface.
Click on the image to download the 1:1 scale PCB in zipped PDF format.

322
downloads
This is the top view of the PCB, so if you are going to
realize it by lithography you have to print it on a transparent sheet
and then place it over the board carrying attention to the writing...
they must be readable on the finished board!!! This is an help to avoid
mistakes during PCB fabrication. Otherwise if you are going to realize
your PCB with the blue sheets (the one you have to press on the board
with an hot iron) you have simply to print this file over the blue
sheet.
The following image shows components disposition over the PCB.
You can see that the PCB have the place to mount two
chips: the 28 pins 16C745 and the 40 pins 16C765. Ounce the PCB is
ready you can make the holes only for the chip you need, the other will
be unused.
If you will use a PIC 16C765 the resistor R1 must be mounted on the component side or under the chip if you mount a socket.
I also suggest you to use a socket because it will be
simpler to replace the chip if there will be future firmware upgrade to
fix bugs that could still exist or to add new features to the device.
On the PC side:
Ounce connected the interface is recognized as two joystick with 8 axes each as you can see on these images taken from the Game Controllers utility of the Windows Control Panel:
If you click on the Settings tab you can calibrate the related Joystick.
How the channel mapping works:
When the device is connected to the PC the RC channels to joystick axes mapping is setted as follows:
J1 Axes |
RC Channel |
1 |
1 |
2 |
2 |
3 |
3 |
4 |
4 |
5 |
5 |
6 |
6 |
7 |
7 |
8 |
8 |
|
J2 Axes |
RC Channel |
1 |
9 |
2 |
10 |
3 |
11 |
4 |
12 |
5 |
7 |
6 |
8 |
7 |
1 |
8 |
2 |
|
Using an application that i have developed you can map your RC channels into joystick1(Joy1) or joystick2(Joy2)
as your needs. To do that you only need to connect the interface, start
the setup application and choose the configuration you want. After that
you have to click the Send button and in two seconds the configuration
is sent to the device. You can also save and load all your
configurations so you it's simpler to switch between flight simulators.
Click on the image to download the application.

254 downloads
From this snapshot you can see the simple way to map RC channels to Joy1 and Joy2 axes: simply select the desired channel in the X, Y, Z, Rx, Ry, Rz, Dial and Slider related combo boxes, and ounce you have finished press the "Send"
button to send this configuration to the device. The important thing is
that normally you don't have to do nothing to use FMS because the
standard mapping is already good. But it's also important that you can
change your mapping in a really easy way like said here over. Now
FMSUSB supports Hitec like RCs (the ones with the positive PPM signal),
and now i'm working to add the auto detect feature to support also RCs
with negative PPM signal.
The Firmware:
If you will build this device and test it, please let me know if it works great also for you and on which transmitter!!!
I'm sorry but i forgot a
debugging step inside firmware V1.3.0 that always forces the axes "RY"
of joystick nuber 1 to be equal to the number of channels of your RC.
This bug is now corrected in version 1.3.1!
Known issues:
- The RC must be switched on after the interface is connected to the PC otherwise it will not work.
- If the interface is connected to the PC before the PC is switched on, the RC must be switched on after the boot is finished.
|
WARNING:
- I'm not responsible for any kind of damage to your PC or RC.
- If you realize this device you agree that you are doing it at your own risk.
- You can't use this material for commercial purposes without my authorization, so please build only your own interface!
|
If you want to stay informed about this project (and other main site
updates) you can subscribe to my mailing list using the tool at the
left of this page. Your email address will not be revealed to other
people. After subscription you will receive an email and you will need
to reply to confirm your email address.
16-Jan-2005
|