Need Help with I2S ADC Line-In

I got WLED set up and working on my ESP32 Mini, but I’m having some trouble getting the audio reactive function to work. I am using a PCM1808 ADC board for the line-in. I’m using WLED 0.15.1 installed using the Web Installer. In WLED I set the type to “Generic I2S with Mclk” and I set the pins, but left the other audio settings on their default settings. Can anyone tell me what I am doing wrong? Thank you in advance!

PCM1808 Wiring Right:

  • BCK - I2S SCK - GPIO 19
  • Out - I2S SD - GPIO 26
  • LRC - I2S WS - GPIO 23
  • SCK - I2S MCLK - TXD (GPIO1)
  • GND - Ground
  • 3.3V - 3.3V

PCM1808 Wiring Left:

  • FMY - 3.3V
  • MD1 - Unconnected
  • MD0 - Unconnected
  • GND - Unconnected
  • 3.3 - Unconnected
  • 5V - 5V

Here’s some photos of the wiring.

need to use GPIO0 for MCLK according to the docs: Line Input - WLED MoonModules Project

1 Like

Thank you for the reply. I originally used TXD (GPIO1) because I thought GPIO0 was reserved for the reset button on the board. I got it working now by disabling the button pin in WLED and setting MCLK to GPIO0.

Now I just need to find a good HDMI audio extractor. I thought my receiver would output analog to zone 2 from a digital source, but I was wrong. It does have pre-out ports, but the manual says they can’t be used while speakers are plugged in… :cry:

Turns out that I can use the pre-out ports. I just have to use an amp as well for it to be picked up by WLED. Time to dissect some old computer speakers!