1
\$\begingroup\$

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.

\$\endgroup\$
5
  • \$\begingroup\$ Don't have a DC component to your signal anywhere helps as a start. \$\endgroup\$
    – PlasmaHH
    Dec 12, 2017 at 16:41
  • \$\begingroup\$ Possible duplicate electronics.stackexchange.com/questions/132344/… \$\endgroup\$ Dec 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 Tweed
    Dec 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_G
    Dec 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\$ Dec 12, 2017 at 17:52

1 Answer 1

3
\$\begingroup\$

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.

\$\endgroup\$
1
  • \$\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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.