Page 1 of 1

Audio And Power Strip Help

Posted: Sat May 12, 2018 7:16 pm
by Blender
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 4153 times

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

Re: Audio And Power Strip Help

Posted: Sat May 12, 2018 7:51 pm
by Lphillimore
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 4152 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:

Re: Audio And Power Strip Help

Posted: Sun May 13, 2018 5:44 pm
by Blender
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 4112 times

Re: Audio And Power Strip Help

Posted: Sun May 13, 2018 6:11 pm
by tinkerBOY
You need a USB Hub if you're gonna use two or more USB devices in a Pi Zero.
Image

Guides:

Re: Audio And Power Strip Help

Posted: Mon May 14, 2018 8:04 am
by Thump52
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.