I am building two customized Pocket Pigrrl's for my daughter and niece. As a kid the NES system was mine, but my younger sister owned the original gameboy which I constantly stole from her on car trips so it seemed right that both our kids have little portable gameboy like devices. I am also hoping that this device will help keep mommy's phone away from the children.
I started out by cutting down the half sized perma proto board and laying out the buttons for a 4 button pigrrl. I used my dremel to cut down the perma proto boards and then attached the 6mm tactile buttons onto the cut down proto board. Then I layed out the Raspberry Pi A+, PowerBoost 1000C and Audio Amp boards inside the case and started cutting some wire.
Next I wired up the switch and applied the heatshrink tubing, then I attached the wires to the audio jack of the raspberry pi and connected them to the PowerBoost.
I made a table of all the GPIO inputs on the Pi, and where they map to in the Pocket Pigrrl project:
|Wire #||Pin||Key||Connect to|
|3||GPIO 2||Key X||Perma Proto Controller|
|5||GPIO 3||Key Y||Perma Proto Controller|
|7||GPIO 4||Key Left||Perma Proto Controller|
|9||GND||N/A||Perma Proto Controller|
|11||GPIO 17||Key Right||Perma Proto Controller|
|12||GPIO 18||Key Up||Perma Proto Controller|
|13||GPIO 27||Key Down||Perma Proto Controller|
|15||GPIO 22||Key A||Perma Proto Controller|
|16||GPIO 23||Key B||Perma Proto Controller|
I soldered all of the ground wires for the controller and clipped the unnecessary wires from the Pi GPIO cable.
The last step was to solder all of the controller buttons to the perma proto board and test that everything was working properly.
I downloaded the Adafruit RetroPi image and everything fired right up. I found that the up button was turning off the screen, so I cut the GPIO18 backlight trace on the back of both screens and the system is working properly, now it is time to load some ROMS!