Larger Screen version of PIGRRL 2 by Elavos 3d model
Warning. This content is not moderated and could be offensive.
sexy
3dmdb logo
Thingiverse
Larger Screen version of PIGRRL 2 by Elavos

Larger Screen version of PIGRRL 2 by Elavos

by Thingiverse
Last crawled date: 2 years, 11 months ago
Sept 3rd. Update: Added inside pictures as per requests. Please feel free to get in contact if you need further information. Have fun!
I have just completed my PIGRRL 2 with alarger LCD, 3.5 inches from "Tontec" and larger battery set 3200mh. Thanks to Adafruit and great documentation, along with some great web sites with some key tweaks, I was able to make it work.
Notes:
As I have used a different LCD (TONTEC 3.5) so I had to do some tweaks to work with the orginal image supplied:
Install the LCD driver (http://www.itontec.com/download/);
Had to change the flatcable pinouts to other available pinouts because my LCD use some of the PIGGRL 2 required GPIO pins;
Changing the flatcable pinouts requires also to change pinout mapping on Adafruit "retrogame" application (https://github.com/adafruit/Adafruit-Retrogame);
Had some issues with the LCD to show up Retropie on the screen, so I have installed "raspi2fb" a software that copy the image to a secondary framebuffer (https://github.com/AndrewFromMelbourne/raspi2fb#raspian-wheezy).
Finally had to learn how to use Autodesk Fusion 360 in order to adjust the screen size.
Below some 'tweaks' in order to properly compile and install retrogame on Jessie:
sudo apt-get install libncurses5-dev libncursesw5-dev
unzip
make CFLAGS=-DCUPCADE
sudo make install
sudo modprobe uinput
sudo retrogame
sudo nano /etc/udev/rules.d/10-retrogame.rules
SUBSYSTEM=="input", ATTRS{name}=="retrogame", ENV{ID_INPUT_KEYBOARD}="1"
sudo nano /etc/rc.local
/usr/local/bin/retrogame &
And the mapping I decided to use (retrogame.c):
{ 27, KEY_LEFT }, // Joystick (4 pins)
{ 19, KEY_RIGHT },
{ 16, KEY_UP },
{ 26, KEY_DOWN },
{ 23, KEY_LEFTCTRL }, // A/Fire/jump/primary/RED
{ 24, KEY_LEFTALT }, // B/Bomb/secondary/YELLOW
{ 20, KEY_Z }, // X/BLUE
{ 14, KEY_X }, // Y/GREEN
{ 5, KEY_SPACE }, // Select
{ 6, KEY_ENTER }, // Start
{ 12, KEY_A }, // L Shoulder
{ 13, KEY_S }, // R Shoulder
Had a real fun doing, I have already built 2 for my 2 kids. My wife is now aking for a 3rd one, maybe next will be 5 inches or 7 inches :)

Tags