issue with USB wiring (maybe)

General GBZ-related chat goes here. Share ideas, tips and tricks, or ask questions that don't fit into the hardware/software help forums.
Post Reply
Parn
Posts: 5
Joined: Sun Apr 09, 2017 1:25 pm
Location: Darmstadt (DE)
Been thanked: 1 time

issue with USB wiring (maybe)

Post by Parn » Sun Apr 09, 2017 1:44 pm

Hi there

First of all, this is my first post here.
Reading for some time now and "extracting" all the info I need for my own/first GBZ.

I am not much of an electronic guy... learing soldering and desoldering on the fly...
But I already dropped a few evenings into this project.

And now I am stuck...
Just don't know what's up.

Hope you are able to help.

Situation:
Current builing my "prototype".
Soldering everything togther outside of the case and checking step by step, if everything works.

Just soldered USB Audio to my Pi (Zero W) and checked if it is working.
Some issues with getting it up as boot audio, but solved this quickly.
For this, I connected a USB keyboard and did all needed configuration (found in this forum).
Worked flawless... Nice clear audio on my headphones. Even working stereo (even due to my crappy soldering).

shut down the system and soldered a potentiometer between the USB audio and the head phone jack.
Booted up the system...

No USB working anymore.
Not when connecting the USB keyboard, neither the Leonardo Pro Micro (alternate to the Teensy... worked before as well).

I am sitting in front of this mess for at least one hour...
no idea, what might be wired wrong.
(Might be the Ground on the Potentiometer is wrong and I shorted the whole USB Bus? or some crap like that...)

Perhaps one of you can have a look onto this and tell me, if you see any potential issues.
Would be very nice.

Overview:
gbz_complete.jpg
gbz_complete.jpg (4.12 MiB) Viewed 14687 times
Audio:
gbz_audio.jpg
gbz_audio.jpg (5.36 MiB) Viewed 14687 times
USB-Hub:
gbz_usb hub.jpg
gbz_usb hub.jpg (4.71 MiB) Viewed 14687 times
Power and Pi:
gbz_power.jpg
gbz_power.jpg (4.5 MiB) Viewed 14687 times
If you got any questions about this raw build... I will try my best to answer them.
Thanks in advance.

Parn
Posts: 5
Joined: Sun Apr 09, 2017 1:25 pm
Location: Darmstadt (DE)
Been thanked: 1 time

Re: issue with USB wiring (maybe)

Post by Parn » Sun Apr 09, 2017 2:24 pm

Disconnected the potentiometer and Audio Jack from The usb Audio... Keyboard still not working...

Parn
Posts: 5
Joined: Sun Apr 09, 2017 1:25 pm
Location: Darmstadt (DE)
Been thanked: 1 time

Re: issue with USB wiring (maybe)

Post by Parn » Wed Apr 19, 2017 1:46 pm

Seems I killed my USB Controller on the Pi :(
It did not recognize anything anymore.

Desoldered all parts step by step...
USB Audio, USB Hub...
Still not recognizing anything connected to USB.

Today I recieved a second pi...
Same img working absolutly fine in there.
USB is recognized.

So soldering a Potentiometer incorecctly to your usb audio can kill your pi...
not fun.

Still.... learned something from it.

What do you think? should I still be able to use the old USB hub?
Or will I kill the new pi with it as well?
disconnected the potentiometer, so...

any idea how to check that?

PI zero w are already sold out... so no third one I can order :)

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: issue with USB wiring (maybe)

Post by Lphillimore » Wed Apr 19, 2017 11:41 pm

Bad luck mate. Just be sure to wire you potentiometer correctly?

I've seen posts on here where the volume pots have a back to front pin out.

Is it a B103? That's what most people use I believe and certainly what I use.

Personally with my builds that used USB sound I put the potentiometer between the Speaker and the headphone jack.

Working backwards my audio wiring goes:

Speaker ---> Headphone Jack ---> Volume Pot ---> Audio Amp ---> USB Sound card ---> USB Hub ---> Powerboard ---> Powerboost / Banggood.

Ground from Volume pot and Headphone jack both went to common ground on my PCB.

Grounds for rest went to Powerboard.

I can see an audio amp in your pic but it's un-used?

I too managed to kill the USB data port on one of my Pi Zero Ws - rather more recklessly though by clipping the casing of the micro USB away for a nicer fit for the Pi.
Last edited by Lphillimore on Thu Apr 20, 2017 4:43 pm, edited 1 time in total.

