Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

ESP32: Audiospektrum auf einem 3,5-Zoll-Display anzeigen

Ein ESP32 kann Audiodaten per FFT analysieren und auf einem 3,5-Zoll-TFT visualisieren. Entscheidend sind der passende Audioeingang, Displaycontroller, Busschnittstelle und die Pinbelegung des konkreten Boards.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Ein ESP32 kann Audiodaten erfassen, per FFT in Frequenzanteile zerlegen und die Ergebnisse als Balken oder Kurve auf einem 3,5-Zoll-Farbdisplay darstellen. Dafür müssen Audioeingang, ESP32-Pins und Displaycontroller zusammenpassen: Die Displaygröße allein sagt nichts über die elektrische oder softwareseitige Kompatibilität aus. Die folgende Anleitung beschreibt den Aufbau als Projektplan; ein einzelner, vollständig geprüfter Schaltplan oder eine getestete Kombination aus konkreten Bauteilen ist nicht belegt.

So ist der Signalweg aufgebaut

Plane das Projekt als drei getrennte Aufgaben: Audio aufnehmen, Frequenzanteile berechnen und das Ergebnis zeichnen. Diese Trennung erleichtert die Auswahl der Hardware und die Fehlersuche, weil ein Problem beim Displaytreiber nicht mit einem Fehler in der Audioaufnahme verwechselt werden muss.

As an Amazon Associate I earn from qualifying purchases.

  1. Audioaufnahme: Ein Mikrofon oder Audiocodec liefert Audiodaten. Für digitale PCM-Daten ist I²S ein dokumentierter Übertragungsweg zwischen integrierten Schaltungen.
  2. Frequenzanalyse: Der ESP32 verarbeitet einen Datenblock mit einer FFT. Eine Fensterfunktion kann vor der Berechnung angewendet werden; anschließend werden die Ergebnisse für die Auswertung geordnet.
  3. Darstellung: Die FFT-Ergebnisse werden zu einer überschaubaren Zahl von Frequenzbändern zusammengefasst und vom Displaytreiber als Balken oder Kurve ausgegeben.

Die genaue Bandzahl und die Grenzen der Frequenzbänder hängen unter anderem von Abtastrate und FFT-Größe ab. Für dieses Projekt ist keine konkrete Einstellung festgelegt.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Audio am ESP32 erfassen

I²S als digitaler Eingangsweg

I²S (Inter-IC Sound) überträgt digitale Audiodaten typischerweise über Bitclock (BCLK oder SCK), Word Select (WS oder LRCLK) und eine Datenleitung. Je nach Mikrofon oder Codec kann zusätzlich ein Master Clock (MCLK) erforderlich sein. Ob MCLK gebraucht wird und welche Pins sich eignen, hängt von der konkreten Gegenstelle und dem ESP32-Board ab.

#1 Best Overall
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (3PCS)
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Support LWIP protocol, Freertos
  • SupportThree Modes: AP, STA, and AP+STA
  • Ultra-Low power consumption, Compatible with Arduino IDE
  • ESP32 is a safe, reliable, and scalable to a variety of applications

Die Arduino-ESP32-Dokumentation beschreibt I²S als „Inter-IC Sound“ und nennt „I²S“ als korrekte Schreibweise; sie führt außerdem die alternative Notation „IIS“ auf (Espressif Systems: I²S-API für Arduino-ESP32). Das API lässt unter anderem Abtastrate, Datenbreite, Kanalmodus und Ein-/Ausgabepins konfigurieren. Übernimm Pinangaben daher nicht von einem anderen Board, ohne sie mit dem eigenen Pinout abzugleichen.

Andere Signalquellen

Wenn die Quelle analoges Audio ausgibt, benötigt das Projekt einen geeigneten Eingangs- und Signalaufbereitungspfad. Ein Codec kann ebenfalls als Schnittstelle dienen. Für keine dieser Varianten ist hier ein bestimmtes Modul oder eine konkrete Schaltung festgelegt; wähle sie nach der tatsächlich verfügbaren Audioquelle und den Eingängen des Boards aus.

Rank #2
ELEGOO 3PCS ESP-32 Dev Boards, ESP-WROOM-32, USB-C, WiFi Bluetooth 4.2
  • Dual-Core Performance Up to 240 MHz: Run sensor processing, wireless communication, automation logic and connected-device tasks on a 32-bit dual-core ESP32 platform designed for responsive embedded and IoT projects
  • Built-in Wi-Fi and Bluetooth 4.2: Connect to 2.4 GHz Wi-Fi networks or use Bluetooth Classic and BLE for wireless sensors, smart devices, remote controls, home automation and other connected projects
  • Flexible Power-Saving Modes: ESP32 power-management features support dynamic clock scaling and low-power operating modes, helping developers reduce energy use in compatible sensing, monitoring and connected-device applications, suitable for battery-powered Internet of Things (IoT) devices.
  • USB-C Programming with CP2102: Connect through USB-C for power, sketch uploads and serial monitoring, while GPIO, UART, SPI and I2C interfaces support sensors, displays, motor drivers and other modules (USB-C cable not included)
  • Over-the-Air Update Support: Configure OTA functionality through a compatible ESP-32 software framework to update deployed firmware over Wi-Fi without reconnecting the board by USB for every revision

