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

Committer:
jebradshaw
Date:
Mon Feb 09 13:42:35 2015 +0000
Revision:
1:bc6098f1dd1a
Parent:
0:ce988e55f00d
mbed WSE TSD xbee DF Robotics Joystick parse example

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jebradshaw 0:ce988e55f00d 1 http://mbed.org/users/mbed_official/code/mbed/builds/e188a91d3eaa