PWM audio, with only a speaker, no headphones or pot
Posted: Tue Sep 20, 2016 9:14 am
Hi there,
I'm only planning on doing a mono speaker, no headphones or volume wheel, and I am having some issues. I have built a low pass filter, and have it wired to my adafruit mono amp. So the order goes GPIO 18 to low pass, ground from power strip to low pass, low pass goes to the mono amp, then the speaker. The speaker works and produces sound, but there is a ton of static. I first tried with just the amp, and it had a lot of static, so I thought adding the filter would clear that up, when I added the filter it made no difference whatsoever. I followed Wermy's guide, as well as PWM audio guide by SP33.
I have added these lines to my config.txt;
dtoverlay=pwm,pin=18,func=2
disable_audio_dither=1
I'm wondering what I can do to get rid of this static, or is anyone has seen this issue and had it resolved. I may just go the USB DAC route if this won't work. I will attach a photo of the amp and filter, as well as a little diagram, if it helps. I just really have no idea where to go from here, and any help will be appreciated. I fell like I have created the filter correctly, and I figure it would at least show some difference when attached, but the fact that no change occurs when I have the filter wired makes me think I must have done something wrong....
I'm only planning on doing a mono speaker, no headphones or volume wheel, and I am having some issues. I have built a low pass filter, and have it wired to my adafruit mono amp. So the order goes GPIO 18 to low pass, ground from power strip to low pass, low pass goes to the mono amp, then the speaker. The speaker works and produces sound, but there is a ton of static. I first tried with just the amp, and it had a lot of static, so I thought adding the filter would clear that up, when I added the filter it made no difference whatsoever. I followed Wermy's guide, as well as PWM audio guide by SP33.
I have added these lines to my config.txt;
dtoverlay=pwm,pin=18,func=2
disable_audio_dither=1
I'm wondering what I can do to get rid of this static, or is anyone has seen this issue and had it resolved. I may just go the USB DAC route if this won't work. I will attach a photo of the amp and filter, as well as a little diagram, if it helps. I just really have no idea where to go from here, and any help will be appreciated. I fell like I have created the filter correctly, and I figure it would at least show some difference when attached, but the fact that no change occurs when I have the filter wired makes me think I must have done something wrong....