FFT berechnen und Ergebnisse in Bänder umsetzen

Espressifs ESP-DSP-Bibliothek stellt FFT-Funktionen und dokumentierte Beispiele bereit. Der typische Ablauf umfasst das Vorbereiten von Sampledaten, optionales Anwenden eines Fensters, die FFT-Berechnung und die anschließende Verarbeitung beziehungsweise Sortierung der Ergebnisse (Espressif Systems: ESP-DSP-Beispiele, Espressif Systems: ESP-DSP-Bibliothek).

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Ein dort dokumentiertes Beispiel verwendet 1024 Samples. Das ist die Größe der Beispieldaten, keine bestätigte Empfehlung oder Messung für diesen Aufbau. Auch eine bestimmte Bildrate, Frequenzgenauigkeit oder Latenz lässt sich daraus nicht ableiten. Diese Werte müssen für die gewählte Hardware und Softwarekonfiguration ermittelt werden.

Rank #3
ELEGOO ESP-32 Super Starter Kit with Tutorial Compatible with Arduino IDE
  • Powerful ESP-32 Board: Unlock the world of Internet of Things (IoT) and advanced electronics with the heart of this kit: the ESP-32 board. It features a powerful dual-core processor, integrated Wi-Fi and Bluetooth 4.2, making it perfect for building connected, smart devices that communicate with your phone or the cloud. It's fully compatible with the Arduino IDE for easy programming.
  • Super Starter Kit: This kit contains over 35 different modules and electronic components, including sensors, displays, motors, and input devices. From LEDs and buttons to an OLED screen, servo motor, and keypad, you have everything needed to explore a vast range of projects in one box.
  • Step by Step Online Tutorial: Jump right in with our detailed, beginner-friendly tutorial. Access 30+ projects with complete code, clear circuit diagrams, and step-by-step instructions. Learn the fundamentals of electronics, coding, and how to utilize the ESP-32's unique capabilities without any prior experience.
  • Hands-on Learning for All Skill Levels: Perfect for students, makers, engineers, and hobbyists. Start with basic circuits and coding, then progress to intermediate and advanced IoT applications. Build practical projects like weather stations, smart home controllers, remote-controlled devices, and interactive gadgets. The skills you learn are the foundation for real-world innovation.
  • Quality & Great Support: Elegoo is committed to quality. We provide a clear, detailed tutorial guide, refined code, and a well-organized component kit. All modules are carefully selected for reliability and ease of use. Our dedicated technical support team and active online community are ready to help you succeed in your learning journey.

Für eine lesbare Anzeige werden FFT-Ergebnisse üblicherweise zu weniger Bändern zusammengefasst. Lege die Zuordnung erst fest, wenn Abtastrate und FFT-Größe für dein System bestimmt sind. Wie viele Bänder sinnvoll sind, hängt auch davon ab, welche Frequenzbereiche die Anzeige hervorheben soll.

Ein passendes 3,5-Zoll-Display auswählen

Ein dokumentiertes Beispiel in Espressifs Entwicklungskit-Unterlagen ist ein 3,5-Zoll-Display mit 480 × 320 Pixeln, ST7796S-Controller, 8080-Schnittstelle und GT911-Touchcontroller (Espressif Systems: ESP32-S3 LCD-EV-Board). Diese Konfiguration belegt eine mögliche Displayklasse, aber nicht, dass jedes 3,5-Zoll-Modul mit jedem ESP32-Board funktioniert.

Rank #4
ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA Compatible with Arduino IDE (1 PCS)
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Support LWIP protocol, Freertos;ESP32 is a safe, reliable, and scalable to a variety of applications
  • SupportThree Modes: AP, STA, and AP+STA
  • Ultra-Low power consumption, Compatible with Arduino IDE
  • 1PCS 30Pin ESP32 Development Board 2.4GHz WiFi Dual Cores Microcontroller Integrated with Antenna RF Low Noise Amplifiers Filters

Vor dem Kauf und Verdrahten solltest du die folgenden Punkte anhand der Unterlagen für genau das Modul und Board prüfen:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Controller: Welcher Displaycontroller ist verbaut, und unterstützt ihn die vorgesehene Bibliothek?
  • Busschnittstelle: Verwendet das Modul etwa SPI oder 8080? Die Schnittstelle beeinflusst Verdrahtung, benötigte Pins und Ansteuerung.
  • Elektrische Anforderungen: Stimmen Logikspannung und verfügbare GPIOs überein? Wie wird die Hintergrundbeleuchtung angesteuert?
  • Touch: Wird Touch benötigt, und welcher Touchcontroller ist vorhanden? Ein Touchcontroller ist nicht automatisch Teil jedes Displays.
  • Initialisierung: Benötigt das Modul herstellerspezifische Einstellungen, zum Beispiel für Gamma- oder Spannungswerte?

Espressif weist darauf hin, dass bestimmte LCD-Module eine herstellerspezifische Initialisierung erfordern können (Espressif Systems: LCD-Peripherie-Dokumentation). Auch die konkrete Controller- und Schnittstellenkombination ist entscheidend: Ein Community-Beitrag zur Frage, wie ein ESP32 mit einem SPI-Display auf ILI9486-Basis zusammenarbeitet, veranschaulicht genau diese Auswahlfrage, ist aber keine allgemeine Kompatibilitätsaussage (Reddit: Frage zu ESP32, ILI9486 und SPI).

Best Value
HiLetgo ESP-WROOM-32 ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with Antenna RF AMP Filter AP STA for Arduino IDE
  • 2.4GHz Dual Mode WiFi + Bluetooth Development Board
  • Ultra-Low power consumption, works perfectly with the Arduino IDE
  • Support LWIP protocol, Freertos
  • SupportThree Modes: AP, STA, and AP+STA
  • ESP32 is a safe, reliable, and scalable to a variety of applications
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Die Hardware vor dem Aufbau abgleichen

Vergleiche konkrete Optionen anhand ihrer tatsächlichen Schnittstellen und Anforderungen, nicht nur nach Produktnamen oder Displaydiagonale. Eine passende Kombination aus ESP32-Entwicklungsboard, Audioeingang und TFT ist erst dann plausibel, wenn Pins, Spannungen, Busse und benötigte Treiber zusammenpassen.

Teil Zu prüfende Angaben Warum es wichtig ist
Audioquelle I²S-Mikrofon, Codec oder analoger Ausgang; erforderliche Signale und Versorgung Bestimmt den Erfassungspfad und gegebenenfalls zusätzliche Signalaufbereitung.
ESP32-Board Unterstützte ESP32-Variante, verfügbare GPIOs und I²S-Konfiguration Die Pinbelegung und verfügbaren Peripherieanschlüsse unterscheiden sich je nach Board.
TFT-Display Controller, Busschnittstelle, Auflösung, Logikspannung und Backlight-Ansteuerung Bestimmt Verdrahtung, Treiberunterstützung und Initialisierung.
Touchfunktion Ob sie benötigt wird, welcher Controller verbaut ist und wie er angeschlossen wird Touch kann zusätzliche Hardware- und Softwareanforderungen mit sich bringen.

In welcher Reihenfolge du das Projekt umsetzt

  1. Audioquelle festlegen: Entscheide, ob du digitale I²S-Daten, einen Codec oder ein analoges Signal verwenden willst. Prüfe die benötigten Signale und Versorgung anhand der Modulunterlagen.
  2. Board und Pins abgleichen: Bestimme am konkreten ESP32-Board geeignete GPIOs. Konfiguriere im Arduino-ESP32-I²S-API Abtastrate, Datenbreite, Kanalmodus und Pins passend zur Quelle; setze keine Werte oder Pinbelegungen ungeprüft voraus.
  3. Displaykompatibilität verifizieren: Ermittle Controller und Busschnittstelle des konkreten TFT-Moduls und prüfe die Bibliotheksunterstützung sowie etwaige Initialisierungsvorgaben.
  4. Die Teilfunktionen getrennt in Betrieb nehmen: Prüfe zuerst, ob Audiodaten ankommen, dann die FFT-Verarbeitung und anschließend die Displayansteuerung. So lässt sich ein Fehler besser dem jeweiligen Teil des Signalwegs zuordnen.
  5. Anzeige abstimmen: Lege Frequenzbänder und Darstellung auf Basis der tatsächlich gewählten Abtastrate und FFT-Größe fest. Miss die erreichbare Aktualisierung am aufgebauten System, statt eine Bildrate aus Bibliotheksbeispielen abzuleiten.

Was vorab feststeht – und was nicht

Dokumentiert sind die grundlegenden Bausteine: I²S-Audioaufnahme, FFT-Verarbeitung mit ESP-DSP und eine mögliche 3,5-Zoll-Displaykonfiguration. Nicht festgelegt sind eine konkrete Hardwarekombination, ein vollständiger Schaltplan, die passende Pinbelegung, Abtastrate, FFT-Größe, Bandzahl oder erzielbare Bildrate. Diese Entscheidungen hängen vom ausgewählten Board, der Audioquelle und dem Displaymodul ab.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.