You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is possible to use 5050 RGB Led Strip instead of WS2812b ? #58
I have a long strip available for free and I'd like to know if it's possible to easily adapt this project to use that full strip of 5050 as at least 1 big RGB Led in this project ?
Yes, this is possible, although you'll need additional hardware, namely three output MOSFETs for each R, G and B channel (these strips use a lot of power) and a controller that can send PWM signals to said MOSFETs. Any old Arduino will do, but not the ESP itself, since it can't do reliable PWM together with WiFi functions. Ideally we'd use a WS2811 chip since it can use the same protocol as WS2812B, but adapting WLED to send the signal to an Arduino Uno or whatever via SPI can easily be done (i'd do this step for you, you just need the Arduino + some simple code to translate the SPI from the ESP to RGB PWM outputs). Maybe you can also find some ready to use LED controller that already has the MOSFETs to drive the strip built-in. Let me know if I can help you on the software side once you find suitable hardware :)
I do have a circuit already runnning with an small 5050 led strip (20 cm) and it was quite easy to build for that size, what I'm wondering if that's "adaptable" to the code easily somehow... what do you think ?
Ok, it seems like the ESPs PWM might even be stable enough so we don't need another Arduino.
To see if your circuit is enough, look at the datasheets of the three transistors and find out their max. current (consistent drain). You'll probably need MOSFETs for this. Then you can ideally measure the current draw of your long 5050 strip on full white (if you can't, it should be about 1.5Amps/Meter) and see if it divided by 3 is lower than the max. current in the transistor datasheet.
It seems to be working perfectly fine ! The video is not very good with colors, but it's quite acurate. I need to replace the LM7805 that I'm using for power as it's getting hot, but the MOFET's, and the code seems to be working fine !
For some reason, Alexa is not able to turn off the RGB 5050, she finds the device, it says "ok" but the leds stay ON (I think they go down in intesity and effects in progress get interrupted, but the lights stay on).
Any ideas ? By the way, what could be a good Windows software to make the leds change colors with the music or movies ? Tried Hyperion with Kodi but was too confusing...
By the way, great work with the WLED project man... it's very cool.
Hi guys! Awesome project, thanks a bunch Aircookie! I was just wondering about something: I have a Blitzwolf lt11 led strip which uses 5050 led chips. Currently, I'm running Tasmota on it and wanted to see if I can just change the firmware on the controller and it would work?
Thanks very much in advance!
Daniel
Hello, I am running a Sonoff L1 which uses an ESP chip, was wondering if I can flash it with WLED and have the 5050 strip still work. I saw that Tasmota is compatible but not sure about this.
So. do we have RGB "analog leds" support in the 0.10.0 version ? I am asking because I am trying to get the changed file into the source but it fails to compile (probably many changes since it was written).
Laut der Firmware kann man jetzt 4 pin LEDs also RGB auswählen. Habe ich gerade gesehen. Gucke mal unter den LED Settings.
hello I would like to connect an analog RGB band to the WLED. Which hardware do I need exactly. N Chanel or or P Chanel Fets. could someone provide a small circuit board. thanks
hello I would like to connect an analog RGB band to the WLED. Which hardware do I need exactly. N Chanel or or P Chanel Fets. could someone provide a small circuit board. thanks
any boddy can help me i'm new and i wanna know hot to modify the folder of wled to adjut it for led 5050
I would love to know this too. I have read quite a lot about users with 5050 strips, even to the point of noticing they're officially supported now.
I flashed WLED_0.11.1_ESP8266.bin, connected the the UI so the ESP part is working. The LEDs are being powered too, as mentioned above, but I am unable to change any LED over the UI.
Please can some give an example of exactly what I should do to get this working. I have 2 (donated) sets of these lights sitting around doing nothing, it would be a shame for them to end up in landfill :(
@blazoncek well it is for all the ws* strips, but not for the basic 5050 strip. Somehow i thought better and got 5050 led strip myself and then found this thread beacuse i wasnt sure how to connect it:)
I am using a non-addressable 5050 RGB LED strip, I set up the MOSFET circuit and tried using PWM RGB and the pins, but I couldn't get any results. I don't know what I'm doing wrong, I've looked at old topics but couldn't find anything useful that would work with the current version of WLED. Can you help me?
Activity
Aircoookie commentedon Oct 16, 2018
Yes, this is possible, although you'll need additional hardware, namely three output MOSFETs for each R, G and B channel (these strips use a lot of power) and a controller that can send PWM signals to said MOSFETs. Any old Arduino will do, but not the ESP itself, since it can't do reliable PWM together with WiFi functions. Ideally we'd use a WS2811 chip since it can use the same protocol as WS2812B, but adapting WLED to send the signal to an Arduino Uno or whatever via SPI can easily be done (i'd do this step for you, you just need the Arduino + some simple code to translate the SPI from the ESP to RGB PWM outputs). Maybe you can also find some ready to use LED controller that already has the MOSFETs to drive the strip built-in. Let me know if I can help you on the software side once you find suitable hardware :)
MopheusDG commentedon Oct 16, 2018
I do have a circuit already runnning with an small 5050 led strip (20 cm) and it was quite easy to build for that size, what I'm wondering if that's "adaptable" to the code easily somehow... what do you think ?
Thanks @Aircoookie !
Aircoookie commentedon Oct 17, 2018
Ok, it seems like the ESPs PWM might even be stable enough so we don't need another Arduino.
To see if your circuit is enough, look at the datasheets of the three transistors and find out their max. current (consistent drain). You'll probably need MOSFETs for this. Then you can ideally measure the current draw of your long 5050 strip on full white (if you can't, it should be about 1.5Amps/Meter) and see if it divided by 3 is lower than the max. current in the transistor datasheet.
Here is a small (untested!) example code on how to control the 5050 strip from wled. Connect R-G-B transistor source pins to GPIO 12-14 (D6, D7, D5 on Wemos D1 mini).
You just need to replace the NpbWrapper.h file with this version: https://gist.github.com/Aircoookie/fc0670a077eff1e7cfd4aa707b581214
I hope it works well. There could be flicker with the PWM, in which case we'd need to find another solution :)
MopheusDG commentedon Oct 17, 2018
It seems to be working perfectly fine ! The video is not very good with colors, but it's quite acurate. I need to replace the LM7805 that I'm using for power as it's getting hot, but the MOFET's, and the code seems to be working fine !
https://youtu.be/xQs4N_8qOuU
Thanks @Aircoookie, will make some tests later on a safer power supply (and my 5 mts strip).
MopheusDG commentedon Oct 18, 2018
For some reason, Alexa is not able to turn off the RGB 5050, she finds the device, it says "ok" but the leds stay ON (I think they go down in intesity and effects in progress get interrupted, but the lights stay on).
Any ideas ? By the way, what could be a good Windows software to make the leds change colors with the music or movies ? Tried Hyperion with Kodi but was too confusing...
By the way, great work with the WLED project man... it's very cool.
codehackr commentedon Oct 18, 2018
awesome i was wondering if this setup would work
daksh1305 commentedon Jun 25, 2019
The Wled project is really cool i have integrated the code on rgb5050 leds but alexa is not working.
Can anyone please help me with this.....????
Ukhauk commentedon Nov 16, 2019
Hi thanks for sharing this this awesome project Aircoookie.
For info I have used the modified NpbWrapper as linked above with this shield Velleman KA01 RGB Shield Kit for Arduino
https://www.vellemanformakers.com/product/rgb-shield-for-arduino-ka01/
I plugged the shield into a Wemos D1R2 https://www.instructables.com/id/Programming-the-WeMos-Using-Arduino-SoftwareIDE/
pins need changing in the NpbWrapper to suit the shield as follows :-
//init PWM pins
pinMode(D6, OUTPUT);//12
pinMode(D5, OUTPUT);//13
pinMode(D3, OUTPUT);//14
DenielTorres commentedon Nov 29, 2019
Hi guys! Awesome project, thanks a bunch Aircookie! I was just wondering about something: I have a Blitzwolf lt11 led strip which uses 5050 led chips. Currently, I'm running Tasmota on it and wanted to see if I can just change the firmware on the controller and it would work?
Thanks very much in advance!
Daniel
raress96 commentedon Dec 14, 2019
Hello, I am running a Sonoff L1 which uses an ESP chip, was wondering if I can flash it with WLED and have the 5050 strip still work. I saw that Tasmota is compatible but not sure about this.
Def3nder commentedon Jan 1, 2020
With release 0.9 the “solid RGB stripes” aka 5050 stripes are supported.
connectedoperations commentedon Jan 1, 2020
Mariu86 commentedon Jan 1, 2020
Yes, the entire strip has the same efect and color, this is an analog strip. The 5050 it's in fact the size of the led 5mmx5mm.
tonyn0 commentedon Jan 4, 2020
I just tried that wrapper in the latest version and it's not compiling. Any ideas?
exit status 1
'NeoEsp32RmtWS2813_V3Method' was not declared in this scope
24 remaining items
Basti149 commentedon Jul 9, 2020
Laut der Firmware kann man jetzt 4 pin LEDs also RGB auswählen. Habe ich gerade gesehen. Gucke mal unter den LED Settings.
DennisXK commentedon Dec 15, 2020
hello I would like to connect an analog RGB band to the WLED. Which hardware do I need exactly. N Chanel or or P Chanel Fets. could someone provide a small circuit board. thanks
zigi-dz commentedon Feb 22, 2021
any boddy can help me i'm new and i wanna know hot to modify the folder of wled to adjut it for led 5050
n1md4 commentedon Mar 21, 2021
I used this https://learn.adafruit.com/rgb-led-strips/usage with an external 12v supply all LEDs illuminate.
n1md4 commentedon Mar 21, 2021
I would love to know this too. I have read quite a lot about users with 5050 strips, even to the point of noticing they're officially supported now.
I flashed WLED_0.11.1_ESP8266.bin, connected the the UI so the ESP part is working. The LEDs are being powered too, as mentioned above, but I am unable to change any LED over the UI.
Please can some give an example of exactly what I should do to get this working. I have 2 (donated) sets of these lights sitting around doing nothing, it would be a shame for them to end up in landfill :(
interbiznw commentedon Dec 27, 2022
do you still need the mosfets for these 5050 strips even though this is integrated into latest versions now?
If so does anyone have a simple schematic/diagram of hookup and to what pin(s)??
blazoncek commentedon Dec 27, 2022
Please use WLED forum or Discord for help and support questions.
The sample schematics are available on KB as well.
interbiznw commentedon Dec 27, 2022
I've looked all over for sample schematics of using 5050 LEDs, and Mosfets to get them working. Found nothing.
Hence how I ended up here.. So if you have any more insight other than a general link to the KB it would be useful
Thanks
blazoncek commentedon Dec 27, 2022
Oh, come on!
It's on the Getting started page.
Getting started
gasperzupancic commentedon Jan 2, 2023
@blazoncek well it is for all the ws* strips, but not for the basic 5050 strip. Somehow i thought better and got 5050 led strip myself and then found this thread beacuse i wasnt sure how to connect it:)
blazoncek commentedon Jan 2, 2023
@gasperzupancic you just need to add MOSFETs. Basic schematics is on KB as well.
Dogu105 commentedon Mar 21, 2024
I am using a non-addressable 5050 RGB LED strip, I set up the MOSFET circuit and tried using PWM RGB and the pins, but I couldn't get any results. I don't know what I'm doing wrong, I've looked at old topics but couldn't find anything useful that would work with the current version of WLED. Can you help me?
blazoncek commentedon Mar 21, 2024
Please use WLED forum or Discord for help and support questions.
Merge pull request wled#58 from Aircoookie/master