Audio And Power Strip Help

Having trouble with your GBZ build? Ask your questions here!
Post Reply
Blender
Posts: 2
Joined: Sat May 12, 2018 6:44 pm
Been thanked: 1 time

Audio And Power Strip Help

Post by Blender » Sat May 12, 2018 7:16 pm

Hello everyone,
I am currently trying to build a Gameboy Zero, for my high school electronics capstone. I would like to mention that I'm by no means a electronics genius, and that is why I am here to appeal to you, the forum user.
Here it goes:
I'm currently facing an issue in which I can not figure out how to connect the audio(usb audio from syab) to the raspberry pi 0 without using a usb hub; is wiring it without a usb hub even a possibility?
IMG-0213.JPG
IMG-0213.JPG (1.9 MiB) Viewed 4143 times

https://www.amazon.com/external-Adapter ... io+adapter

User avatar
Lphillimore
Posts: 993
Joined: Sat Jan 07, 2017 7:03 pm
Location: Perth, WA
Has thanked: 796 times
Been thanked: 527 times

Re: Audio And Power Strip Help

Post by Lphillimore » Sat May 12, 2018 7:51 pm

Welcome to the forums and thanks for sharing. :D

This is definitely possible.

The Pi Zero only has 1x USB output in the form of a micro usb port or 2 data pads (22 and 23 shown below) that you can harness. (1 or the other).

It's easier to utilise the pads when building a handheld IMO.

I've not used that USB audio device before but it should work perfectly fine. That said, looking at your picture and the link provided, there are a couple of issues for you to fix.

1) You need to give the USB audio device a data and power feed where you have removed the male USB. Currently nothing is connected. Sometimes its written (5v, GND data +, and data -) on the device, perhaps on the other side of what the picture shows?

- The order is Red (5V), White, Green, Black (GND)

Wire the data from the Pi USB pads (see below) and wire the 5v and GND from the Helder power board you're using in the picture. Most USB audio devices have a power indicator light which will flash once connected correctly.
pi pads.PNG
pi pads.PNG (326.32 KiB) Viewed 4142 times
2) Looks like you've wired the USB audio card it to the microphone jack pads, not the audio out pads. You'll need to swap these over.

Im unsure of the layout of that device but worst case trial and error once its wired up to test for audio and channels. (A good test for both channels is Super Mario Land on Game Boy. Gold coins will not sound if you only have one channel active).

3) Assuiming the amp connects to a speaker?

4) Make sure you change the default Pi audio to USB from PWM - See here:

https://sudomod.com/forum/viewtopic.php?t=144

Let us know how you get on.

:mrgreen:

Blender
Posts: 2
Joined: Sat May 12, 2018 6:44 pm
Been thanked: 1 time

Re: Audio And Power Strip Help

Post by Blender » Sun May 13, 2018 5:44 pm

Thank you so much taking the time to assist me, your info has helped to enlighten my pea brain mind; however, how can I connect the USB audio to the pi0 without a USB hub when I also have to connect the teensy to pi0 by wiring it to the same USB port.

Better picture then the one I took last:
Pi0HelpMePLs.jpg
Pi0HelpMePLs.jpg (1.29 MiB) Viewed 4102 times

User avatar
tinkerBOY
Posts: 710
Joined: Tue May 30, 2017 4:00 am
Has thanked: 294 times
Been thanked: 206 times

Re: Audio And Power Strip Help

Post by tinkerBOY » Sun May 13, 2018 6:11 pm

You need a USB Hub if you're gonna use two or more USB devices in a Pi Zero.
Image

Guides:
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

User avatar
Thump52
Posts: 111
Joined: Fri Feb 03, 2017 7:34 am
Has thanked: 7 times
Been thanked: 27 times

Re: Audio And Power Strip Help

Post by Thump52 » Mon May 14, 2018 8:04 am

You can skip using the teensy by wiring to the pi's GPIO pins...look here >>>https://sudomod.com/forum/viewtopic.php?t=57> that way you can use your USB sound card to the pi's USB output. Hope this helps, good luck.
Gus 8-)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest