Dependencies:   PwmIn USBDevice USBJoystick mbed

RC receiver as joystick

PWMIn class defines your pins which are connected to certain channels on receiver. I suggest you keep the order and just swap pins (since order defines axis identified in computer through USB and generic Joystick driver. You can also calibrate your Joystick.

Tested on mbed boards

  • NUCLEO-F401RE

Initial tests were done with NUCLEO-F401RE and was tested on Chromebook, with PicaSim, Linux PC with CRRCSim and FlightGear. Because it is just Joystick it can be used in any game supporting joysticks (from car simulations to everyday games). No more need for special cables to get your transmitter to the computer.

Requirements, Test Cases and Design

Since this was done before project was started I used a simple notebook to outline the required work. It is still available on https://os.mbed.com/users/Letme/notebook/rc-receiver-as-joystick/

History

Stable version default tip

2018-10-18, by Letme [Thu, 18 Oct 2018 20:31:36 +0000] rev 0

Stable version