Pwm audio
- Robochris
- Posts: 310
- Joined: Thu Feb 16, 2017 7:49 am
- Location: Ohio
- Has thanked: 82 times
- Been thanked: 41 times
Pwm audio
Guys, I’m at a loss.
So I swapped controller pcbs in one of my gbz. The audio worked for a few minutes and when I started messing with the volume control it went out completely. I have replaced every component in the audio circuit - speaker, amp, vol. wheel, and even swapped the pi itself. Flashed an new retropie install and added the pwm lines to the config.txt.
Checked continuity between all points and 5v at the amp.
Still no audio. At all.
Any ideas?
So I swapped controller pcbs in one of my gbz. The audio worked for a few minutes and when I started messing with the volume control it went out completely. I have replaced every component in the audio circuit - speaker, amp, vol. wheel, and even swapped the pi itself. Flashed an new retropie install and added the pwm lines to the config.txt.
Checked continuity between all points and 5v at the amp.
Still no audio. At all.
Any ideas?
Last edited by Robochris on Wed Jan 23, 2019 11:30 am, edited 1 time in total.
"What a horrible night to have a curse."
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
- correia5022
- Posts: 202
- Joined: Mon Dec 05, 2016 12:32 am
- Location: Portugal
- Has thanked: 17 times
- Been thanked: 38 times
Re: Pwm audio
Whats the board you are using?
Any photo of the wiring?
Any photo of the wiring?
________________________________________
Starting on electronics
My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website
Starting on electronics

My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website
- Robochris
- Posts: 310
- Joined: Thu Feb 16, 2017 7:49 am
- Location: Ohio
- Has thanked: 82 times
- Been thanked: 41 times
Re: Pwm audio
Glitchd gaming common ground.
"What a horrible night to have a curse."
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: Pwm audio
I would wire the PWM pins direct to the amp, and see if the speaker works. Then start adding components back in. The PWM pads on the PCB will go through the volume wheel before going to the amp, so confirm that it is working too. I also see that you have both PWM pins going to the common ground board, so why not use all 5 wires to the volume wheel? You would only use three for mono audio. The way you have it wired you will not be controlling any volume on the PWM R side.
Also, since you have both L and R connected to the amp, Bridge L+ out and R+ out and then connect that to the speaker along with a ground. (mix two channels to one for the speaker)
Also, to confirm, did you add the mono audio or stereo audio line to the config.txt, and be certain you have the proper GPIO pins connected to the pi.
Also, since you have both L and R connected to the amp, Bridge L+ out and R+ out and then connect that to the speaker along with a ground. (mix two channels to one for the speaker)
Also, to confirm, did you add the mono audio or stereo audio line to the config.txt, and be certain you have the proper GPIO pins connected to the pi.
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- Robochris
- Posts: 310
- Joined: Thu Feb 16, 2017 7:49 am
- Location: Ohio
- Has thanked: 82 times
- Been thanked: 41 times
Re: Pwm audio
I originally had all 5 wires hooked up and both channels to the speaker. this is just where I am at shuffling things around to get anthing out of the speaker.rodocop wrote: ↑Wed Jan 23, 2019 11:36 amI would wire the PWM pins direct to the amp, and see if the speaker works. Then start adding components back in. The PWM pads on the PCB will go through the volume wheel before going to the amp, so confirm that it is working too. I also see that you have both PWM pins going to the common ground board, so why not use all 5 wires to the volume wheel? You would only use three for mono audio. The way you have it wired you will not be controlling any volume on the PWM R side.
Also, since you have both L and R connected to the amp, Bridge L+ out and R+ out and then connect that to the speaker along with a ground. (mix two channels to one for the speaker)
Also, to confirm, did you add the mono audio or stereo audio line to the config.txt, and be certain you have the proper GPIO pins connected to the pi.
I have used both mono and stereo lines to config.txt. (not at the same time.)
"What a horrible night to have a curse."
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
- Robochris
- Posts: 310
- Joined: Thu Feb 16, 2017 7:49 am
- Location: Ohio
- Has thanked: 82 times
- Been thanked: 41 times
Re: Pwm audio
Ok, I ran the gpio pins to the amp. no sound. it seems the pi isnt out putting sound.rodocop wrote: ↑Wed Jan 23, 2019 11:36 amI would wire the PWM pins direct to the amp, and see if the speaker works. Then start adding components back in. The PWM pads on the PCB will go through the volume wheel before going to the amp, so confirm that it is working too. I also see that you have both PWM pins going to the common ground board, so why not use all 5 wires to the volume wheel? You would only use three for mono audio. The way you have it wired you will not be controlling any volume on the PWM R side.
Also, since you have both L and R connected to the amp, Bridge L+ out and R+ out and then connect that to the speaker along with a ground. (mix two channels to one for the speaker)
Also, to confirm, did you add the mono audio or stereo audio line to the config.txt, and be certain you have the proper GPIO pins connected to the pi.
I also tried reassigning pins but that didnt work either.
"What a horrible night to have a curse."
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
- Robochris
- Posts: 310
- Joined: Thu Feb 16, 2017 7:49 am
- Location: Ohio
- Has thanked: 82 times
- Been thanked: 41 times
Re: Pwm audio
okay. so i just hooked everything back up how it should be and I have sound. when i bridge the channels, I lose sound again.
Thoughts why?
Thoughts why?
"What a horrible night to have a curse."
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
- rodocop
- Posts: 1723
- Joined: Mon Aug 22, 2016 3:14 pm
- Location: Saskatchewan
- Has thanked: 606 times
- Been thanked: 608 times
Re: Pwm audio
hmm, weird, if you loose sound when bridged, it might just be best to run mono audio instead. Then you don't have to worry about to. For the majority of older games mono is 100% fine.
_____________________________________________________
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
My Minty Pi builds:
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3628
My GBZ builds:
http://www.sudomod.com/forum/viewtopic. ... 813#p50813
My modded DMG-01's:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2696
My NESpi:
http://www.sudomod.com/forum/viewtopic.php?f=13&t=2941
My Gaboze Pocaio's
https://sudomod.com/forum/viewtopic.php?f=13&t=6063
- Robochris
- Posts: 310
- Joined: Thu Feb 16, 2017 7:49 am
- Location: Ohio
- Has thanked: 82 times
- Been thanked: 41 times
Re: Pwm audio
Yeah im fine with mono anyways. Now, again I lost all sound. I dont know what I want to do with it now.
"What a horrible night to have a curse."
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
VMU viewtopic.php?f=62&t=7623
Gbz1 viewtopic.php?f=43&t=2853
Gbz2 viewtopic.php?f=43&t=3174
Gbz3 viewtopic.php?f=43&t=6095&p=62287#p62287
Mintypi viewtopic.php?f=32&t=3580
PocketPi viewtopic.php?f=43&t=8643
- correia5022
- Posts: 202
- Joined: Mon Dec 05, 2016 12:32 am
- Location: Portugal
- Has thanked: 17 times
- Been thanked: 38 times
Re: Pwm audio
(thats a aio board, not a common ground)
You bridge outputs? from the amp?
I dont think pam8403 amp likes bridged outputs.. i even think it would probablt fry it after some time..
You bridge outputs? from the amp?
I dont think pam8403 amp likes bridged outputs.. i even think it would probablt fry it after some time..
________________________________________
Starting on electronics
My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website
Starting on electronics

My first build, 2 years later
https://sudomod.com/forum/viewtopic.php ... 8&start=30
Check out my Boombox: https://nrcboombox.wixsite.com/website
Who is online
Users browsing this forum: Majestic-12 [Bot] and 1 guest