Data Storage Tool Display Human Input Protocol Math Motor Control Sensor Signal Generation & Processing Speech & Sound Fun View all Objects


Quick Links
Contact Us
Forums
Support

Register
Login

This object is provided under license. By downloading this object, you are agreeing to the terms of the MIT License.

Xbox 360 Chatpad 'Keyboard' Object

This demo interfaces the Propeller to the 'Chatpad' keyboard accessory of an Xbox 360 remote control.

A start() method defines the two pins handling serial tx & rx to the Chatpad, while standard serial object methods like rxcheck() are used to detect keystrokes. Please see the comment section within the Chatpad object for electrical interfacing details. The Chatpad requires a 3.3v supply and is equipped with keystroke-triggered backlight illumination.

The 8-byte 'keycode' message transmitted by the Chatpad is decoded by a cog using several 'keycode' lookup tables within hub memory. Only decoded keystrokes are forwarded to the rx_buffer for access via rxcheck(). Also, the cog automatically transmits a required 'stay awake' message every few seconds.

The character lookup tables may be modified as desired. I have tried to closely match table entries to the characters recognized by the Parallax Serial Terminal software whenever possible. The "orange", "green", "people", and "shift" keys are used to select alternative characters. I have chosen to use the "people" key to select some special operations recognized by the Parallax Serial Terminal like "clear screen", "clear below", "beep". The Backspace and Enter keys also function correctly within the Serial Terminal software environment.

Version:
  1.0

Type:
  Object

Attributes:


Author:
  Greg Porter

Categories:
  Human Input

Downloads:
  227

Last Updated:
  2009-09-14



User Reviews:



Comments on this Object:


[2011-03-09 08:12:33] Anonymous said:
Why dont you use words like Left, Right, Uturn, 180,360,auto,manual,off,standby, and (if you have a CMU cam or some kind of camera on it) Pic.Maybe stream to watch live video on a wireless monitor, or Rec to record a video and have a SD card in it to retrive when it returns. Those are some of my ideas. Reply
[2011-11-13 15:16:23] Anonymous said:
Hey,I've been trying to do something reverse of what you're doing, like emulating the chatpad to the remote by using an avr (say the lovely arduino). I cant seem to make it work,any advice or tip? jordan2_ delta at hot mail.com thanks Reply

Post a comment:




Please contact obex.support@parallax.com with comments or questions.

Copyright 2011 by Parallax, Inc.