Example program of decoding the DF Robotics xbee joystick serial output

Dependencies:   mbed

Weapons and Systems Engineering mbed DFRobotJoystick Interface

/media/uploads/jebradshaw/dfjoystick_xbee.jpg

This page provides an example of reading an ASCII comma separated variable string from the DR Robot Wireless Gamepad using the mbed micro-controller. The DF Robbot Wireless Gamepad is an Arduino programmable game controller with an on-board xbee wireless transceiver module. The gamepads used in the Weapons and Systems Engineering Department have been reprogrammed with the arduino sketch listed below.

/media/uploads/jebradshaw/joes_dfrobot_gamepad_example_20141021_mode.ino

The output of the joystick follows the GPS NMEA 0183 protocol as an ASCII string preceded by an "$JOYSTK", and terminated with an asterisk and a two character checksum (hex representation).

Below is a screen shot of the data streaming in TeraTerminal when the gamepad is connected directly to the PC (through a virtual COM port).

/media/uploads/jebradshaw/df_robot_data_stream.jpg

History

mbed WSE TSD xbee DF Robotics Joystick parse example default tip

2015-02-09, by jebradshaw [Mon, 09 Feb 2015 13:42:35 +0000] rev 1

mbed WSE TSD xbee DF Robotics Joystick parse example


Example program for using the mbed to decode the DFRobotics Joystick serial output from the xbee

2015-02-06, by jebradshaw [Fri, 06 Feb 2015 21:04:14 +0000] rev 0

Example program for using the mbed to decode the DFRobotics Joystick serial output from the xbee