As mentioned at the end of my last post, Adafruit did indeed figure out how to get RetroPie to work using their TFT screens, which was awesome, because it allowed me to use the one I had previously purchased without issue, and finally build my own GameBoy.Parts List:
- PowerBoost 500 Charger – Adafruit 1944 (Haven’t tried it, but item 2465 might be better for this. Also, hold onto that female USB connector. We’ll use that too.)
- 3.7V 2500 mAh LiPO Battery – Adafruit 328 (Had a few issues with this for some reason and eventually switched to item 353, which changed up the aesthetics of the project a bit.)
- Perma-Proto Half-Sized Breadboard – Adafruit 571 (If you purchase everything on the list at the same time, you might get one of these thrown in for free… at least I did.)
- 12mm Tactile Switch Buttons – Adafruit 1119 (You’ll use four of them for this project.)
- 6mm Tactile Switch Buttons – Adafruit 367 (You’ll use four of these also.)
- 6mm Slim Tactile Switch Buttons – Adafruit 1489 (Used two on the TFT.)
- 6-32 x 1″ Flat Head Philips Screws – McMaster 91771A153 (You’ll use two of these, so unless you’re going to use them for other things, you can probably grab similar parts at Home Depot, Lowes, etc.)
- 6-32 x 1 1/4″ Flat Head Philips Screws – McMaster 91771A155 (Four for this project. Can also be found elsewhere.)
- If you’re going for the larger battery from Adafruit, you’ll need two 6-32 x 3/8″ Flat Head Philips Screws – McMaster 91771A146 (I couldn’t find an equivalent at Home Depot… Used 1/2″ instead. Bleh.)
- 6-32 Hex Nuts – McMaster 91841A007 (if purchasing screws elsewhere, the nuts may come included in the packaging.)
- Micro SD card
- Soldering Iron
- 3D Printer (or printing service.)
- Dremel (Rotary or MultiMax)
Alright! Let’s get down to business!Set up the Raspberry Pi
Adafruit published THIS guide a while ago covering how to configure your setup to run RetroPie with the TFT screens. At the time of posting, it seems that the guide needs to be updated, but when I started this project, it worked flawlessly.
The guide doesn’t really cover setting up over WiFi, so if (like me) you don’t have a model B, or B+ lying around, you can find more information on that HERE.
If all goes well, you should be able to fire up RetroPie.
While we’re already digging around in the shell, go ahead and download Adafruit’s Retrogame software. My setup for mapping the buttons to their respective GPIO pins is below.
Feel free to change it up as you please.Prep Perma-Proto boards
This is where the Dremel comes in handy. Hack up the boards to the sizes/shapes below, and open up holes with a 2.5mm OD drill bit.
Solder the wires to the back of the boards using the images below as a guideline.
Solder the slim-tactile switches to the TFT in these two locations.
Connect the PowerBoost to the Pi and the SPDT switch as in the diagram below.
Solder the female USB connector that was included with the PowerBoost to the gift that keeps on giving (talkin’ 'bout you, Perma-Proto board), and wire that to the male connector.
Files can be found on my Thingiverse page HERE. The housing components are designed to print without support and the default PLA settings in Cura. For most of the buttons, I used NinjaFlex SemiFlex material (which you can now purchase in ‘sample’ quantities from Printrbot).
5/18/2016 UPDATE: Very proud to also have this work on MyMiniFactory! Still free to download. Tip me if you dare.Prep Housing for Hardware
Hex nuts should snugly fit into all their designed crevices.
Install press-fit inserts into the holes as shown (holes may need to be opened up slightly depending on how the print turned out).
**REMOVE THE SD CARD FROM THE PI BEFORE ASSEMBLY**
Fit the bottom components together, insert the SPDT switch, and screw the Pi, PowerBoost, and USB extension onto them.
Fit the top components together, place the D-Pad, Start, Select, A, B, R & L buttons into their respective locations, and screw down the Perma-Proto and TFT boards.
Connect all of your wires to the GPIO pins on the Pi. You’re going to want to remove the plastic housings from the connectors on the wires and instead cover them with heat shrink tubing. Otherwise they won’t fit when everything comes together.
Cover the battery with a layer of electric tape, connect it to the PowerBoost, and carefully sandwich it between the Pi and TFT as you line up the pins and close the housing together.
Insert your SD card, flip the SPDT switch to make sure everything works as intended, and secure the housing together with the 6-32 screws.If You Use the 353 Battery
The hex nuts slide into their spots from inside the battery housing extension.
Place the faceplate within the extension, mount the battery within, and screw the extension to the main component of the main housing base (DBP-3001-01 instead of DBP-3001-00). Make sure the wires and connector of the battery are accessible and can reach the PowerBoost.
The rest of the build is more-or-less the same.Play Your GameBoy
Hello, old friend!