So, I'm referring to
this article about adding sound to Pi zero
and this what I'm using:
Pi Zero with Raspbian and Retro Pie
4.7uF Capacitor
And this 8 Ohm 0.3V PCB Speaker
I'm also using the DTO line in /boot/config.txt:
Code: Select all
dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4
Instead of making this "complicated" low pass filter, I just simply placed the 4.7uF between the speaker and pin 18, and connected the speaker to a ground pin. I forced audio through the headphone jack, and I boosted alsamixer to max, and it sounds just fine... is there something I'm missing here? I could probably do the same thing for another speaker, and now I have stereo sound. The capacitor prevents DC(which makes the sound higher pitched and less static), and boosting the sound makes a nice, clear sound. So then, what's the point of the rest of the filter at this rate? Or should the tutorial be updated for Breadboard speakers/headphone jack or no?