Speaker very distorted on esp32
Posted: Tue Feb 17, 2026 12:22 pm
Speaker very distorted on esp32
Esp32 s3 N16R8 devkitc1
I have built this chatbot the engine is working good but the speaker is very distorted I am using a 4ohm 2 watt speaker with max98357 amp , I tried gain to gnd , 3.3 and floating Nothing seems to work but I tried sine wave output it worked perfectly when I connected vin to 3.3v instead of 5v and when I connected the capacitor it's started crackling again , I don't know what to do I am stuck, tried using 100uF capacitor on 5v no luck, stt and llm is working fine.
Ps : I am doing this on a breadboard
Esp32 s3 N16R8 devkitc1
I have built this chatbot the engine is working good but the speaker is very distorted I am using a 4ohm 2 watt speaker with max98357 amp , I tried gain to gnd , 3.3 and floating Nothing seems to work but I tried sine wave output it worked perfectly when I connected vin to 3.3v instead of 5v and when I connected the capacitor it's started crackling again , I don't know what to do I am stuck, tried using 100uF capacitor on 5v no luck, stt and llm is working fine.
Ps : I am doing this on a breadboard