You can change some settings on your tinkerBOY Controller v3.0 by communicating with it via USB serial using a program called minicom.
Login to your Pi via SSH or hit F4 to go to the command line. Install minicom by typing the following command:
sudo apt-get install minicom
Type “y” and press enter.
Wait for it to install.
Setup The Program
Before you can use minicom you need set it up to communicate with the your v3.0 board. Type the following:
sudo minicom -s
Select “Serial port setup” and press enter. Press ‘a’ and change “Serial Device” to
/dev/ttyACM0. Press enter twice and select ” Save setup as dfl”. Select “Exit” and press enter.
Commands you can use to display the status of a particular setting:
a – for displaying the current Analog Joystick settings.
d – for displaying the current Digital Volume setting.
v – for the current software version.
z – for the Deadzone value.
You can exit the program by “CTRL + A” then press ‘X’.
This guide will help you setup the USB Audio on the tinkerBOY Controller V3.0 as the default sound output device in RetroPie.
Assuming you’ve already followed the wiring guide and connected your v3.0 board to a Raspberry Pi, login via SSH or connect a keyboard and hit F4 to go to the command line.
First, check if usb audio is detected by typing:
Output should be something like:
pi@retropie:~ $ cat /proc/asound/modules
0 snd_bcm2835 – This is the builtin sound device in Raspberry Pi.
1 snd_usb_audio – This is the USB Audio you need to setup as the default sound device.
Now create a file by typing:
sudo nano etc/asound.conf
Paste the following:
# Copy both input channels to output channel 1 (Right).
# Send nothing to output channel 0 (Left).
Finally, save the file by CTRL + X, press Y, and press ENTER.
Reboot by typing
sudo reboot. You should be able to play sound from your v3.0 board.
By default, both of the analog joysticks on the tinkerBOY Controller v3.0 are disabled but you can enable or disable one or both by following How to Enable or Disable Analog Joysticks.
Here’s how to wire the PSP1000 Analog Stick:
I designed the tinkerBOY Controller V3.0 from scratch so you can easily build your own Game Boy Zero or Game Boy 3. It’s a big upgrade from my other controller boards like the v2.0 and v2.2. and all the components I used are USB based in order to minimize wire connections.
The board is already pre-programmed as a USB gamepad and supports two analog joysticks that can be easily enabled via command line on the Raspberry Pi or on Windows PC or Mac.
Building your own Game Boy Zero for the first time is a bit confusing sometimes, especially for beginners without any prior knowledge of electronics. So I’m hoping this page will help you get started with your new tinkerBOY Controller v3.0.
Software Configuration Guides:
Recommended DMG Case Mod:
You can download the 6-Button Template and print it in its actual size. If you’re printing it from Chrome uncheck the “Fit to page” from the “Scale” option.
There are two ways you can enable or disable analog joysticks:
Press and hold the “START” button for 15 seconds and reboot. This method only works with Analog Joystick 1. You need Method 2 if you want to enable or disable Analog Joystick 2.
With the builtin usb serial communication of the tinkerBOY Controller v3.0 you can easily enable or disable Analog Joysticks through software. In order to do that, you need install the minicom program by following the instruction at tinkerBOY Controller v3.0: Settings.
Start minicom by typing
sudo minicom. Start by checking the current status of the Analog Joysticks by pressing ‘a’.
Here’s how to enable or disable one or both analog joyticks:
- Press 1 to enable or disable Analog Joystick 1.
- Press 2 to enable or disable Analog Joystick 2.
That’s it. 🙂
Before you wire a 3-pin volume wheel make sure you disable the “Digital Volume” setting on your tinkerBOY Controller v3.0.
The diagram below shows where to connect to the PWM audio on a Pi Zero(bottom view):
PWM0 and PWM1 are the right and left audio channels corresponding to GPIO 18 and GPIO 13 on the Pi Zero.
Your /boot/config.txt should include the following line:
/etc/modprobe.d/alsa-base.conf and the add the following:
options snd_usb_audio index=0
options snd_bcm2835 index=1
options snd slots=snd-usb-audio,snd-bcm2835
You can test it by using the command
Output should be:
Edit the file
/boot/config.txt and comment the line:
Now edit the file
/etc/modprobe.d/alsa-blacklist.conf and add:
Finally edit the file
/lib/modprobe.d/aliases.conf and comment the line:
#options snd-usb-audio index=-2
Or if you just want the USB Audio to be your primary sound device.