-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
WS2812FX #5013
Comments
The led strip ws2812B is already implemented in Tasmota. |
The request for the ws2812fx library is already open at #3480 |
I'm grateful for that! But number of effects, sorry, very little for normal garland. It is more suitable for demonstrating support |
Ok, let's continue in the already open request at #3480 |
Have finished this |
Brilliant. Would it make sense to submit it as a PR rather than a fork? |
@s-hadinger This fork is too young, but in case no bugs after some time, why not ... The first I have to check it myself in everyday life how stable is this. Moreover, you know, I'm nub in git technologies, and have no time to understand ALL requirements to make pull request properly. The future shows. |
@a-roz Thanks, I understand. I know just enough of git to survive :) I understand that DMA requires to use GPIO3, which sacrifices Serial input. Have you tried non-DMA? I know there are lots of people stating that it doesn't work well, but I found this interesting blog post saying that you can relax some timings a lot: https://www.google.fr/amp/s/wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/amp/ |
@s-hadinger Thank you for the link to post. It's understandable. Answering your question - no, I did not try, and will not. Indeed, if CPU do not do nothing except shifting bits in bit-bang manner, it can work, that's not surprised me. I can tell you, even with simple AVR processors you can output stable video overlay to real-time CVBS video signal, but nothing else. I had this experience before. If we talking about realtime system with wifi processing, mqtt, sensors, rules etc, it's impossible to achieve smooth animation using bit-bang transmission. Quasi OS "Tasmota" works with external drivers only 1/4 of second (for every assigned drivers, not just xdrv_04_light), and light animation be called only every 50 ms inside this frame of 250 ms, mean 5 times for a second at most. (ONLY !) That's why the embedded Schemes are so poor, they are intended to use in bit-bang mode as well as DMA mode. To solve this puzzle have to change ideology of Tasmota OS, giving more time to light driver, sacrificing the rest. And also to change the library ws2812fx, using other approach for timing. This project I was need to finish fast and effective (my wife requested it), what I've did and shared results for everybody. About GPIO3, using templates user can reassign Software Tx and Rx to any other free pins, this is not an argument. |
Very much need integration with the library WS2812FX to create festive garlands. Even if it will be built-in effects. Such a Union would have been excellent, convenience and functionality firmware Sonoff-Tasmota and capabilities of the library WS2812FX. I want it so badly, I'm willing to donate.
The text was updated successfully, but these errors were encountered: