Closed darkmoon3d closed 3 years ago
Interesting. Am using similar setup with Huzzah ESP32 board (https://www.adafruit.com/product/3405) with MAX98357A but unable to work. ESP32 device 'ESP_Speaker' is showing up but not getting any audio. Using 3W 4ohm speaker (https://www.adafruit.com/product/4445)
Using following wiring:
ESP32 == MAX98357A D25 == DIN D26 == BCLK F27 == LRC 3V == VIN GND == GND
Have also tried USB==VIN
Arduino Settings: Board: Adafruit ESP32 Feather Upload Speed: 11520 Flash Freq: 80mhz Partition: Default Core Debug: None Port: COM11
Tested out using 3678 and managed to get connection and audio but getting noise only. Same setup as before aside that D27==WSEL.
Swapped pins 25 and 26. Working now. Also plugged PAM8302 onto each stereo out channel.
Brilliant, glad it's working now
Should this work on MAX98357A (https://www.adafruit.com/product/3006) or will this only work on I2S Stereo Decoder - UDA1334A (https://www.adafruit.com/product/3678)?
Could code be modified to work with PWM audio Pam8302-(https://www.adafruit.com/product/2130)?