The Pinbox Jr. is a basic prototype for a USB controller that is meant to give PC pinball games the feel of playing on a real pinball table. It does this by interfacing with the PC as a USB keyboard; the pinball buttons are mapped to various keys. The buttons implemented are the left and right bumpers, the start button, and a button for the plunger. The Pinbox Jr. uses the default key mapping from the game "Pinball Arcade" so it will work with this game simply by plugging it into the PC. The prototype of the Pinbox Jr. was developed on a Teensy 3.1 in order to take advantage of it's built in USB-HID functionality. Pinbox Jr. uses the built in composite keyboard/mouse/gamepad/serial descriptor provided with the Teensy.
This controller was selected because of the built in USB-HID
Small Momentary Push Button
The little red ones on the front of the Pinbox Jr.
Large Momentary Push Button
The two larger ones on the side.
2 general use small boards, 1 power rail board
The one used for the first Pinbox Jr. was an Adafruit shipping box!
The code has been updated to make use of the xyzometer! Right now it has been hooked up to the built in tap detection offered by the accelerometer. I'm not really sure how I like the feel when I'm playing the game.. but it works!. The code has been checked into the repo and is ready to upload to your arduino. Check it out!
Just added some new parts to the Pinbox Jr. prototype. First, a new power rail breadboard to help handle all the ground connections... the little red breadboard wasn't going to cut it anymore. Second, the Pinbox now has it's own short USB cable that's always attached. Finally, and most importantly, Pinbox Jr. now has an accelerometer inside the box! There's no support for it yet in the code... but the intention is to use this to detect bumping which will then translate to in game tilt. What's a pinball game without tilt?