Is it possible to stop or reduce the popping sound which is emitted from the speaker when you turn on and off an amplifier? i am using a PAM8403 connected to a 4ohm speaker. i am switching using a low side mosfet connected to an arduino. Thanks.
-
\$\begingroup\$ Don't have a DC component to your signal anywhere helps as a start. \$\endgroup\$– PlasmaHHDec 12, 2017 at 16:41
-
\$\begingroup\$ Possible duplicate electronics.stackexchange.com/questions/132344/… \$\endgroup\$– Dirk BruereDec 12, 2017 at 16:48
-
1\$\begingroup\$ For one thing, don't do low-side switching on your amplifier. That practically guarantees a full-voltage transient on power-on/off. \$\endgroup\$– Dave TweedDec 12, 2017 at 16:50
-
2\$\begingroup\$ You do know that thing has a deep sleep inhibit at <1uA right. Not sure why you would want to cut it's power... \$\endgroup\$– Trevor_GDec 12, 2017 at 16:57
-
\$\begingroup\$ @DaveTweed This would require a P channel mosfet no? I am currently using an N channel as i have it in my head that P channel are more difficult to switch. forgive my ignorance, i am new to transistor switching outside of an arduino. \$\endgroup\$– user2105725Dec 12, 2017 at 17:52
1 Answer
Use the MUTE or SHDN inputs of the PAM8403 (pin 5 or 12) with your arduino instead of switching with a MOSFET. Popping sound will be greatly reduced. Also, put an high pass filter on the inputs as shown in the datasheet. Its cutoff frequency should match your speakers' bandwidth.
-
\$\begingroup\$ im using one of these broken out boards link would this still need the high pass filter? I will experiment with the pins you suggest. I thought it would be simpler to just switch it on and off with a mosfet as i am also switching an mp3 module at the same time. \$\endgroup\$ Dec 12, 2017 at 17:50