Sound output pwm wont work(SOLVED)
- Lphillimore
- Posts: 993
- Joined: Sat Jan 07, 2017 7:03 pm
- Location: Perth, WA
- Has thanked: 796 times
- Been thanked: 527 times
Re: Sound output pwm wont work
You got any photos? Also s screenshot of for config??
mintyPi Giveaway [CLOSED]:
http://www.sudomod.com/forum/viewtopic.php?f=38&t=3456
Builds:
GBZ
http://www.sudomod.com/forum/viewtopic.php?f=9&t=2838
mintyPi
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3468
Kite SAIO
http://www.sudomod.com/forum/viewtopic.php?f=9&t=3075
Dreamcast VMU
https://sudomod.com/forum/viewtopic.php ... 133#p62133
http://www.sudomod.com/forum/viewtopic.php?f=38&t=3456
Builds:
GBZ
http://www.sudomod.com/forum/viewtopic.php?f=9&t=2838
mintyPi
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3468
Kite SAIO
http://www.sudomod.com/forum/viewtopic.php?f=9&t=3075
Dreamcast VMU
https://sudomod.com/forum/viewtopic.php ... 133#p62133
Re: Sound output pwm wont work
Update:
I can hear the noise through the speaker but not actual sounds, I tried the force 3.5mm thing, but alsa says It's not even enabled.
As far as xonfig goes I have added the dtoverlay line.
- VeteranGamer
- Posts: 1738
- Joined: Thu Jan 26, 2017 11:12 am
- Location: London, UK
- Has thanked: 528 times
- Been thanked: 909 times
Re: Sound output pwm wont work
how is your volume wheel wired up...
The speaker may be wired wrong as others have suggested (but you'd still get sound) or could be a dud...
Re: Sound output pwm wont work
Also i tested the connection to the speaker with a multimeter it gets from the gpio 18 to the speaker + through the amp and all and the - on the speaker is connected to ground..
Re: Sound output pwm wont work
I'll try adding the wheel back in later thanks, but the wheel couldn't be why i dont hear a thing or?
Re: Sound output pwm wont work
https://www.adafruit.com/product/987 also I'm using this amp and a 32 ohm 0.5W speaker
- Lphillimore
- Posts: 993
- Joined: Sat Jan 07, 2017 7:03 pm
- Location: Perth, WA
- Has thanked: 796 times
- Been thanked: 527 times
Re: Sound output pwm wont work
Your volume pot wiring is wrong, yes.
From the image the wiring should go (from left to right):
1 - Ground
2 - R In
3 - L In
4 - L Out
5 - R Out
Re-wire and report back!!
From the image the wiring should go (from left to right):
1 - Ground
2 - R In
3 - L In
4 - L Out
5 - R Out
Re-wire and report back!!
mintyPi Giveaway [CLOSED]:
http://www.sudomod.com/forum/viewtopic.php?f=38&t=3456
Builds:
GBZ
http://www.sudomod.com/forum/viewtopic.php?f=9&t=2838
mintyPi
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3468
Kite SAIO
http://www.sudomod.com/forum/viewtopic.php?f=9&t=3075
Dreamcast VMU
https://sudomod.com/forum/viewtopic.php ... 133#p62133
http://www.sudomod.com/forum/viewtopic.php?f=38&t=3456
Builds:
GBZ
http://www.sudomod.com/forum/viewtopic.php?f=9&t=2838
mintyPi
http://www.sudomod.com/forum/viewtopic.php?f=32&t=3468
Kite SAIO
http://www.sudomod.com/forum/viewtopic.php?f=9&t=3075
Dreamcast VMU
https://sudomod.com/forum/viewtopic.php ... 133#p62133
Re: Sound output pwm wont work
This is how I solved the problem:Lphillimore wrote: ↑Tue May 23, 2017 2:33 amYour volume pot wiring is wrong, yes.
From the image the wiring should go (from left to right):
1 - Ground
2 - R In
3 - L In
4 - L Out
5 - R Out
Re-wire and report back!!
First of all I disconnected the low lass filter and all wiring from the amp etc., then I connected the amps R- and R+ to a mono 3.5mm jack and plugged in my phone. The R+out and R- out were wired to the headphone jack and then on the speaker. I got sound output through the jack but still not through the speaker- That's because the speaker was 32ohm 0.5w and the amp outputs 3.7w at 30ohm! . So I was thinking and remembered that I have a cheap bluetooth wireless speaker I got on aliexpress about a year ago. I took it apart and removed the speaker from the enclosure and wired it to the headphone jack - and the speaker worked! All I did later was that I removed the 3.5mm jack that went to my phone connected the low pass filter back also the volume pot (Thanks Lphillimore again for telling me how to wire it properly) and I got sound output from the pi! I tweaked the sound in alsa mixer and now It's perfect!
Who is online
Users browsing this forum: No registered users and 1 guest