Is possible to use 5050 RGB Led Strip instead of WS2812b ?
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 ?
Thanks @Aircoookie !
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 :)
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).
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.
awesome i was wondering if this setup would work
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.....????
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
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.
With release 0.9 the “solid RGB stripes” aka 5050 stripes are supported.
5050 refers to the led without an individually addressed chip?
On Tue, Dec 31, 2019 at 10:24 PM Def3nder [email protected] wrote:
With release 0.9 the “solid RGB stripes” aka 5050 stripes are supported.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Aircoookie/WLED/issues/58?email_source=notifications&email_token=AMSH4S4AZWTDFV5XDV6IV23Q3QEFFA5CNFSM4F3T44SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH44LTA#issuecomment-570017228, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMSH4S74JVPCS3HOZDX2NXLQ3QEFFANCNFSM4F3T44SA .
-- Regards, James Bahr Operations Manager
FieldTEKS.com 415.985.4420
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.
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
@tonyn0 you can try and replace the method name with NeoEsp32Rmt0Ws2812xMethod and it should compile. I will update the gist.
That said, I do not recommend using it anymore as the latest WLED source offers native support.
Just uncomment #define WLED_USE_ANALOG_LEDS in line 8 of NpbWrapper.h :)
Thanks. I thought I had the latest but did not!
Umm. Can you check the source ZIP? Line 8 is not what you say it should be.
Did you use the "Clone or download" button in the top right of the main repo page? The line definitely is correct: https://github.com/Aircoookie/WLED/blob/master/wled00/NpbWrapper.h#L8
User error! :D Thanks. All good now. Also, I modified it for the ESP32.
@tonyn0 awesome! Would you mind sharing? I was going to add analog LED support for ESP32 using ledc, but didn't have the time yet :)