Plenty of DIY spectrum analyzers never get past a development board dangling on jumper wires with a tiny screen taped to the desk. This build takes a different route: an ESP32 HMI display, an Elecrow CrowPanel 3.5 inch board, and a finished cabinet around it.
The enclosure is cut from white rigid plastic sheet following a paper technical drawing that gives the front panel cutout dimensions for the displays and switches. The side walls are shaped into an angled trapezoidal profile, a multi-layer front faceplate carries clear display windows, and a red rocker switch sits on the housing. Both display boards mount on an internal plate inside the cabinet.
The electronics stay simple. A 3.5 mm input jack feeds through a 1.00 uF capacitor that blocks DC, a 1.00 kOhm series resistor guards the microcontroller pin, and two 100 kOhm resistors set a 1.6V bias. A wire goes straight to GPIO 35. On the software side it is the Arduino IDE with the ESP32 Dev Module board setting and a modified TFT_eSPI library. Two code versions exist, one with 32 bars using dual FFT that splits the signal into low and high bands, and one with 24 bars. The axis runs from 20 Hz to 20 kHz with a 0 dB down to -48 dB scale on both sides.
Two things stand out to me. The startup routine needs silence while the software auto-calibrates against ambient baseline noise, a small ritual anyone powering it up has to follow. And the maker notes the 3D tubular bar effect is more pronounced in person than on camera. Given the multi-colored bars with peak indicators on the twin LEFT and RIGHT screens, that seems easy to believe.
Project by Mirko Pavleski. Watch it on their YouTube channel: