3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

USB Game Pad With Tilt-accelerometer Mouse

Step 9Closing it up

Closing it up
«
  • deribbon.jpg
  • sticky1_t.jpg
  • adxlstick.jpg
  • cabletwist_t.jpg
  • resethole_t.jpg
  • done_t.jpg

 
Now that the mouse and keyboard are working, we can close up the game pad. This is actually the toughest part of the project, as the enclosure has plastic standoffs that are in the way.

One thing that will help is 'deribboning' the ribbon cable, so that it is easy to push around the wires [see image 9a].

Use sticky foam tape or hot glue to place the Teensy right at the top [see image 9b].

Likewise, align the accelerometer so that it is as shown (otherwise you may have some flipped axes. You should put it near the middle but we didn't see any difference being in this location [see image 9c].

Finally, twist the USB cable so that it goes through the strain relief posts. If this makes it really tough to close you can probably skip it and just be careful not to yank! [see image 9d]

As you close the case, use tweezers to poke the wires around inside so that they do not interfere with the standoffs.

We wanted to make sure we could update the code without going through the disassembly process, so we drilled a hole in the back right over where the button is, then used a paper clip to push the tiny button [see image 9e]. You can also just solder two wires to GND and RST and bring these out of the case, when shorted it will start the bootloader.

You're done! Enjoy your new toy, and modify the sketch if you need to change the key commands or mouse movements.

« Previous StepDownload PDFView All StepsNext Step »
1 comment
Apr 28, 2010. 3:20 PMBen Harden says:
Looks great! I'll have to try this some time.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
234
Followers
17
Author:adafruit(Adafruit Industries)
All-original DIY electronics kits - Adafruit Industries is a New York City based company that sells kits and parts for original, open source hardware electronics projects featured on www.adafruit.com ...
more »