-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is possible to use 5050 RGB Led Strip instead of WS2812b ? #58
Comments
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. 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). |
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 ! 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. |
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? |
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 ***@***.***> 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
<#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 |
@tonyn0 you can try and replace the method name with That said, I do not recommend using it anymore as the latest WLED source offers native support. |
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? |
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 :) |
@Aircoookie I'm brand new to Github, so I need to figure out how. ;) I also want to find out just how many outputs can be used. |
Hi Aircoookie, I added support for ESP32 for both IR-Receiver and solid 5050 RGB(W) stripes last weekend. Would you like to have this separated in two PR's ? (the IR-remote replaces the "on/off" switch in the config by an integer number and enabled different IR-Remote types (0=off, 1=1st IR-remote, 2=2nd IR-Remote, etc.) so we can switch between different types without recompiling. |
@Def3nder that sounds good! |
Do you know how I can activate this? |
Hi @Smokrow ,
... if you have problems, just tell me your PINs for R,G,B and W (if you have an RGBW strip) and your Button-PIN (if used) then I compile a release for you. |
Hi @Def3nder. This worked like a charm :) Thank you |
I plan on adding support for four, RGBW channels based on the rough plan below, unless someone knows in advance that it won't work. ;) I'm using ESP32s so just starting with that. wled00.ino npbwrapper.h void SetPixelColor(uint16_t indexPixel, RgbwColor color) void SetRgbwPwm(uint8_t r, uint8_t g, uint8_t b, uint8_t w, uint8_t w2=0, uint8_t i) |
Hi @tonyn0, this will break 5-channel support 😢 My suggestion would be to use the first pixel of each segment as "analog color". With your idea you could define 4 segments, too, but the effects will not work on segments with a To get good results you with analog LED strips the segment needs to be at least 30 pixel or bigger. |
Eh, I can't even see myself using RGBW. A good app negates the need. It may be more of a pain, but I didn't mind too much with another system that I used. This may be why I bumped an issue mentioning color correction. ;) With prices dropping, RGBW may have already come down to the level of RGB, though. How am I grabbing the first four pixels instead of three? Isn't indexPixel each LED? |
sorry, I meant "you get the first 4 pixels mapped to four strips" 😄 And: the "white" color is so much warmer (if you grab the |
Stop thinking RGB white needs to be equal values. This is what color correction is for. ;) |
yes, you are right. <but<. this needs to be implemented and right now it isn't. In an other thread with Aircookie we are just discussing the use of a new color model. Then you could enter the capabilities of your light like "RGB-only", with white at 2700k or with dual white at 2700k and 6500k and so on. The UI would get an additional slider beside white: color temperature. But this is future music 😄 |
Yes, I can work on that as well if no one else does. That definitely needs color correction. ;) Update: I just found that analog, RGB LED's are not supported in the code currently, just RGBW[W]. o.O |
I've got RGB working, but just the first output. Some debug printing shows I'm only seeing an indexPixel of 0 in SetPixelColor (I expect to see 0-3). =/ |
Can some one show me the connection diagram? How I can hookup these LEDs to wemos? |
Hi @pniewiadowski . No idea what you already know or what you already tried to research yourself. Nor what your configuration is. You can find diagrams here: https://www.google.com/search?q=wemos+d1+led+strip+diagram&source=lnms&tbm=isch&sa=X&biw=1543&bih=846 . Based on your question it might be needed to start with some basic knowledge: i've listed sources (video's) that helped me get introduced into the subject that might help you as well: https://raoulteeuwen.blogspot.com/2019/08/starting-with-led-strips.html . |
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 |
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 used this https://learn.adafruit.com/rgb-led-strips/usage with an external 12v supply all LEDs illuminate. |
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 :( |
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)?? |
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 |
Oh, come on! It's on the Getting started page. |
@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:) |
@gasperzupancic you just need to add MOSFETs. Basic schematics is on KB as well. |
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? |
Please use WLED forum or Discord for help and support questions. |
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 ?
The text was updated successfully, but these errors were encountered: