-
-
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 for TLC59711 chips #781
Comments
Note, I have the chips in-hand and I am debugging the work from the above branch. It is not ready for consumption yet but it is very close. |
Merged in fixes to the Tlc59711 branch. It should function now. Remember that this chip is spec'ed to 10Mhz data speed max (the default). A little more testing before I merge this branch into master. |
After more testing, the branch was merged in. There are some big caveats with this chip. This chip relies on strict timing in the data stream between chips to latch data from the stream on a per chip bases. This timing is relative to the clock used for the data transfer. This is problematic, as the uC will vary what it can achieve while the data sending would be the same. The results are, it confuses which data is for which chip and you will see flashing on output from a previous chips data; even though the static state after the send is usually correct. But if you are doing fast updates one after another, the flashing leds is unusable. This is a horrible design to rely on timing AND a clock-based data signal which is all about not relying on strict timing. SO, limit your speeds to 2Mhz (now the default) as an even the fast ESP32 can NOT maintain the timing requirements for multi-chip installation even on a branch that was double buffered (but not DMA). For a single chip installation, full 10Mhz speed will work fine. |
release in progress |
I've finally tested my TLC59711 with an UNO for now, it works right away. Awesome! One note, I'd like an RGB CCT color feature, if I understand correctly I can only use Tlc59711RgbFeature and Tlc59711RgbwFeature. Great work! |
@lolimpol What do you mean by RGB CCT exactly? How many LEDs control the CCT? Here is an example of a Rgbwc feature for it
Easy to add if this is what you want. |
That would be it, thank you! The terms are confusing... In my case it's R+G+B+WW+CW. Thanks! |
either make a pull with the changes or create a seperate issue to track this and I will get it added. |
Wait, that's five elements, how does that work with the TLC59711 as its a 12 element chip. Does your strip actually use chips across unpaired sets of LEDs? (first chip) RGBWW-1, RGBWW-2, RG , (second chip) BWW-3, RGBWW-4, RGBW, (third chip) W-5 blah blah? Thats not normally done. |
I dont currently have a strip, not do I plan to have one. I'm using it for downlights so maximum 5-10 per microcontroller. However my plan was to simply leave the last to channels unused for future upgrades, maybe one day I want to add IR functionality to them, maybe a neutral white channel or maybe some exotic extremely high CRI chip or something weird like that. |
TLC59711 chip is a two wire (clock and data pin/ I2C) chainable chip that supports 12 channels of LED drivers with a general design of four RGB chips (as limited by the global brightness work in 3 groups across the 12 channels; and general descriptions of pins)
Additional context
#763
The text was updated successfully, but these errors were encountered: