RC receiver as joystick

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.


Please log in to post comments.