-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
TM1814: Solid Effect no longer works with the release of 0.14.0 #3514
Comments
So unchecking "Use global buffer" is a workaround? |
@blazoncek yes, that appears to be the case. |
Unfortunately I lack HW to do any testing. |
Is there anything specific I could try or logs maybe? Anything else I could to test that might help? |
You'll need to debug |
Can confirm both the bug and the workaround. It appears that constant refresh update frames aren't being sent past the initial color set (or it's sending corrupted frames), so if you have a slow-moving effect or solid color it results in the strip being unhappy. When in solid mode, the strip gets set to the right color for about a half-second, then most of the LEDs are solid red. A few blink red and the first LED in the strip alternates between red and whatever color you've set. Fast-moving effects work normally with the buffer turned on. |
If you can compile WLED, try changing line 83 in |
@blazoncek Is there an easy way to change the build number shown in WLED or version when I compile so I can confirm the correct firmware is compiled and uploaded on the ESP32? Or at least know which ESP32 has my custom code? |
You found the right place. The build number is best to identify a modified source code. You could
|
I happened across this post while trying to see if I could use the AtomiSmart LED bulbs that (I think) use the TM1814. While I was reading other pages, I also saw the TitanMicro doc with the spec (https://www.superlightingled.com/PDF/TM1814-TitanMicro.pdf). Section 3 under Application Info (page 7-8) talks about what happens after "losing data" after the half second mentioned. Just speculating, but the note (2) from "Temporal Characteristic" on page 4 says that there should be data sent to the chips faster than 126us. This seems to match with why 150 us didn't work, but 50 did. |
It is ms not us. |
While replacing some strips to TM1814 and using WLED on ESP8266 (and on ESP32-ETH01) I identified the same issue as Author above. If global buffer is enabled during Solid color LED's go into demo mode due to infrequent update from the controller. Disabling the Global buffer helped, but I was still getting random Red Flashes. Adjusting the code and changing 350 to 50ms seems has eliminated the problem - have not noticed red flashes so far. |
Sorry for late hop-in, a off-topic. I have similar issue but with DDP/UDP stream as well. I speculate that this is happening due overloaded 2.4Ghz channel in my area. Probably there is another bug. I've ordered Ethernet ESP32, hopefully it will confirm my suspicions. |
What happened?
with a fresh/new install of WLED 0.14.0 the TM1814 protocol appears to not work any longer but it did with 0.13.x
In a TM1814 LED strip, all LEDs turn red and a few may flicker when using no effects regardless of what color is set in WLED.
Current work around is to uncheck “Use global LED buffer”. Once this is unchecked, the TM1814 LEDs appear to work as expected.
Not sure what this setting does.
To Reproduce Bug
using firmware 0.14.0, and TM1814 LEDs, set the LED output to TM1814 and make sure "use global LED buffer" is checked (appears to default to checked). and use solid colors (effects set to none).
my setup: 12v TM1814 puck LEDs with 20 addressable pixels and using a digiquad ESP32-ethernet bench testing.
Expected Behavior
expected the TM1814 LEDs to be controllable with WLED when LEDs configured to the TM1814 protocol.
Install Method
Binary from WLED.me
What version of WLED?
WLED v0.14.0 (build 2310130)
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
initial discussion in the forum: https://wled.discourse.group/t/wled-v63-controller-tm1814/9649/10
I realized after more testing that if I revert back to 0.13.x TM1814 would work, but going back to 0.14.0 did not work. from other discussions about TM1814 being sensitive to other processes going on, i started looking for other settings to change and disable. So I happened to try unchecking use global led buffer and after clicked "save" the output was working again. I'm not sure what this setting does and if it was introduced in 0.14.0 or not, but it appears to be checked by default and currently causing the issue.
Code of Conduct
The text was updated successfully, but these errors were encountered: