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 ~ 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

RGB & FSUSB42MUX & I2C

STM32G030F6P6 PA7 PA2 PA1 PA12 PA11
WS2812C LED_DAT
FSUSB42MUX HP_MODE_SET HP_DET
I2C SDA SCL
Pin Details
Module Audio reserves A/B Pin Configuration for I2S pin switching to match host defaults:
- Configuration A matches Basic/Core2 default I2S pins
- Configuration B matches CoreS3 default I2S pins, since CoreS3’s onboard ES7210 occupies the original I2S pins and requires switching to avoid conflict

M5-Bus

PIN LEFT RIGHT PIN
GND 1 2
GND 3 4
GND 5 6 RST
7 8
9 10
11 12 3V3
13 14
15 16
SDA 17 18 SCL
19 20
I2S_LRCK 21 22 I2S_MCLK/I2S_SCLK
I2S_DIN 23 24 I2S_MCLK/I2S_SCLK
25 26 I2S_DOUT
27 28 5V
29 30

Model Size

Datasheets

Softwares

Arduino

UiFlow1

  • Coming Soon...

UiFlow2

Protocol

Internal Firmware

Chip I2C Address
STM32G030F6P6 0x33
ES8388 0x10

Video

  • Module Audio product introduction and demonstration