ESP32-S3 AI camera module speaker problem
Daniel.Kajnar 2025-12-03 02:10:47 869 Views1 Replies I need help. I recently bought a DFRobot ESP32-S3 AI camera module and uploaded the code for openai image recognition directly from the manufacturer's website. Everything works as it should, it prints what I said and what openai returns to the serial monitor, but my problem is that the sound from the small speaker that was in the package is terribly noisy. It makes a lot of noise and is very loud. I tried reducing the volume and the data input, but nothing helped. Does anyone have the same experience or have any advice? Thank you
It sounds like the issue may be with the DAC output quality or the default I2S settings rather than the speaker itself. The onboard DAC on the ESP32-S3 is known to produce noise, especially with small speakers.
A few things you can try:
Enable I2S output instead of DAC (if the example code allows switching).
I2S gives much cleaner audio than the internal DAC.
Lower the sample rate (e.g., 16 kHz → 8 kHz) — this often reduces noise on small speakers.
Add a simple low-pass filter or small resistor between the ESP32 pin and the speaker. Direct-drive can cause distortion.
Test with headphones or another small speaker to rule out a defective speaker.
Check ground noise — poor grounding creates hiss or buzzing. Try powering from a stable USB supply.
Others have mentioned similar noise with the ESP32 DAC, so it’s a common limitation. If the module supports an external I2S amplifier, that usually solves the issue completely.
Hope this helps!
samuel.wisd 
