Issues with BTF 24v Addressable neon

Hi

I have purchased the following strip, described as :

BTF-LIGHTING FCOB SPI RGB Flexible High Density LED Strip COB WS2811 IC LED Strip 5M 630LEDs/m 14W/M DC24V Black PCB IP30 Chasing Colour

My strip is - https://www.amazon.co.uk/BTF-LIGHTING-Flexible-Density-630LEDs-Controller/dp/B0C48TH9WR?ref_=ast_sto_dp&th=1&psc=1

Its a 24v WS2811 5m strip with 70 (counted) sections, 620 leds/m …

I have tried both ESP32 and ES8266, the strip lights up, so I have power, but changing colour or effect just makes all the lights change and flicker…

I have the LED strips connected to a 24V supply, the ESP8266 running on a 5v USB supply, the ground and data pins are connected to GND and GPIO2 on the ESP.

There isn’t an option to choose WS2811 24v, I sort of assumed these strips would work, but it looks like they may not be compatible, should I just return and look for something else ?

Thanks

They should just work w/281x protocol.
If your PS’s are good and you have a common ground between the ESP and the strip, your next step will be to add a proper Levelshifter (not I2C).

So a 24V 200W 8A power supply connected to Red (+ve), White (-ve) then connected to the two (extra) power injection wires (red and white on led strip) …

This then leaves three wires on LED Strip, Red, Green and White, I have :

White (GND) connected to ESP GND
Greens (data) connected to GPIO4

I assume this means I have a common ground as the ESP is connected to white on the LED strip, which in turn connects to the -ve on the 24v side of the power supply ?

Yes, that will do for common ground.
Levelshifter is next.

Total noob and well out of my comfort zone, any amazon links and or ELI5 articles that would show how to connect ?

I assume it sits in-between the Ground and Data line from ESP → LED Strip, raising voltage from 3.2V (ish) to 5V that is expected ?

https://kno.wled.ge/basics/compatible-hardware/#levelshifters
https://www.amazon.com/gp/product/B08R6BCSYC
https://www.amazon.com/gp/product/B00E6PNOXU/

Take a look at KB section on levelshifters there’s a bunch of good info there.

I’d recommend the 74AHCT125 based devices, make sure to wire all the unused inputs per the diagram and include the 100nF bypass capacitor. Don’t worry about the output resistor for your setup. As per the diagram, the levelshifter sits inline with the data from GPIO to the strip. It raises the output of the GPIO from a max of 3.3V to a max of 5V as required by the LEDs. You can think of It needs 5V power to operate properly

Ok parts ordered from amazon, soldering fun tomorrow !!

Two questions if I may ?

When you say inline, essentially the level shifter sits between the data line out of the ESP32 and the LED Strip, we are raising the data sent from 3.3V to 5V which is what the LED Strip expects ?

In effect this is a workaround for the fact the ESP32 works at 3.3V ? If there was such a thing as a ESP32 that output Data at 5V this wouldn’t be necessary.

Second question, at the moment the ESP32 is powered via a 5V USB connection, where do I get the 5V needed for this ? Do I need to buy a separate power supply that breaks out the 5V +ve & -ve, providing a 5V supply and GND ?

Such as : - https://www.amazon.co.uk/Universal-Regulated-Switching-Converter-Transformer-5V-5A-25W/dp/B07PPPF1R5/ref=sr_1_9?crid=35X07UJZ3WXVT&dib=eyJ2IjoiMSJ9.PILaxVnoVo-PdRnIXlcM--bUAhePszROZBVY59lDchslJty-Z0YhWA7j259safZvQNVugq1TffUPOX3wOMdZKQ.O7Ikrctutr7sWVd1opKm4-KeUqsgrhbW-blBRZjAm9c&dib_tag=se&keywords=5v%2Bpower%2Bsupply&qid=1704961635&sprefix=5v%2Bpower%2Bsupply%2Caps%2C88&sr=8-9&th=1

I guess the ideal would be a supply that can provide both 24V and 5V ?

Thanks for the help …

Yes, the need for a levelshifter is because the entire line of ESP devices is limited to a max supply of 3.3V.

