Datasheet: Hw-044
void setup() Serial.begin(115200); WiFi.begin("SSID", "PASSWORD"); while (WiFi.status() != WL_CONNECTED) delay(1000);
| Module | Input | Channels | Power (5V, 4Ω) | SNR | Complexity | |--------|-------|----------|----------------|-----|-------------| | | I²S Digital | 1 | 3.2W | 94dB | Low (no ADC needed) | | LM386 | Analog | 1 | ~1W | 70dB | Very low | | PAM8302 | Analog | 1 | 2.5W | 85dB | Low | | MAX98306 | I²S | 2 (Stereo) | 2x3.7W | 93dB | Medium | | DFPlayer Mini | Serial/MP3 | 1 | 3W | 80dB | Medium (with SD card) | hw-044 datasheet
| HW-044 Pin | ESP32 GPIO Pin | |------------|----------------| | VIN | 5V (or VIN) | | GND | GND | | BCLK | GPIO 26 | | LRC | GPIO 25 | | DIN | GPIO 22 | | GAIN | Float (default) or to VIN/GND | | SD_MODE | Connect to 3.3V (High) | 4.2 Connection to Arduino Uno (Using I²S Library) Note: Standard Arduino Uno does not support I²S natively on all pins. Use an Arduino Due or Zero for best results, or a software bit-banging library. void setup() Serial
For 44.1 kHz / 16-bit stereo, BCLK = 44,100 × 16 × 2 = 1.4112 MHz. The HW-044 handles this easily. The HW-044 handles this easily
| 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 |