WS2812B

Hey folk,

I’m actually working with WS2812B on my custom Board ESP32S3 , I Have release that however i’m able to control the DI pin with the microcontroller but once i release the switch (Turning off the Board) the WS2812B remain ON or to keep it previous status. did some one face the same issue ??? it looks like i have to add a resitor on DI to pull it down … is someone can advise ? thanks

This is normal, the LEDs will retain their last state until you power them off.

There’s no power on the Board the ESP is completely off

If the LEDs are on, they are getting power somewhere.

WS2812B should be control by ESP32 which means when MCU is off this LED should be off When your microcontroller turns off, the data line (DIN) going to the WS2812B it float, and the LEDs keep their last state

All your MCU does is send instructions to the LEDs, it doesn’t directly control if they are on or off.

Each LED has it’s own MCU listening to your ESP. If the last thing they hear from the ESP before you turn the ESP off is “Turn red”, they will stay red even with the ESP off.

The only way to turn the LEDs off is to turn them off with code through the ESP before shutting the ESP off OR disconnect power to the LEDs.

It sounds like your setup disconnects power to the ESP while retaining power to the LEDs.

1 Like

Again, the LEDs can not light up with no power. If you’ve managed to get LEDs lighting up without power I would suggest making hundreds of millions of these because you’ve somehow managed to figure out free energy and are about to become very, very wealthy.

You’re cutting off power to the ESP32, but you have a second power supply for the LEDs that you’re not turning off. Double check the datasheet for the RT9080-3.3, your issue lies within.