Easy way to setup the controller buttons via GPIO
- tinkerBOY
- Posts: 710
- Joined: Tue May 30, 2017 4:00 am
- Has thanked: 294 times
- Been thanked: 206 times
Re: Easy way to setup the controller buttons via GPIO
The audio issues has something to do with the way you setup the low pass filter, audio amp, potentiometer, & speaker i guess.
Here's mine, i followed b: Power and the low pass filter on the left side of the audio amp.
Very loud and clear for me.
Here's mine, i followed b: Power and the low pass filter on the left side of the audio amp.
Very loud and clear for me.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Re: Easy way to setup the controller buttons via GPIO
My setup is identical. Sound works fine from gpio 18 before I install your script. Its not the amps fault its software based due to the stutter and pause.
- firestw152
- Posts: 79
- Joined: Mon Mar 06, 2017 5:14 pm
- Has thanked: 22 times
- Been thanked: 3 times
Re: Easy way to setup the controller buttons via GPIO
I can't seem to find how to wire everything together but great guide. Is there a wire diagram anywhere?
- tinkerBOY
- Posts: 710
- Joined: Tue May 30, 2017 4:00 am
- Has thanked: 294 times
- Been thanked: 206 times
Re: Easy way to setup the controller buttons via GPIO
So how did you setup the software side of your gpio buttons before?
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Re: Easy way to setup the controller buttons via GPIO
I tried with pwm mono audio pin 18 working fine then installed gpio button script. System hangs on loading screen. Pull 18 from pi and normal function with working buttons.
Tried with buttons working then adding pwm.
Same result.
Pwm channel 0 pauses the system pwm 1 stutter pauses.
Curious to know why but not overly worried as usb audio is a world of difference.
Tried with buttons working then adding pwm.
Same result.
Pwm channel 0 pauses the system pwm 1 stutter pauses.
Curious to know why but not overly worried as usb audio is a world of difference.
Re: Easy way to setup the controller buttons via GPIO
Pwm audio did work fine with other gpio button setups but those setups did not work across all emulators like mega drive had no input.
But your script works fine with stuff all input lag.
But your script works fine with stuff all input lag.
- tinkerBOY
- Posts: 710
- Joined: Tue May 30, 2017 4:00 am
- Has thanked: 294 times
- Been thanked: 206 times
Re: Easy way to setup the controller buttons via GPIO
I'm assuming you used Adafruit retrogame program or something else? Because all the files that are installed by adafruit are the same files in this script. I just made the process simple.
I installed a fresh copy of RetroPie 4.2 into one my 4gb sdcards just now and installed this script. Put it in my GBZ, turned it on and after the initial retropie setup my gbz automatically rebooted, and after that everything seems to work just fine. no sound issues and buttons work fine.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
- firestw152
- Posts: 79
- Joined: Mon Mar 06, 2017 5:14 pm
- Has thanked: 22 times
- Been thanked: 3 times
Re: Easy way to setup the controller buttons via GPIO
Hey so do you think you can link me to a wire diagram on the USB audio? I bought the sabrent USB one if that matters.
- tinkerBOY
- Posts: 710
- Joined: Tue May 30, 2017 4:00 am
- Has thanked: 294 times
- Been thanked: 206 times
Re: Easy way to setup the controller buttons via GPIO
Sorry i have not tested any usb sound card yet. You can post a new topic.
New! tinkerBOY PowerSwitch v1.0 with Safe Shutdown
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Game Boy Zero Controllers available @ tinkerBOY.xyz * Support
tinkerBOY Controller v3.0 - built-in usb controller, usb audio, and usb hub
tinkerBOY Controller v2.0 - GPIO buttons and builtin PWM Audio and Amplifier
tinkerBOY Controller v1.1 - simple pcb button
* DPI Adapter - better display for GBZ
* keyboard converters - IBM XT/AT Soarer's Converter | ADB to USB Converter
Who is online
Users browsing this forum: No registered users and 1 guest