Few days ago I posted a tutorial about build a cable to connect the PPM RC radio to computer using the microphone input, but now I’m going to show how to do it using an Arduino Uno R3 as a bridge to make the connection using USB port.
Most people that want to use RC simulators on computer with their TX radios build some kind of cable to do the connection between both devices.
This cable is usually connected to the trainer port on the radio and on the microphone audio input on the computer. This connection is by definition an analog connection. To interpret the analog signal and convert it to digital signals, a specific software is necessary (normally the SmartPropoPlus is used), and to convert these converted signals in an game input device, a set of drivers is required (normally vJoy is used).
See how complex is it? The TX Radio PPM signal, digital by definition, is converted in analog signals when connected to the audio input on computer. Computer interpret this data and converts again to digital, and an special software translates this in game inputs to the simulator software. This causes lag, and can be a big problem for racing simulators.
Using an Arduino as a HID
The Arduino Uno R3 can be used to make a bridge between the TX radio and the computer. You can also use it wirelessly! Just connect the radio receiver (RX) to the Arduino, and you can use your TX like if you’re controlling an real model plane!
The Sketch that runs on the Arduino board is the following:
This package has also a program that will turn your arduino USB interface into the HID Joystick device, and vice-versa. Cortesy of UnoJoy Library.