-
Hi, i use a WS2811 strip with a wemos lolin32 lite board and the default values do not work for me: const static DRAM_ATTR uint32_t RmtBit0 = Item32Val(300, 950); What are these values because I found two data sheets with two different times: The following settings work for me: const static DRAM_ATTR uint32_t RmtBit0 = Item32Val(500, 2000); I would like to create a pull request, but I don't know where the old values come from. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I have an official spec sheet that is different; but similar except for one value. T1L is supposed to be 200ns-420ns. The ones you sent don't make sense as they generate a pulse width (total time of both and high and low) that varies dramatically from bit 0 to a bit 1. I have tested this on official WS2811 chips and it works; but these chips come from China, the companies change things from batch to batch and clones are made that don't match specs. Do you have a link to where you got them? Did you try the values from the spec sheets you have to see if they work? I ask as the ones you list don't match any spec sheet for any chip I know of. They are similar to first generation LEDs (big through hole LED with integrated chip). These are the 400Kbps leds and there are methods for those specifically. See Neo400KbpsMethod and NeoEsp32RmtSpeed400Kbps. |
Beta Was this translation helpful? Give feedback.
-
Here the link: The methods NeoEsp32RmtSpeed400Kbps and Neo400KbpsMethod works not for me. Only the posted times work. Is Worldsemi not the official manufacturer of WS2811, if not then who is? Maybe there was a version with the values, but it is no longer produced. |
Beta Was this translation helpful? Give feedback.
-
My spec sheets are from WorldSemi directly. Products from China may come with "clone" parts, so no, your strips may not have chips from WorldSemi or the batch you got they "changed" the specs. +-50us is not achievable for the implementations of most the Arduinos supported by this library. |
Beta Was this translation helpful? Give feedback.
-
He Makuna, your data sheet is version 1.1 from 2017. I posted version 1.4 and the current datasheet from Adafruit (https://www.adafruit.com/product/1378). My IC is a Worldsemi WS2811 20180522 with the Adafruit spec. |
Beta Was this translation helpful? Give feedback.
-
So I did some testing with a newer WS2811 chip. It not only supports the old protocol, it also supported every other one this library works with as long as the reset time was long enough. So the newest WS2811 are VERY flexible in the timing. This still doesn't solve the issue of updating the WS2811 method as I need to maintain backward compatibility with older chips; but it does mean newest chips won't care. In the specific case listed above, there is no easy answer than to try another method. Maybe adding a WS2811Alt Method for your case? |
Beta Was this translation helpful? Give feedback.
So I did some testing with a newer WS2811 chip. It not only supports the old protocol, it also supported every other one this library works with as long as the reset time was long enough. So the newest WS2811 are VERY flexible in the timing.
This still doesn't solve the issue of updating the WS2811 method as I need to maintain backward compatibility with older chips; but it does mean newest chips won't care. In the specific case listed above, there is no easy answer than to try another method.
Maybe adding a WS2811Alt Method for your case?