Page 1 of 1
Gameboy Zero 4 buttons PCB wiring
Posted: Sat Feb 17, 2018 12:01 am
by Tarmin01
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
Re: Gameboy Zero 4 buttons PCB wiring
Posted: Sat Feb 17, 2018 3:11 am
by snoek09
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:
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
Re: Gameboy Zero 4 buttons PCB wiring
Posted: Sat Feb 17, 2018 7:07 pm
by rodocop
I always follow this guide. Similar to what is seen above
https://sudomod.com/forum/viewtopic.php?t=57
Re: Gameboy Zero 4 buttons PCB wiring
Posted: Tue Feb 20, 2018 8:30 am
by Tarmin01
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
Re: Gameboy Zero 4 buttons PCB wiring
Posted: Tue Feb 20, 2018 8:54 pm
by rodocop
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/
Re: Gameboy Zero 4 buttons PCB wiring
Posted: Sat Sep 15, 2018 1:39 pm
by Hunter Miller-Moreno
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?
Re: Gameboy Zero 4 buttons PCB wiring
Posted: Mon Jan 07, 2019 5:08 pm
by FlashyFrank
Hunter Miller-Moreno wrote: ↑Sat Sep 15, 2018 1:39 pm
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?
In the example given above by snoek09 L is 14 and R is 21.
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.