The Electronic Engineer
Menu
  • Resume
Menu

Build a web based spectrum analyzer with ESP32 and Arduino

Posted on December 19, 2021December 21, 2021 by Mark Donners

This Web based spectrum analyzer with ESP32 8-64 channels 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 doesn’t, you can force the manager to start by holding the mode button while rebooting.

This is an open source project, all schematics, software and building instructions are available for you. Use it, change is, heck even sell it. It’s ok but if you do one or more of the above, please give me credit by linking back to my channel.

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.

๐Ÿ•ฎ Software/ firmware / sketch / documentation:
https://github.com/donnersm/Webspector

๐Ÿ‘จโ€๐Ÿ’ป Building instructions:
https://www.instructables.com/WEBSPECTOR-a-Web-Based-Spectrum-Analyzer-With-ESP3/

โ˜• buy me coffee
You like me work, please buy me a coffee to help me to burn the midnight oil.
https://www.buymeacoffee.com/MarkDonners

๐Ÿ’โ€โ™‚๏ธ Do you want to sponsor my channel? Feel free to contact me anytime

๐Ÿ”€ Let’s connect
Website: http://www.theelectronicengineer.nl
facebook: https://www.facebook.com/TheelectronicEngineer
Instagram: https://www.instagram.com/theelelectronicengineer.nl/
Twitter: https://twitter.com/MarkDonners




boy boy boy boy boy
facebookShare on Facebook
TwitterTweet
FollowFollow us

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

6 + thirteen =

"I love open source projects. Learning and sharing knowledge without being commercially exploited."
I order my PCB's at PCBWay because they offer great quality and service.
Click on the logo for your special offer.

Recent Posts

  • Nixie Spectrum Analyzer
  • Sneak preview next project: nixie tube alike spectrum analyzer
  • Cathode ray tube first successful experiment diy
  • Amazing Twin Audio Visualizer to the rescue
  • Up next open source twin audio visualizer 69 channels in stereo!

Spectrum anayzer fft 64 Ch.

Made By Mark Donners. All rights reserved