Hereâ€™s another fantastic tutorial from our Open Source Arduino master, Matt. See all of our Arduino projects.
In the spirit of the open source gameboy (#5 on the Top 40 Arduino Projects of the Web), Matt’s latest project uses a few Arduino shields to make the Open Source “PSP” with two-player ping-pong. Since the PSP has dual controllers mounted on either side of a screen, the Open Source PSP project also has two sets of controllers linked to a central touchscreen.
The TripleWide Extendershield from Liquidware replicates the Arduino pins in three places, so three shields can be physically connected to and controlled by a single Arduino board. Two InputShields are used in left and right hand configurations for joystick-controllers, and the TouchShield Slide an Arduino OLED-touchscreen shield used for the display. All three are placed on top of the TripleWide, and an Arduino board (in this case the Duemilanove) is placed underneath, as shown in the chalkboard drawing below:
Assembling the hardware, in this case, is quite straightforward. Snap the Arduino on to the center slot of the TripleWide like this:
Flip the TripleWide over, then place the InputShields (one “left-handed” and one “right-handed”) on the outer slots, and the TouchShield Slide on the central slot. The finished gadget should look like this:
For a refresher on getting started with the Arduino, the HackNMod introduction to the Arduino will probably come in handy. You can get all the parts in a kit if you’d like and the source code for two-player ping-pong on the Open Source PSP. The source code is packaged into a single file with everything needed to program each of the modules in this project. The Antipasto Arduino IDE to run the file can be downloaded here, along with more instructions. Then you’re ready to challenge a friend to some handheld, open source, Arduino ping-pong!