-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Support FW1906 LED driver chip #702
Comments
@marschr Note the alternatives listed above. You can do this today with the caveat that even pixels the RGB represents WWx in your case. |
I made some progress today, I got my ESP32 working with
I haven't seen it being used in other LED strips, seemed to be a very application specific LED controller IC, it doesn't even have any laser markings on the packaging, I have a chinese datasheet for it if needed (google translator did a somewhat readable job with it). Now for these single package RGBWW LEDs I couldn't find any spec. |
Modify your Feature to correct order, NeoGrbwwxFeature. Its ok to only support the order that you need now so no need to keep NeoRgbwwxFeature. If its not obvious how, just compare NeoRgbFeature to NeoGrbFeature. |
The only thing that seems broken was the count should be 5 not 4 as noted in the code review on the pull request. |
Hi, the development is highly appreciated but it is not really working for me - it seems the color pixels are shifted I would assume I need something like "CxGRBW" instead of "RGBCWx" To be honest I'm not fully into the project and didn't figured out how to set empty bit in between other colors EDIT I was testing oin ESP8266 with NeoPixelBus<NeoRgbwwxFeature, Neo800KbpsMethod> |
A quick way to test color order is to do something like this...
Then note the pixels that are lit and the colors in order. |
the result is GRBCWx |
@Paalap To be precise, is this color order (GRBCWx) on the strip what you observed or is this the derived order of the feature that you need? (OR both). |
@Makuna Yes this is the color's order on the strip with your code above |
Finally got some time to test - it is working, I've found my issue. To be more detailed:
Everything else is untested or for me it is done outside of the library |
@Paalap I think I could give some hints on why ClearTo() is not working, I did change some stuff for it to work, take a look into the (I couldn't find time to work on the FW1906 implementation lately and needed to buy new esp32s to test it) |
I didn't spot anything specific that would cause ClearTo to not work. I commented in the pulls on some minor things you will want to fix (using CW setting on WW element). But I noticed the fix you applied is also incorrect in my current elements classes and I will address those. |
@marschr Thanks! This fixed it - now it si working fine. (Only WhiteTenthMilliAmpere was ignored as I'm not using it and I miss a new additional settings class) |
NOTE: Pull 710 does a major refactor of features/NeoElements and fixes the ClearTo issue. This is no longer compatible with your changes mentioned above. But I will be re-creating your changes in the next few days and merge those in. |
If you pick up the master branch, you will now have Note: WW and CW are relative to each other rather than specific technical warm white and cold white. So, if you have a neutral and cold, WW = neutral. If you have a warm and neutral, then CW = neutral. If you have all three, WW, NW, and CW, then thats a whole other issue that needs to be created. |
Thanks - is working very well fo me! Will you also publish a release to arduino in the next time? |
Is your feature request related to a problem? Please describe.
The FW1906 is often used in strips with a single package LEDs of RGB-WWx configuration.
Describe the solution you'd like
It seems to be a fully WS2812x signal compatible chip (need spec) driving six channels rather than just three.
NeoRgbwwxFeature
similar to the already existingNeoRgbwxxFeature
but exposing the second white channel?RgbwwColor to match it?
Describe alternatives you've considered
Stick with the NeoRgbFeature/RgbColor; rely on the sketch writer to know that even pixels are the WWx rather than RGB and that there always needs to be even number of Pixels.
Additional context
Is this chip used on a strip that has other configurations, like two RGB LEDs or even RGBWWW?
The text was updated successfully, but these errors were encountered: