user-img

Mirko Pavleski

  • 114 Projects
  • 34 Followers
  • Sep 17,2026
+ Follow

DIY ESP32 Audio Spectrum Analyzer - CrowPanel 3.5 HMI Displ

The CrowPanel 3.5" ESP32 proves to be an incredibly versatile platform for high-speed audio visualization. By combining custom FFT logic with the optimized TFT_eSPI library, I’ve created a audio analyzer with impressive visual effect.

DIY ESP32 Audio Spectrum Analyzer -  CrowPanel 3.5 HMI Displ
 
  • thumbnail-img
 

Hardware Components

  • CrowPanel 3.5"-HMI ESP32 Display 480x320

    X 2

Tools, APP Software Used etc.

  • soldering kit

  • Arduino IDE (programming)

Story

  An audio spectrum analyzer is a tool that shows the frequency content of sound in real time, helping visualize how loud different frequencies are within an audio signal. In one of my previous videos, I described how to build a Stereo VU meter on CrowPanel 3.5"-HMI ESP32 Displays. This time I will describe how to build a visually effective stereo Audio Spectrum Analyzer on these same display modules. I will even use the same housing design and audio input section. 

Detailed video description at:  https://youtu.be/sy-bSmpQ8T0

 So the schematic is basically the same with the note that for the input signal I use the GPIO35 pin from which I have directly extracted a thin wire, for reasons that I explained in the above-mentioned VU meter project. 

  The input AC signal is fed to the GPIO35 pin, to which a reference voltage of 1.6V has previously been applied through two 100K resistors. The positive and negative values ​​of the input audio signal move around this voltage. The capacitor serves to block any possible DC component, and the 1K resistor to protect the input from inappropriate signals.

    As for the code, it is made to be highly customizable and by changing the variables defined at the beginning, you can achieve any type of bar movement you want. All of these parameters affect the way and speed of movement of the Bars.

 Two different codes are given, one with 32 bars and a specific way of processing frequencies (the range from 20Hz to 20kHz is divided into two parts and those two parts are processed separately), and the other, a standard code with 24 bars. To upload the code without errors, you need to select "ESP32 DEV Module" in the Board Manager and install the libraries given at the end of the text. I would like to mention that it is especially important to use the given TFT_eSPI library, since it is specifically set for this project.

 

  It is worth mentioning that this is not a precise audio instrument, but primarily an interesting visual addition to the audio system. In this project, the sound is processed in a way that the extremely low and high tones are amplified at the expense of the midrange band, which is naturally the most intense, and all this for a better visual impression.  Also, in reality, the bars are 3D processed and look like thin tubes, which is not noticeable in the video.

  Now let's see how the device behaves in real conditions with different input signals. When starting the device, the input signal must be at zero, because in the first few seconds is performed a noise floor calibration.

 And finally a short conclusion. The CrowPanel 3.5" ESP32 proves to be an incredibly versatile platform for high-speed audio visualization. By combining custom FFT logic with the optimized TFT_eSPI library, I’ve created a audio analyzer with impressive visual effect.

 

Code
  • Code 32 bars

    Code_32_Final_10067618626aabccd35976d.zip
    Download(0)
  • code 24 bars

    Code_24_Final_12634302276aabcce520224.zip
    Download(0)
Schematic and Layout

DIY ESP32 Audio Spectrum Analyzer - CrowPanel 3.5 HMI Displ

The CrowPanel 3.5" ESP32 proves to be an incredibly versatile platform for high-speed audio visualization. By combining custom FFT logic with the optimized TFT_eSPI library, I’ve created a audio analyzer with impressive visual effect.

9
 
0
0
0

Share your project on social media to expand its influence! Get more people to support it.

  • Comments( 0 )
  • Like( 0 )
/1000
Upload a photo:
You can only upload 1 files in total. Each file cannot exceed 2MB. Supports JPG, JPEG, GIF, PNG, BMP

You May Also Like

View All
Add to cart
Board Type : GerberFile :
Layer : Dimensions :
PCB Qty :
Different PCB Design
PCB Thickness : PCB Color :
Surface Finish : Castellated Hole :
Copper Weight : 1 oz Production Time :
Total: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.

PCB Assembly

PCBA Qty: BomFile:
NO. OF UNIQUE PARTS: NO. of Components:
Country: Shipping Way:
Assembly Cost: US $
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
3dPrintingFile : Size :
Unit : Volumn :
3D Printing Qty : Material :
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Acrylic Type : AcrylicFile :
Dimensions: Engrave:
Acrylic Qty :
Acrylic Thickness:
Acrylic Color:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
CNC Milling File : Size:
Unit: Volumn:
CNC Milling Qty : Material:
Type of Aluminum: Surface Finish:
Tolerance:
Surface Roughness:
Total: US $12.99
As a sharing platform, our community will not bear responsibility for any issues with this design and parameters.
Add to cart
Item Price Qty Subtotal Delete
Total: US $0.00
Certified Product | Guaranteed Purchase: Full techsupport