As far as 5V power, the ESP board and levelshifter typically need only 1.5A at absolute worst so almost any 5V 2A supply is adequate. Some people have used a USB 2A charger or a 5V2A “wallwart” style device. Just remember to connect the data and ground wire to your strip when using a separate PS.

The other option would be to get a 24V->5V 3A buck converter and use that to drop the main supply for the ESP.

Ok I think I’m nearly there, I’m using a 5V 2A Apple plug to USB in on the ESP32, that works and powers the ESP32 fine.

The bit I’m confused on is : In the levelshifter diagram for SN74AHCT125 it shows 5V going to pin 4, 10, 12, 13 and 14, where do I get that 5V from ? I’m using an ESP32 powered from a standard USB power supply…

I might be asking a stupid question ?

To give things a little perspective:
Pin 14 on the 74AHCT125 is the power (Vcc) pin that supplies the device.
All other connections to 5V are logic inputs that correspond to Hi level.
Similarly pin 7 is the power supply Gnd for the chip and all other connections are logic Lo inputs.

The 5V you use is the same that powers the ESP32. Depending on the board, you usually can get 5V at the Vin pin when powered from the USB connector (check with a multimeter to be sure). If you use a separate “wall wart” or other plug in supply, just add wiring from that supply to the levelshifter.

1 Like

Perfect thanks for the response, parts ordered, I’ll report back :slight_smile:

Did it work? Because i think i have the Same problem…

I couldn’t figure it out, I abandoned the idea of DIY and bought a quinled quad instead. The good news is this works flawlessly. Some fiddling in wled to get the right led version, order for RGB and number of segments. But once setup everything works with the advantage of a single power supply. Rather than one 24v for the lights and a second smaller 5v for USB power.

Hope this helps.

… Hmmm to bad! I have 3 led stripes one with fcob Running already… i missbought this ine with this Chip… ill try anyway. But thx for the reply

hey y’all. created this account tonight after three full weeks of bashing my head on this. enjoyed the ups and downs of mosfets and PWM to get two 24v CCT strips working on my EESP32 D1 mini.

but.

dear god. I have tried everything for the WS2811, same one as the link from OP. I have tried resistors and mosfets and first a low power bi directional level shifter and latest a more purpose built unidirectional level shifter (74AHCT125N). I have tried with the chip connected to a 24v → 5V usb plug, I have tried controlled directly with an adjustable power supply.

I have seen every kind of crazy behavior except the right behavior. Last night with jacked into the USBs 5v pin to my 74AHCT125N and got the closest to finished but only when my multimeter’s ground pin was connected to the ground power distribution block (V+ not connected to anything) but as soon as I pulled it off, back to light spasms

tonight i tried with the adjustable power supply so everything except the strip ran on 5V. broke out my last new ESP32 and tested three different 74AHCT125N in case of a dud. and behavior was honestly worse, no movement in the lights at all, just sitting in the wrong random mix of colors. When I unplugged the data from the level shifter, back to spasms, spasms stop when plugged back in but no control, couldnt even get them to change with flicker like I could in all the other setups.

so. for the sake of my sanity. I would deeply appreciate any and all feedback. for the first few weeks this steep curve from “never soldered” to “ahh yea check line 67 for the VGS(th) on the MOSFET datasheet” was fun and challenging. but now i am broken.

And to anyone considering this setup. I have seen one post where people seem to have figured this out (arduino - Level shifter for a WS2811 LED strip - Electrical Engineering Stack Exchange), and a few amazon reviews on the 74AHCT125N, but i have tried and tried and tried everything they talk about and still havent won.

to all yall who have won many of these battles, hats off to ya

Interesting info there. Looks like their solution was to use the SN74xxx shifters. :slight_smile:

I’d suggest you open your issues as a new topic.

In that post, describe your setup and what you’ve tried so we can help you resolve the issues.

Much easier to start from a clean page rather than extending this topic.

@divsys - done, appreciate the help!

Separate post about this issue with WS2811 RGB 24v control with ESP32 D1 Mini

Yep, which is what I tried after one of the low power bi-directional level shifters. Still no luck. Created this post to see if anyone has any feedback!