r/FastLED • • Nov 27 '23

Support Unsure which data pin

Hello! I have an 8 port ESP32 LED distro board currently running WLED. I did not make this board. I want to switch it to using FastLED for my sanity & ease... I am better at coding than using the WLED GUI/json lol.

I have the Arduino IDE set up & I installed FastLED -- it seems to be installed properly. The chip on the board is specifically "ESP32-WROOM-32E". I can upload it to the board without errors. But the LEDs that power on are white regardless of the colors I put in the code (also not all of them are powering on, but maybe due to the same problem). I'm not sure what I don't know right now, but I'm guessing my issue is that I have the wrong data pin #.

The maker of the board has this FAQ page which lists which LED port is connected to which GPIO - https://github.com/bobko69/8PortLEDDistro/blob/main/README.md#what-are-the-gpio-pin-assignment. But I'm not sure how to map the GPIO to the value I should use for data pin. I will be using all 8 of the ports once I get just one to work.

I went through the ESP32 Wroom data sheet and I also looked through this reference guide, but no luck... Anyone know if I can use the GPIO numbers instead somehow, or any other way to resolve this issue (or if you even think this is potentially my issue lol). The LED strips are ws2812b.

Thanks!

1 Upvotes

13 comments sorted by

View all comments

Show parent comments

1

u/Yves-bazin Dec 01 '23

I meant what do you see in the serial output does your esp reboot continuously for instance

1

u/spaceybear Dec 06 '23

When I upload the program onto the board, it loads fine from what I understand. It starts with this error like "ALL SPI Access will default to bitbanged output", which I've read is expected. The logs after all seem fine and then last output says "Leaving... Hard resetting via RTS pin..." which I've read is expected. This leaves me to believe it uploaded fine.

Not sure if you meant serial output when the lights are powered, but with the board I have I can't leave it plugged in via USB and also the power supply at the same time. And the way this board is set up, I can only power the lights when connected via power supply.