Ever wanted to use a FrSky Taranis wirelessly with PC simulators like FPVFreerider or RC-Airsim? This project will help you do so. The idea was to use a Teensy 2.0 USB controller and pair it with a FrSky XM receiver. The Teensy on one side will provide a USB HID gamepad to the host computer while on the other it will read the sbus protocol off the receiver using the Universal Asynchronous Receiver Transmitter (UART). To read the sbus signal an inverter in form of a simple transistor will be needed between the Teensy and the receiver. For more details please see the docs directory.
- Teensy 2.0
- available here: PJRC
- FrSky XM Receiver
- available here: FrSky
- A transistor & resistor to invert the sbus signal for the Teensy
- available here: Reichelt
- AVR 8-bit gcc tool chain
- available here: Microchip, gcc tool chains
- HalfKey Loader teensy_loader_cli
- available here: PJRC, teensy_loader_cli
- Dean Camera's excellent Lightweight USB Framework for AVRs (LUFA)
- available here: Four Walled Cubicle, LUFA
- clone or download the firmware
- edit the Makefile and change the LUFA_PATH to wherever you installed LUFA
- make sure the avr-gcc and teensy_loader_cli are in your path
- execute
make
to build the hex file - press and release the tiny Teensy pushbutton to activate the HalfKey bootloader
- execute
make teensy
to download the hex file to the attached Teensy
If you don't want to build the software yourself just download the Gamepad.hex.save file and load it onto the Teensy using: teensy_loader_cli --mcu=atmega32u4 -w -v Gamepad.hex.save
Create a new model for the sbus gamepad on your transmitter. Make sure that you enable at least 4 channels (e.g. ailerons, elevator, throttle and rudder) for the receiver. Bind the receiver like you normally would. Use software like HTML5 Gamepad Tester to test the sbus gamepad. Once you have confirmed operation start your favorite simulator and see if it recognizes the sbus gamepad.
Date: 2018-09-21