ESP32-S3 Audio Stream + Online Radio Player

ESP 32 S3Audio StreamingEmbedded SystemIoT

July 2025 Tuesday

I developed a dual-function audio system using the ESP32-S3-WROOM-1 (N16R8):

1. Real-Time Audio Streaming via WebSocket:

Captures audio from an INMP441 I2S microphone and streams it in real-time over WebSocket. Audio is played back through a MAX98357A amplifier and a 3W speaker. Push buttons control the microphone input.

2. Online Radio with Channel Switching:

The same hardware also functions as an online radio, streaming audio from the internet directly to the speaker. Channel switching is handled using push buttons, and a 10k potentiometer allows volume control.

🔧 Components Used:

• ESP32-S3-WROOM-1 (N16R8)

• INMP441 I2S Microphone

• MAX98357A I2S Amplifier

• 3W 4Ω Speaker (upgradable to 15W)

• Push Buttons for control

• 10k Potentiometer

• Project Board & jumper wires

🛠 Key Features:

• I2S mic & speaker interfacing

• WebSocket-based real-time audio streaming

• Internet radio with live channel switching

• Volume control via potentiometer

• Clean, responsive audio playback

This project showcases versatility in ESP32 audio applications, combining both custom audio streaming and online media playback—great for smart speakers, DIY radios, or interactive audio systems.

thumbnail