Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: PwmIn USBDevice USBJoystick mbed
requirements test cases design
Target OS¶
Linux, Android
Requirement¶
Any RC receiver shall connect through mbed device to USB in target OS and be presented as joystick.
Test case¶
Identify as joystick on Linux¶
Connect RC receiver to mbed device. Connect mbed device to Linux PC. Confim that Linux sees device as joystick.
Identify as joystick on Android¶
Connect RC receiver to mbed device. Connect mbed device to Linux PC. Confim that Android sees device as joystick.
RC transmitter stick movement corresponds in target OS¶
Connect receiver to target OS. Confirm RC transmitter stick movement corresponds to correct axis movemen on target OS.
Design¶
Connect PWM outputs on receiver to pins on mbed device. Read pins on mbed device and calculate the movement integers according to standard values for standard joystick driver.
Present mbed device as joystick on target OS and push data streams for each axis corresponding to values obtained through calculations from PWM pins.
content of this page is taken from https://os.mbed.com/users/Letme/notebook/rc-receiver-as-joystick/ , which was written before development started.