Web based spectrum analyzer with ESP32 8-64 channels
This project uses a ESP32 DEVKIT V1 and only 4 external components. Using the switch, you can select the number of bands you want to display on the webinterface 8,16,24,32 or 64 Uppon first boot, the wifi manager will kick in asking your WIFI credentials. If it doens't, you can force the manager to start by holding the mode button while rebooting.
This is a web based spectrum analyzer with a unique web interface readout. It has no LEDS or TFT screens but it uses a HTML webpage to display all the frequency bars.
A ESP32 is used, running on both processor cores. Core 1 is used to run the main loop of the program while core 0. Although the program itself is not a big loud for the processor, making it possible to run on a single core, using both cores will lead to better performance. Let me explain why. Whenever the WIFI signal is interrupted, the core it is running on will hold, waiting for the signal to return. While waiting, this specific core is frozen and it can not do anything else other than to wait. This will result in a user interface that is not responding, assuming that both WIFI and the user interface handling are running on the same core.. Pushing a button in this situation does nothing. This is why I moved the webserver to a dedicated core. Whenever the WIFI has no signal, resulting in a “frozen” core, the other core which will keep running, and the user interface is handled correctly.
Source code Arduino Sketch:
https://github.com/donnersm/Webspector
Instructable here:
https://www.instructables.com/WEBSPECTOR-a-Web-Based-Spectrum-Analyzer-With-ESP3/
Buy me a coffee here:
https://www.buymeacoffee.com/MarkDonners
#esp32
#spectrum Analyzer
#I2S
0 Comments