earlephilhower / ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
2.05k stars 437 forks source link

How to remove noise? #626

Open arshidkv12 opened 1 year ago

arshidkv12 commented 1 year ago

Hi Always getting noise. How to remove noise. I am using esp8266 and PAM8403 I tested with 0.5W 8 (hom) and 3W 4 (hom) speaker. But it is very noisy.

xXxOlivierxXx commented 2 months ago

There are multiple strategies. One is using a good amplifier with enough filter capacitors, like this https://freakengineer.com/wp-content/uploads/2022/01/lm-386-audio-amplifier.png Another one is to put a filter capacitor between the esp32 output pin and the amplifier