pwm audio alternative

Having trouble with your GBZ build? Ask your questions here!
Post Reply
Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

pwm audio alternative

Post by Lpoolm » Mon Feb 12, 2018 10:49 am

So currently almost finished my latest build which is using an spi screen, because of this i can not use my usual pwm audio set up as gpio 18 is used by the screen.
so decided to use usb audio, looks easy and people like it but it is not working for me? I happen to of had the exact same audio hub that veterangamer used in his last great build which also had a great wiring diagram which i have followed but all i get is a little bit of low static nothing else! I have read through a few other threads and came across the below one
https://www.sudomod.com/forum/viewtopic ... dio#p51856
this explains a little bit of text that needs to be inputted to set up the audio within retropie, i have done this but still no sound.
So my question is if i go back to pwm audio is there an alternative pin i can use to gpio 18 as as mentioned this is taken up by my screen?
i have not uploaded a pic of my wiring as i have stripped it back down to start again but as mentioned it followed veterangamers guide from his last build, https://sudomod.com/forum/viewtopic.php?f=43&t=4858
thanks for your help :)
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

User avatar
rodocop
Posts: 1723
Joined: Mon Aug 22, 2016 3:14 pm
Location: Saskatchewan
Has thanked: 606 times
Been thanked: 608 times

Re: pwm audio alternative

Post by rodocop » Mon Feb 12, 2018 11:54 am

Well you could just do mono audio using GPIO 13, or try I2S audio? Also what screen are you using? I've done an SPI build, and did not use GPIO 18 at all. I was using Moosepr's tiny ili board, and you solder a resistor on the board, and do not need to connect a seperate wire for the backlight. I followed his guide and just skipped the GPIO 18 portion.

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

https://oshpark.com/shared_projects/zUNmnlLF
PWM 0 and 1 availableShow
Image
If you are using one of the screen with a built in red board, maybe there in another point to solder the BL to, not entirely sure!
Last edited by rodocop on Mon Feb 12, 2018 11:58 am, edited 1 time in total.

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: pwm audio alternative

Post by VeteranGamer » Mon Feb 12, 2018 11:55 am

Lpoolm wrote:
Mon Feb 12, 2018 10:49 am
So currently almost finished my latest build which is using an spi screen, because of this i can not use my usual pwm audio set up as gpio 18 is used by the screen.
so decided to use usb audio, looks easy and people like it but it is not working for me? I happen to of had the exact same audio hub that veterangamer used in his last great build which also had a great wiring diagram which i have followed but all i get is a little bit of low static nothing else! I have read through a few other threads and came across the below one
https://www.sudomod.com/forum/viewtopic ... dio#p51856
this explains a little bit of text that needs to be inputted to set up the audio within retropie, i have done this but still no sound.
So my question is if i go back to pwm audio is there an alternative pin i can use to gpio 18 as as mentioned this is taken up by my screen?
i have not uploaded a pic of my wiring as i have stripped it back down to start again but as mentioned it followed veterangamers guide from his last build, https://sudomod.com/forum/viewtopic.php?f=43&t=4858
thanks for your help :)

thats really disappointing.....

stick with the USB setup i did, for me its the best audio i've had on a build....




i would suggest that you use this as an option for the audio wiring.....
i've been using it in a few of my recent builds, and the audio has been good
(if its good enough for headphones, its gotta be good enough for a GBZ, and the wires easily twist so the Ground forms a shield)

Image

(Poundland Special)


Image
Image
Image

the same wire running through the whole audio setup, doesnt matter what colours what...
(but yellow for me GND and it runs through the whole setup, twisted and shielding the Left & Right audio)


and as Rodocop has also mentioned....
if your use Moosepr board you wont need to use GPIO 18 (but i'd try and stick with the USB audio)...

also if your not using Moosepr board, you can still get away from using GPIO 18,
by adding a 10ohm resistor to the LED wire and connecting it to the VCC at the screen end of your setup/wiring....
(on whatever board your using)

.

Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

Re: pwm audio alternative

Post by Lpoolm » Mon Feb 12, 2018 12:56 pm

rodocop wrote:
Mon Feb 12, 2018 11:54 am
Well you could just do mono audio using GPIO 13, or try I2S audio? Also what screen are you using? I've done an SPI build, and did not use GPIO 18 at all. I was using Moosepr's tiny ili board, and you solder a resistor on the board, and do not need to connect a seperate wire for the backlight. I followed his guide and just skipped the GPIO 18 portion.

If you are using one of the screen with a built in red board, maybe there in another point to solder the BL to, not entirely sure!
thanks, yes the board i am currently using has the red back board (cut down), i will give usb audio another go but atleast i know i have an alternative with gpio 13
my next project will be using a bare board and a moosepr ili board so hopefully will go smoother!
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

Re: pwm audio alternative

Post by Lpoolm » Mon Feb 12, 2018 12:59 pm

VeteranGamer wrote:
Mon Feb 12, 2018 11:55 am
Lpoolm wrote:
Mon Feb 12, 2018 10:49 am
So currently almost finished my latest build which is using an spi screen, because of this i can not use my usual pwm audio set up as gpio 18 is used by the screen.
so decided to use usb audio, looks easy and people like it but it is not working for me? I happen to of had the exact same audio hub that veterangamer used in his last great build which also had a great wiring diagram which i have followed but all i get is a little bit of low static nothing else! I have read through a few other threads and came across the below one
https://www.sudomod.com/forum/viewtopic ... dio#p51856
this explains a little bit of text that needs to be inputted to set up the audio within retropie, i have done this but still no sound.
So my question is if i go back to pwm audio is there an alternative pin i can use to gpio 18 as as mentioned this is taken up by my screen?
i have not uploaded a pic of my wiring as i have stripped it back down to start again but as mentioned it followed veterangamers guide from his last build, https://sudomod.com/forum/viewtopic.php?f=43&t=4858
thanks for your help :)

