Tech Note 076 - ESP8266/ESP32 Audio Spectrum Analyser using FFT
In this project I use the Fast Fourier Transform algorithm to convert audio (in the time domain) back to its component frequency parts and then display the results as bands of amplitude and frequency on an OLED either 0.96" or 1.3".
Choose the display you have by commenting out the library not required (Sh1106 for the 1.3" OLED and SSD1306 for the 0.96").
Most ESP8266 development boards have a voltage divider on the audio input and may require a larger audio drive, by contrast most ESP32 development boards have no ADC input protection. For either board a microphone pre-amplifier is useful although direct audio connection can be used if required, but careful attention is required on the maximum drive and it should be de-coupled with a capacitor of say 10uF or greater. The ESP32 does not generally have a voltage divider and so needs less audio input, say 100mV, some experimentation is required with your audio source.
Source code: https://github.com/G6EJD/ESP32-8266-Audio-Spectrum-Display
Microphone: https://www.aliexpress.com/store/product/1pc-Sensitive-Sound-Microphone-Sensor-Detection-Module-For-Arduino-AVR-PIC/612195_32299102358.html?spm=2114.12010615.0.0.311b93a8dgFGue
Видео Tech Note 076 - ESP8266/ESP32 Audio Spectrum Analyser using FFT канала G6EJD - David
Choose the display you have by commenting out the library not required (Sh1106 for the 1.3" OLED and SSD1306 for the 0.96").
Most ESP8266 development boards have a voltage divider on the audio input and may require a larger audio drive, by contrast most ESP32 development boards have no ADC input protection. For either board a microphone pre-amplifier is useful although direct audio connection can be used if required, but careful attention is required on the maximum drive and it should be de-coupled with a capacitor of say 10uF or greater. The ESP32 does not generally have a voltage divider and so needs less audio input, say 100mV, some experimentation is required with your audio source.
Source code: https://github.com/G6EJD/ESP32-8266-Audio-Spectrum-Display
Microphone: https://www.aliexpress.com/store/product/1pc-Sensitive-Sound-Microphone-Sensor-Detection-Module-For-Arduino-AVR-PIC/612195_32299102358.html?spm=2114.12010615.0.0.311b93a8dgFGue
Видео Tech Note 076 - ESP8266/ESP32 Audio Spectrum Analyser using FFT канала G6EJD - David
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Tech Note 092 - ESP32 and 4.2" e-Paper for a Weather Display (low power)Tech Note 012a - (Improved Audio) ESP8266 Reading Multiple DHT SensorsTech Note 014 - Accurate (Precision) Sensor ComparisonTech Note 106 - Wemos/Lolin 1.4" TFT Shield for D1 Mini/MH-T LiveTech Note 027 - ESP8266 GP WEBSERVER/WEBSITE TEMPLATETech Note 026 - ESP8266 Weather WebServerTech Note 019 - ESP8266 NTP OLED Time Web-Server Setup Add-onTech Note 007a - ESP Single Page Webserver DemonstrationTech Note 088 - ESP32/8266 Sensor MonitorArduino MEGA METAR reader parts listTech Note 119 - Scope Resolution Operators used in Libraries (Part 3 of 4)Tech Note 068 - Arduino IDE how to Determine, Add and Change Pin MappingTech Note 021 - ESP8266 Autonomous Graphical Data LoggerTech Note 149 - ESP32 4-Channel Relay / GPIO Controller with Web UITech Note 153 - ESP32 METAR (METeorological Aerodrome Reports) DecoderPR001 Product Review ClosedCube Si7051 Temperature SensorTech Note 120 - Library file location directors (Part 4 of 4)Tech Note 029 - Circuit mAHr Measurement and CalculationTech Note 104 - Adding Gesture Control to your Arduino / ESP projectsDJI F550 Video - stock/default gain of 125% - first flightTech Note 066 - SHT35D Sensor with water vapour permeable filter cap