Hw-044 Datasheet Guide

| Parameter | Min | Typ | Max | Unit | |-----------|-----|-----|-----|------| | Sample Rate | 8 | 48 | 96 | kHz | | Bit Depth | 16 | 24 | 32 | bits | | BCLK Frequency | 0.5 | 3.072 | 12.288 | MHz | | LRC Frequency = Sample Rate | 8k | 48k | 96k | Hz |

| Symptom | Likely Cause | Solution | |---------|--------------|----------| | No sound, PWR LED off | No power or reversed VIN/GND | Check voltage at VIN pin. Reverse polarity kills the IC. | | Humming or high noise | Shared ground with high-current devices | Create a star ground. Separate digital and power grounds. | | Distorted audio at high volume | Clipping due to high gain | Reduce GAIN setting (float or GND). Lower source volume. | | Clicking or popping | Sample rate mismatch or BCLK unstable | Ensure I²S clock is continuous. Use internal PLL if available. | | Only left or right channel missing | Mono mode enabled (normal) | HW-044 is mono. Combine channels in software. | | Amplifier gets very hot | Speaker impedance too low (<4Ω) or short circuit | Use 4Ω–8Ω speaker. Check SPK+ to SPK- resistance. | | No sound with ESP32 | Wrong I²S pins or format | Confirm BCLK/LRC/DIN assignments. Use i2s_std driver. | How does the HW-044 compare to similar modules? hw-044 datasheet

void setup() Serial.begin(115200); WiFi.begin("SSID", "PASSWORD"); while (WiFi.status() != WL_CONNECTED) delay(1000); | Parameter | Min | Typ | Max

| HW-044 Pin | Arduino Due Pin | |------------|------------------| | BCLK | Pin 3 (DAC1) | | LRC | Pin 2 (DAC0) | | DIN | Pin 9 (DAC2) | | Others | Same as above | 5. Gain and Channel Configuration (Pin Strapping) The HW-044 module allows you to configure the amplifier gain and audio channel selection by connecting the GAIN and SD_MODE pins to either VIN, GND, or leaving them floating. Gain Settings (via GAIN pin) | GAIN Connection | Gain (dB) | Output Level (max) | |----------------|-----------|--------------------| | Float (default) | 9 dB | ~1.4x input | | VDD (VIN) | 12 dB | ~2.0x input | | GND | 15 dB | ~2.8x input | | Not available* | 18 dB * | Not on HW-044 | Separate digital and power grounds

Introduction

Then use aplay or mpg123 to output audio directly. Despite its simplicity, users frequently encounter problems with the HW-044. Here is a debugging table based on real forums and datasheet analysis.

audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DIN); audio.setVolume(21); // 0-21 audio.connecttohost("http://example.com/stream.mp3");