WIZM-AUDAMP

AMP

WIZM-AUDAMP is a compact Class-D Audio Amplifier module powered by the MAX98357A IC. Utilizing a standard I2S digital audio interface with dedicated 3.3V and GND pins, it features onboard solder jumpers for channel and gain selection alongside a 2-pin speaker output connector for effortless integration into audio-enabled IoT systems.

ADK-Buy Buy now

The WIZM-AUDAMP is an integrated Class-D audio amplifier module featuring the MAX98357A digital PCM input audio amplifier IC. It accepts digital audio signals over a standard I2S interface (WS, SD, and SCK) and drives an external speaker directly through a 2-pin connector (J2). Dual input header breakout options (standard 2.54mm pitch through-holes and a right-angle keyed connector) along with configurable hardware jumpers make it ideal for voice alerts, sound effects, and smart IoT audio applications.


Features

  • MAX98357A Audio Amplifier IC: High-efficiency mono Class-D digital audio amplifier with built-in DAC.

  • I2S Digital Audio Interface: Supports standard I2S serial audio signals (WS, SD, SCK) without requiring an external MCLK.

  • Hardware Channel & Gain Selection: Configurable solder jumpers on the PCB for selecting audio channel (LEFT, RIGHT, L/2+R/2) and amplifier gain (6dB, 12dB).

  • Dual Input Connection Options: Supports standard 2.54mm pitch pin headers (P1) alongside a 5-pin keyed horizontal lock connector (J1).

  • Direct Speaker Output: Dedicated 2-pin keyed connector (J2) for connecting an external speaker (P / N).

  • Mounting Holes: Four corner mounting holes plus a center pass-through hole for secure panel or enclosure mounting.


Specifications

Parameter

Value

Model / P/N

WIZM-AUDAMP

Function

Audio Amplifier

IC

MAX98357A

Interface (I/F)

I2S

Hardware Revision

1.0

Operating Voltage

3.3V DC

Input Connectors

Standard 2.54mm 5-Pin (P1) / Keyed Horizontal 5-Pin (J1)

Speaker Connector

Keyed 2-Pin Header (J2: P, N)

Input Pin Count

5 Pins (WS, SD, SCK, GND, 3.3V)


Pinout & Hardware Overview

The module provides two parallel 5-pin input interfaces: a standard 2.54mm pitch breakout (P1) and a horizontal keyed connector (J1), plus a 2-pin speaker output header (J2).

Input Pins (P1 / J1)

Pin

Type

Description

WS

Input

I2S Word Select (Left/Right Clock)

SD

Input

I2S Serial Data Input

SCK

Input

I2S Serial Bit Clock

GND

Power

Ground supply reference

3.3V

Power

3.3V DC Power Supply

Speaker Output (J2)

Pin

Type

Description

P

Output

Positive Speaker Terminal (+)

N

Output

Negative Speaker Terminal (-)

Onboard Configuration Jumpers

Jumper

Setting

Description

W1

LEFT

Selects Left I2S audio channel

W2

RIGHT

Selects Right I2S audio channel

W3

L/2+R/2

Mixes Left and Right I2S channels (Mono mix)

W4

6dB

Sets amplifier gain to 6dB

W5

12dB

Sets amplifier gain to 12dB

Top View & Bottom View

topandbottom


Platforms Supported

MicroPython

Micropython Logo


Getting Started

Materials Required (excluding Audio Amplifier module)

  • W55MH32L-ADK

  • External Speaker (with 2-pin JST connector for J2)

  • 5-pin female-female JST PH-Style Cable

  • USB Type-C Cable

W55MH32L-Application-KIT

Hardware Connection

  1. Connect an external speaker to the 2-pin J2 connector (P and N) on the WIZM-AUDAMP module.

  2. Connect the WIZM-AUDAMP to the W55MH32L-ADK with the JST PH-Style Cable to J11.

  3. Use a USB Type-C cable to connect the WIZ-LINK Port on the W55MH32L-ADK board to your PC.

Hardware Connection


Sample Code Demo

Software

We will be using Thonny IDE to run the code.

  1. Open Thonny IDE on your PC.

  2. Select the correct COM port for your board.

  3. Set the interpreter to MicroPython (generic).

Refer to the WIZnet documentation page for detailed instructions under the “Basic Setup” section.

MicroPython

import time
from machine import Pin, PWM

# --- Configure pin, frequency, and step timing ---
PWM_PIN = "PD13"
FREQ_HZ = 1000
STEP_DELAY_MS = 500

pwm = PWM(Pin(PWM_PIN))
pwm.freq(FREQ_HZ)


def set_duty_percent(percent):
    """Set duty cycle from 0.0 to 100.0 percent using 16-bit resolution."""
    clamped = max(0.0, min(100.0, float(percent)))
    duty = int((clamped / 100.0) * 65535)
    pwm.duty_u16(duty)
    return duty


def main():
    print(f"PWM test started on pin {PWM_PIN} at {FREQ_HZ} Hz")
    levels = [0, 10, 25, 50, 75, 100, 50, 0]

    try:
        while True:
            for pct in levels:
                raw_duty = set_duty_percent(pct)
                print(f"Duty: {pct:3d}% (duty_u16={raw_duty})")
                time.sleep_ms(STEP_DELAY_MS)
    except KeyboardInterrupt:
        pwm.duty_u16(0)
        pwm.deinit()
        print("\nPWM stopped and deinitialized.")


if __name__ == "__main__":
    main()

AUDAMP Demo

Schematic

Download: WIZM-AUDAMP Schematics