thats really disappointing.....

stick with the USB setup i did, for me its the best audio i've had on a build....

i would suggest that you use this as an option for the audio wiring.....
i've been using it in a few of my recent builds, and the audio has been good
(if its good enough for headphones, its gotta be good enough for a GBZ, and the wires easily twist so the Ground forms a shield)

the same wire running through the whole audio setup, doesnt matter what colours what...
(but yellow for me GND and it runs through the whole setup, twisted and shielding the Left & Right audio)


and as Rodocop has also mentioned....
if your use Moosepr board you wont need to use GPIO 18 (but i'd try and stick with the USB audio)...

also if your not using Moosepr board, you can still get away from using GPIO 18,
by adding a 10ohm resistor to the LED wire and connecting it to the VCC at the screen end of your setup/wiring....
(on whatever board your using)

.
thanks for your input, i will go to poundland and give one of them a try and follow your wiring guide again, i want it to work as i have never been happy with pwm audio but now my new kite board has turned up (which i had forgotten i ordered) I need to finish this so i can move on!
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: pwm audio alternative

Post by VeteranGamer » Mon Feb 12, 2018 1:42 pm

Lpoolm wrote:
Mon Feb 12, 2018 12:56 pm
i am currently using has the red back board (cut down), i will give usb audio another go but atleast i know i have an alternative with gpio 13
my next project will be using a bare board and a moosepr ili board so hopefully will go smoother!
Lpoolm wrote:
Mon Feb 12, 2018 12:59 pm
i will go to poundland and give one of them a try and follow your wiring guide again, i want it to work as i have never been happy with pwm audio

if you have the red board, then you should just be able to put a jumper from the LED/BL to the VCC as the board already has resistors on it....
(lif all else fails and you end up resorting to the PWM audio)

its worth a try, i've used the wire in a few builds now and its performed pretty good....
(strip and twist the lot and then just cut off the bits you need, saves you twisting every little bit)


.

Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

Re: pwm audio alternative

Post by Lpoolm » Sat Feb 17, 2018 7:54 am

right i have got my usb audio working!! :D
it turned out my usb audio hub was at fault, now i have lovely loud clear sound... except when i turn the volume wheel to minimum?
i then get a lot of static, once i turn the volume up past half way it goes crystal clear?
i have just tried ferite beads on the wires to the speaker but that makes no difference?
its not the end of the world but its not great if you want to play in silent!
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

User avatar
VeteranGamer
Posts: 1738
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 528 times
Been thanked: 909 times

Re: pwm audio alternative

Post by VeteranGamer » Sat Feb 17, 2018 8:06 am

Lpoolm wrote:
Sat Feb 17, 2018 7:54 am
right i have got my usb audio working!! :D
it turned out my usb audio hub was at fault, now i have lovely loud clear sound... except when i turn the volume wheel to minimum?
i then get a lot of static, once i turn the volume up past half way it goes crystal clear?
i have just tried ferite beads on the wires to the speaker but that makes no difference?
its not the end of the world but its not great if you want to play in silent!

could be a dodgy potentiometer.....


.

Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

Re: pwm audio alternative

Post by Lpoolm » Sat Feb 17, 2018 9:57 am

VeteranGamer wrote:
Sat Feb 17, 2018 8:06 am
Lpoolm wrote:
Sat Feb 17, 2018 7:54 am
right i have got my usb audio working!! :D
it turned out my usb audio hub was at fault, now i have lovely loud clear sound... except when i turn the volume wheel to minimum?
i then get a lot of static, once i turn the volume up past half way it goes crystal clear?
i have just tried ferite beads on the wires to the speaker but that makes no difference?
its not the end of the world but its not great if you want to play in silent!

could be a dodgy potentiometer.....
.
i tried a different one but same issue, however due to the size restrictions i had all the parts spread out all over the place to fit so lonnng wires. after moving things around and shortening there is a lot less static, its still there but better
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

Lpoolm
Posts: 392
Joined: Thu Jun 09, 2016 4:17 am
Location: uk
Has thanked: 76 times
Been thanked: 51 times

Re: pwm audio alternative

Post by Lpoolm » Sun Feb 18, 2018 9:01 am

Sorry to keep on with this but more advice needed..
I am to lack volume control, I turn the volume up and it comes on, I turn it down it goes quiet right at the end but is crackly then sound goes off?
There is no gradual volume increase /decrease.
I have tried different volume pots also different speakers and all the same?
Anything else I could try changing/adjusting?
Check out my modding and repair channel of retro and modern consoles:
https://www.youtube.com/channel/UCFz7yW ... GtQ/videos

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest