Skip to main content
The G-Sense Single-Channel Microphone (T5848) is a high-performance, bottom-port digital I2S MEMS microphone module powered by the TDK InvenSense T5848 IC. Designed specifically for always-on voice recognition, keyword spotting, edge AI, and ultra-low-power IoT applications, it combines studio-quality dynamic range with ground-breaking power efficiency. Unlike traditional MEMS microphones, the T5848 includes built-in hardware Acoustic Activity Detect (AAD). This feature monitors the acoustic environment while sipping as little as 20 µA, instantly waking your microcontroller from deep sleep via the dedicated WAKE interrupt pad whenever sound is detected.

Pin Configuration

The module exposes a 6-pin main connection header for standard I2S communication, along with dedicated auxiliary solder pads on the PCB for advanced power and wake features.

Main Header Pinout

Additional Solder Pads on PCB

The PCB features three dedicated breakout solder pads for low-power edge computing and custom power configurations:

Key Features

  • TDK InvenSense T5848 MEMS IC: Cutting-edge multi-mode digital microphone with bottom acoustic port.
  • Direct I²S Digital Audio: Connects straight to the ESP32 without requiring an external audio codec or analog circuitry.
  • Ultra-Low-Power Acoustic Activity Detect (AAD): Listens for sound and voices in edge-processing mode at just 20 µA.
  • Hardware WAKE & THSEL Pads: Easily trigger wake-up interrupts on voice/tap events with configurable detection thresholds.
  • 1.8V Native Rail Breakout: Dedicated solder pad for 1.8V power rails and energy-harvesting IoT nodes.
  • High Acoustic Overload Point (AOP): Up to 133 dB SPL, preventing distortion in noisy and high-volume environments.
  • High Signal-to-Noise Ratio (SNR): 68 dBA in High Quality Mode for clean speech recognition and audio recording.
  • Multi-Mode Power Management: High Quality, Low Power (AlwaysOn), and Sleep modes with minimal latency.

Application

  • Voice-Activated IoT Nodes: Wake-on-sound home automation and smart assistants.
  • Keyword Spotting & Edge AI: On-device voice classification with ESP32-C3 / ESP-SR.
  • Security & Glass Break Detection: Acoustic event triggers using the hardware AAD engine.
  • Audio Recorders & Smart Wearables: Low-power audio capture and sound monitoring.
  • Industrial Condition Monitoring: Acoustic anomaly detection in rotating machinery.

Step 1: Hardware Required

  1. Pcbcupid GLYPH-C3 board (or any GLYPH ESP32 series board)
  2. G-Sense 1-Channel Microphone (T5848) Module
  3. Breadboard & Jumper wires
  4. USB-C Cable for power and serial programming

Step 2: Circuit Diagram

pcbcupid_t5848_circuit Connect the module to the GLYPH-C3 as follows:
  • VCC → GLYPH-C3 3.3V
  • GND → GLYPH-C3 GND
  • SCK → GLYPH-C3 GPIO 6 (MO)
  • WS → GLYPH-C3 GPIO 20 (RX)
  • SD → GLYPH-C3 GPIO 7 (MI)
  • LR → GLYPH-C3 GPIO 21 (TX) (driven LOW in software for Left Channel)
(Optional): Connect the WAKE solder pad to an available GPIO (e.g., GPIO 3) if utilizing wake-on-sound interrupts.

Step 3: Code Setup

Open the Arduino IDE and paste the following sketch. This sketch uses the native ESP-IDF I2S driver built into the ESP32 Arduino Core to configure the master I2S receiver, read 32-bit digital audio samples from the T5848, and print sample amplitudes to the Serial Monitor:

Step 4: Upload the Code

  1. Connect your GLYPH-C3 to your computer via USB-C.
  2. In the Arduino IDE, configure the board settings:
    • Go to Tools → Board → esp32 → Pcbcupid GLYPH C3.
For Pcbcupid GLYPH C3 to appear under Tools > Board > esp32, the esp32 board package installed in the Arduino IDE must be version 3.1.0 or higher.
  • Select your COM port under Tools → Port.
  • Set Tools → USB CDC On Boot → Enabled.
If USB CDC on Boot is disabled, serial debug messages will not appear in the Serial Monitor.
  1. Click Upload (or press Ctrl + U).

Step 5: Observe the Output

  1. Once uploaded, open the Serial Monitor at 115200 baud.
  2. You will see the initialization status followed by the live 32-bit sample values: pcbcupid_t5848_output