ESP8266Audio icon indicating copy to clipboard operation
ESP8266Audio copied to clipboard

Built-in LED

Open DavidRuizBarajas opened this issue 3 years ago • 1 comments

I cant find and answer for this problem in the closed or open issues, the problem is when I use the ESP8266Audio i can't control the esp8266 (NodeMcu 1.0) Built-In LED, they remain turn on... its a silly cuestion but this there anyway to turn them off?

DavidRuizBarajas avatar May 21 '21 16:05 DavidRuizBarajas

I think this section in the readme file sorts this out:

I2S DACs

I've used both the Adafruit I2S +3W amp DAC and a generic PCM5102 based DAC with success. The biggest problems I've seen from users involve pinouts from the ESP8266 for GPIO and hooking up all necessary pins on the DAC board. The essential pins are:

I2S pin Common label* ESP8266 pin
LRC D4 GPIO2
BCLK D8 GPIO15
DIN RX GPIO3

* The "common label" column applies to common NodeMCU and D1 Mini development boards. Unfortunately some manufacturers use different mappings so the labels listed here might not apply to your particular model.

On quite a few boards GPIO2 is also used for the LED PIN. SOURCE So because it is also used by i2S the led comes on as soon as you start using i2S.

The only workaround that i know of is to 'gently remove' the LED from the ESP8266 board. I personally used a screwdriver and just broke it off, that works fine too.

wimmatthijs avatar Jun 01 '23 21:06 wimmatthijs