pdf-icon

Module Audio

SKU:M144

Description

Module Audio is an audio-interaction expansion module for M5Stack, built on the ES8388 audio codec solution. It offers dual 3.5 mm jacks (one TRS jack for microphone input only, one TRRS jack for both microphone input and headphone output) to fulfill various recording and stereo playback needs. An onboard STM32G030F6P6 microcontroller handles TRRS jack insertion detection and drives WS2812C RGB LEDs. Register configuration enables automatic switching between CTIA (American) and OMTP (International) wiring standards, ensuring compatibility with most headsets featuring integrated microphones. This module is ideal for smart voice, interactive art, educational entertainment, portable recording, and other audio applications.

Features

  • STM32G030F6P6 MCU control
  • High-fidelity audio codec
  • Dual-channel microphone input
  • TRS + TRRS dual 3.5 mm jacks
  • CTIA/OMTP wiring standard switching
  • WS2812C RGB status LEDs
  • Supported development platforms
    • UiFlow1
    • UiFlow2
    • Arduino IDE

Includes

  • 1 × Module Audio

Applications

  • Smart speakers
  • Voice recognition
  • Educational entertainment
  • Interactive art installations

Specifications

Specification Parameter
MCU STM32G030F6P6 @ I2C Address: 0x33
Audio Codec ES8388 @ I2C Address: 0x10
Audio I/O 2-channel mic input, 1-channel stereo headphone output
Jack Types 1 × TRS (mic-only), 1 × TRRS (mic + headphone)
Status LEDs 3 × WS2812C_2020
Headset Standard CTIA / OMTP
Operating Current DC 3.3 V @ 23.53 mA
Standby Current DC 3.3 V @ 8.58 mA
Operating Temperature 0 °C ~ 40 °C
Product Size 54.0 × 54.0 × 13.1 mm
Product Weight 12.8 g
Package Size 132.0 × 95.0 × 16.0 mm
Gross Weight 26.3 g

Learn

Headphone Jack Types & Wiring Standards
In audio interfaces, common plug formats include TRS and TRRS:
- TRS (Tip-Ring-Sleeve) three-contact plugs support only mono microphone input or stereo output; on this module it is mic-only;
- TRRS (Tip-Ring-Ring-Sleeve) four-contact plugs provide left/right stereo output plus a microphone channel for combined mic input and playback.
For TRRS plugs there are two wiring standards:
- CTIA (American): L (Tip) = Left, R (Ring1) = Right, MIC (Ring2) = Microphone, GND (Sleeve) = Ground;
- OMTP (International): L (Tip) = Left, R (Ring1) = Right, GND (Ring2) = Ground, MIC (Sleeve) = Microphone.

Schematics

PinMap

ES8388

Pin Configuration A(For Basic/Core2)

Core SDA SCL I2S_LRCK/WS I2S_BCK/SCLK I2S_MCLK I2S_DOUT I2S_DIN
Basic G21 G22 G12 G13 G0 G15 G34
Core2 G21 G22 G27 G19 G0 G2 G34

Pin Configuration B(For CoreS3)

CoreS3 SDA SCL I2S_LRCK/WS I2S_BCK/SCLK I2S_MCLK I2S_DOUT I2S_DIN
CoreS3 G12 G11 G6 G0 G7 G13 G14
Pin Details
Module Audio reserves A/B 0 Ω jumpers for I²S pin switching to match host defaults:
- Configuration A matches Basic/Core2 default I²S pins
- Configuration B matches CoreS3 default I²S pins, since CoreS3’s onboard ES7210 occupies the original I²S pins and requires switching to avoid conflict

RGB & FSUSB42MUX & I2C

STM32G030F6P6 PA7 PA2 PA1 PA12 PA11
WS2812C LED_DAT
FSUSB42MUX HP_MODE_SET HP_DET
I2C SDA SCL

Model Size

Datasheets

Softwares

Arduino

UiFlow1

  • Coming Soon...

UiFlow2

  • Coming Soon...

Protocol

  • I2C Address
Chip I2C Address
STM32G030F6P6 0x33
ES8388 0x10

Video

  • Module Audio product introduction and demonstration