ICMF
Posts: 279
Joined: Mon Mar 06, 2017 1:52 pm
Has thanked: 3 times
Been thanked: 97 times

Re: issue with USB wiring (maybe)

Post by ICMF » Thu Apr 20, 2017 9:58 am

Lphillimore wrote:
Wed Apr 19, 2017 11:41 pm

Working backwards my audio wiring goes:

Speaker --> Volume Pot ---> Headphone Jack ---> Audio Amp ---> USB Sound card ---> USB Hub ---> Powerboard ---> Powerboost / Banggood.
Does that mean your headphone volume is fixed, then? Wouldn't it make more sense to have the volume pot before the headphone jack, so you can adjust headphone volume?

User avatar
tyler335
Posts: 53
Joined: Mon May 16, 2016 2:43 pm
Has thanked: 17 times
Been thanked: 25 times

Re: issue with USB wiring (maybe)

Post by tyler335 » Thu Apr 20, 2017 11:00 am

Look at the back the package your potentiometer came in. You need to connect your ground to the "common" pin.
Image
The "common" pin shown above is pin #1. Use this image as reference only though. Your potentiometer could have a different pinout.
Check out my latest GBZ build: http://www.sudomod.com/forum/viewtopic. ... 779#p35779

Image.......Image.......Image

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: issue with USB wiring (maybe)

Post by Lphillimore » Thu Apr 20, 2017 4:42 pm

ICMF wrote:
Thu Apr 20, 2017 9:58 am
Lphillimore wrote:
Wed Apr 19, 2017 11:41 pm

Working backwards my audio wiring goes:

Speaker --> Volume Pot ---> Headphone Jack ---> Audio Amp ---> USB Sound card ---> USB Hub ---> Powerboard ---> Powerboost / Banggood.
Does that mean your headphone volume is fixed, then? Wouldn't it make more sense to have the volume pot before the headphone jack, so you can adjust headphone volume?
A good callout and my mistake! :lol:

I of course meant:

Speaker ---> Headphone Jack ---> Volume Pot

I will amend my post.

User avatar
moosepr
Posts: 524
Joined: Wed Jan 25, 2017 6:18 am
Has thanked: 69 times
Been thanked: 241 times
Contact:

Re: issue with USB wiring (maybe)

Post by moosepr » Fri Apr 21, 2017 12:21 am

Something else to try. The data wires for the usb should be twisted to stop interference. Doesn't explain why the pot broke your pi, but it does help most usb issues
Get a small cheep LCD in your project https://www.sudomod.com/forum/viewtopic.php?f=22&t=2312
Wrap it all round a battery https://www.sudomod.com/forum/viewtopic.php?f=13&t=2292
Or use a custom PCB to make it really small https://www.sudomod.com/forum/viewtopic.php?f=13&t=2512
or make it really really really really tiny!! https://www.sudomod.com/forum/viewtopic.php?f=13&t=2919

Parn
Posts: 5
Joined: Sun Apr 09, 2017 1:25 pm
Location: Darmstadt (DE)
Been thanked: 1 time

Re: issue with USB wiring (maybe)

Post by Parn » Mon Apr 24, 2017 1:21 pm

Lphillimore wrote:
Wed Apr 19, 2017 11:41 pm
I can see an audio amp in your pic but it's un-used?
It is...
Since I am a beginner, I am working myself forward step by step.
So I was getting from Display to Controls to Power/Battery and finally audio.

Got the USB Audio working with the headphone...
Wanted to add the Pot to control the volume.
Last would have been to get the speaker working with the amp, if needed.
Read some comments here, which stated that the amp is not always necessary when using USB audio.
tyler335 wrote:
Thu Apr 20, 2017 11:00 am
Look at the back the package your potentiometer came in. You need to connect your ground to the "common" pin.
The "common" pin shown above is pin #1. Use this image as reference only though. Your potentiometer could have a different pinout.
Got the Pot from Ebay.
No notes included in the package...
It was the only stereo pot i found with the correct mesearuments.

I "assumed" the wiring by the pictures on the ebay page:
http://r.ebay.com/3SGt7q
Might be a hard guess, but i understood the last picture (where they they show what to solder to use it with the GBA) that the unsolded pin would be GND.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest