Hi guys,
I've just recieved this pcb with some gameboys buttons buth without any wiring indications.
Does someone know how should I wire it to my RPi zero? I'm new to this stuff and all I've found are PCB with chip on it. Do I need an arduino between the pcb and the pi zero?
Thanks
Gameboy Zero 4 buttons PCB wiring
Gameboy Zero 4 buttons PCB wiring
- Attachments
-
- 1518850649477-2114433726.jpg (800.22 KiB) Viewed 7199 times
-
- 15188506223811098351859.jpg (943.92 KiB) Viewed 7199 times
-
- Posts: 145
- Joined: Sat May 20, 2017 3:06 am
- Location: Amsterdam, The Netherlands
- Has thanked: 48 times
- Been thanked: 43 times
Re: Gameboy Zero 4 buttons PCB wiring
I have the same board and use this pinout:
Left Trigger button is on BCM14. You can see all pi zero pins on https://pinout.xyz
In /boot/retrogame.cfg you need to add this:
Left Trigger button is on BCM14. You can see all pi zero pins on https://pinout.xyz
In /boot/retrogame.cfg you need to add this:
Code: Select all
UP 0 # 'UP' button
DOWN 5 # 'DOWN' button
LEFT 1 # 'LEFT' Button
RIGHT 12 # 'RIGHT' button
A 19 # 'A' Button
B 16 # 'B' button
X 26 # 'X' button
Y 20 # 'Y' button
ENTER 13 # 'ENTER' button
SPACE 6 # 'SELECT' button
L 14 # 'Left' Shoulder button
R 21 # 'Right' Shoulder button
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: Gameboy Zero 4 buttons PCB wiring
I always follow this guide. Similar to what is seen above
https://sudomod.com/forum/viewtopic.php?t=57
https://sudomod.com/forum/viewtopic.php?t=57
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
Re: Gameboy Zero 4 buttons PCB wiring
Thanks
By the way I've bought one Teensy in order to help the Pi with the buttons. I hope I will do the right things to do to have a working GBZ
By the way I've bought one Teensy in order to help the Pi with the buttons. I hope I will do the right things to do to have a working GBZ
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: Gameboy Zero 4 buttons PCB wiring
Yeah. You can use a teensy if you want. But the guide I linked is to be used instead of the teensy.
Wermy wired up a teensy in part 2 of his guide. Check it out here.
https://www.sudomod.com/game-boy-zero-guide-part-2/
Wermy wired up a teensy in part 2 of his guide. Check it out here.
https://www.sudomod.com/game-boy-zero-guide-part-2/
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
-
- Posts: 3
- Joined: Sat Sep 15, 2018 12:59 pm
- Been thanked: 2 times
Re: Gameboy Zero 4 buttons PCB wiring
I am also planning on doing this project, but what pins are for the left and right trigger? and do I just ground the buttons to the ground pin right? Also after I wire it up will retropie automatically recognize the controller?
- FlashyFrank
- Posts: 133
- Joined: Tue Feb 13, 2018 3:22 pm
- Location: Portland, Oregon
- Has thanked: 42 times
- Been thanked: 24 times
Re: Gameboy Zero 4 buttons PCB wiring
In the example given above by snoek09 L is 14 and R is 21.Hunter Miller-Moreno wrote: ↑Sat Sep 15, 2018 1:39 pmI am also planning on doing this project, but what pins are for the left and right trigger? and do I just ground the buttons to the ground pin right? Also after I wire it up will retropie automatically recognize the controller?
For grounding the buttons you should just need to connect the ground on the pcb to one of the grounds on your pi.
Retropie will not automatically know to accept controller inputs through the gpio pins. So you will need to install Retrogame (https://learn.adafruit.com/retro-gaming ... s-software) You might need to edit the Retrogame configuration file in order to make sure all your buttons work with the gpio's you chose.
Who is online
Users browsing this forum: No registered users and 1 guest