Design and Implementation of a Real-Time Audio Spectrum Analyzer Based on ESP32 with Distributed Processing and Web Visualization
摘要
This work presents the design and implementation of a real-time audio spectrum analyzer based on the ESP32 microcontroller. The system captures audio through I2S and processes it using digital signal techniques including DC offset removal, Hamming windowing, and Fast Fourier Transform (FFT). The ESP32’s dual-core architecture dedicates one core to intensive signal processing while the other manages WiFi connectivity and WebSocket-based web interface updates, enabling efficient parallel operation. The system includes HTTP POST capabilities for external server analysis. Experimental validation using function generators and oscilloscopes confirms the analyzer’s accuracy and stability for diagnostic, educational and experimental signal processing applications. The results demonstrate the feasibility of developing cost-effective, high-performance spectral analysis solutions, advancing telecommunications engineering toolsets.