Raspberrypi zero !WH
-
Hi there.
I'm new user here.
I'm gonna use my old rpi0 as simply arcade emulator.
So , to achieve it , I need to configure GPIO as input encoder 2 joystick , 8 button per player and HK button.
Can some one link or explain me ho to do this?
attached below a pic of GPIO wanted :
Thanks a lot & take care about yourself and others around you.
-
@Gnomx said in Raspberrypi zero !WH:
Can some one link or explain me ho to do this?
Are you asking how to wire your buttons/joysticks or how to configure the GPIO to take the inputs and make it work as a controller ?
The latter can be done by using the mk_arcade_joystick_rpi driver, which is included in RetroPie. For the former, I'll let somebody else chime in, since I don't have experience with the soldering/electronics part. -
@mitu said in Raspberrypi zero !WH:
@Gnomx said in Raspberrypi zero !WH:
Can some one link or explain me ho to do this?
Are you asking how to wire your buttons/joysticks or how to configure the GPIO to take the inputs and make it work as a controller ?
The latter can be done by using the mk_arcade_joystick_rpi driver, which is included in RetroPie. For the former, I'll let somebody else chime in, since I don't have experience with the soldering/electronics part.Hi.
Yes I mean active GPIO in order do this. Can you explain how do it?
About solder and wiring , I get it.Many thanks
-
@Gnomx use ADAFRUIT RETROGAME software to encode buttons over gpio, it’s the easiest solution I’ve found and works great
-
@Gnomx said in Raspberrypi zero !WH:
Yes I mean active GPIO in order do this. Can you explain how do it?
Follow the link in my previous post to look at how the GPIO driver (mk_arcade_joystick_rpi) works and how it's configured. You can install it from the RetroPie-Setup packages (it's in the drivers section), so you can omit the installation part explained in the driver's documentation.
If you wish to use other method of GPIO-to-joystick mapping, there are other solutions, as @Capeman mentioned there's the ADAFRUIT RetroGame program (look it op) or GPIONext which offers similar functionality.
-
@mitu said in Raspberrypi zero !WH:
@Gnomx said in Raspberrypi zero !WH:
Yes I mean active GPIO in order do this. Can you explain how do it?
Follow the link in my previous post to look at how the GPIO driver (mk_arcade_joystick_rpi) works and how it's configured. You can install it from the RetroPie-Setup packages (it's in the drivers section), so you can omit the installation part explained in the driver's documentation.
If you wish to use other method of GPIO-to-joystick mapping, there are other solutions, as @Capeman mentioned there's the ADAFRUIT RetroGame program (look it op) or GPIONext which offers similar functionality.
Ok thanks.
I think MK is ok for my purpose , but it's just for RPi 2th gen ,right?
SO as Capeman says , im gonna install ADAFRUIT RETROGAME , i should use existing pinout , or can use all pin on board?
Next,if I'm on old Rp0 without wifi connection , is it possible make an offline install? -
@Gnomx said in Raspberrypi zero !WH:
I think MK is ok for my purpose , but it's just for RPi 2th gen ,right?
No, it applies to any models after the 2 - the 1st model had less GPIO pins available.
SO as Capeman says , im gonna install ADAFRUIT RETROGAME , i should use existing pinout , or can use all pin on board?
I'm not sure, you should check the RetroGame's schematics, they might have a preferred wiring schema.
Next,if I'm on old Rp0 without wifi connection , is it possible make an offline install?
It depends on what packages you already have installed, but you can connect the PI Zero to the internet using a microUSB cable to your PC and configuring USB/Ethernet gadget mode (https://www.circuitbasics.com/raspberry-pi-zero-ethernet-gadget/).
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.