Skip to content

Support TM1829 #8

Open
Open

Description

@focalintent
No description provided.

Activity

  1. focalintent commented on Oct 3, 2015

    @focalintent
    ContributorAuthor

    Nah.

  2. 31 remaining items

  3. zackees commented on Aug 1, 2026

    @zackees
    Member

    Status update after investigating this thread.

    A regression was found and fixed in #3797 (merged as bed4df1).

    The inverted-signal problem everyone in this thread hit was, at one point, partially encoded in the controller declaration:

    class TM1829Controller800Khz : public FASTLED_CLOCKLESS_CONTROLLER<..., RGB_ORDER, 0, true, 500> {};
    //                                                                             ^^^^  ^^^
    //                                                                             FLIP  WAIT_TIME

    Commit fc0c3d5 (Oct 2025) refactored src/chipsets.h and swept away trailing 0, false template defaults. That was a no-op for every other chipset — but TM1829 was the only chipset passing non-default values, and 0, true, 500 got stripped along with them. Both the 800 kHz and 1600 kHz variants lost it, and TX1813N1 (#1362) inherited the regression.

    #3797 restores both parameters.

    Keeping this issue open, because that restores prior behavior rather than completing TM1829 support. The honest state today:

    • WAIT_TIME=500 is honored via CMinWait<WAIT_TIME> on ~20 backends (AVR, ATtiny, ARM bit-bang paths) — the 500 µs latch gap is genuinely back there.
    • FLIP=true is consumed by exactly one backend in the whole tree: nRF52 PWM (clockless_arm_nrf52.h:53-54). Every other clockless controller accepts FLIP as a template parameter and never references it again — so @h3ndrik's 2018 observation that "FLIP doesn't do anything on ESP8266" is still accurate, and applies to nearly every platform.
    • The newer fl::channels path (used by ESP32 LCD_CAM/UART drivers) has no polarity concept at all — ChipsetTimingConfig carries only t1/t2/t3/reset.

    For whoever picks this up: the hardware inversion flags already exist and sit unused, which makes this much less work than it looks:

    Peripheral Existing flag Current value
    ESP32 RMT5 irmt5_peripheral.h:94 bool invert_out always false
    ESP32 RMT4 irmt4_peripheral.h:177 setGpio(..., bool invert) callers pass false
    ESP32 I2S ii2s_peripheral_esp32dev.h:107 u16 mInvertMask always 0

    The missing plumbing is a polarity bool on ChipsetTimingConfig / ClocklessChipset (plus operator== and makeTimingConfig), bridged from the FLIP template parameter in clockless_controller_impl.h, then wired into those three flags.

    Also still unaddressed and worth preserving from this thread — @focalintent and @h3ndrik both flagged it: sending 0xFF as the first byte puts the chip into constant-current mode, so brightness 255 must be clamped. The original 2014 f3ef3ff checkpoint had a commented-out scale8(scale, 254) shim for exactly this.

    Hardware for testing was offered by @juleskers, @misel228, and @Hitower78.

  4. added
    deferred
    on Aug 1, 2026
  5. zackees commented on Aug 1, 2026

    @zackees
    Member

    Deferred by automated triage: core FLIP regression fixed in #3797; full inverted-signal support across non-nRF52 backends remains open and needs the ChipsetTimingConfig polarity plumbing described in the issue thread.

  6. juleskers commented on Aug 1, 2026

    @juleskers

    Oh wow! I didn't expect to ever get pings from this anymore. Such memories! 🧡
    Great to see a revival of FASTled. LLM are making a lot possible.

    I've moved on from LED projects, but I just checked and I still have the tm1829 LED strip, complete with power supply, (non-programmable) controller and IR-remote (picture attached, still in original packaging after three moves...).

    Image

    These were sold by the European discount supermarket Aldi in at least Germany and the Netherlands. Per comments above, "Obi" (a home improvement chain) sold them in Poland. Since Obi also has presence in Germany, there are probably thousands of people with this set in Northern Europe.

    The offer to ship it to someone with time/energy to tackle this still stands. However, I won't have the energy to do much else due to other projects (and life).

    I can parcel-ship the whole thing, or snip of smaller piece and put it in an envelope, whichever is more convenient.

    If someone wants to take up the offer, @-mention me here to discuss shipping details, or stalk my commits on GitHub to discuss it privately via email.

  7. zackees commented on Aug 2, 2026

    @zackees
    Member

    You can ship it to me by reaching out to reddit.com/u/zachvorhies and i'll give you my address.

    Yes FastLED is going through a revival. It's on an exponential growth curve at this point as far as development goes.

    The biggest thing that excites me is compiling the project in a web browser during development and then deploying once to a real board and having it just work.

    Might be worth it to see what we've been up to.

  8. juleskers commented on Aug 11, 2026

    @juleskers

    While I lurk some corners of Reddit, I don't maintain an account there. I think I've successfully stalked your email address, so (AOL)you've got mail(/AOL) (maybe?)


    I've had a gander at the recent comment history. Impressive turnout, but I can confidently say I won't have the energy nor raw time to keep up with such an AI-powered firehose 🧡 .

    I liked the part where you added hardware loopback devices for "autoresearch". Sounds like exactly the kind of thing that LLMs need to avoid hallucinating into oblivion. And hardware-backed source-of-truth is useful for hhumans too!
    I find it spectacularly funny and intrigueing (also seen in other projects) that exactly the kind of 'boring' test harnesses and documentation that humans wish they had written for themselves (but don't), is what is needed to keep LLM on the rails.
    LLM seem to be a lot worse at implicit or large-scale context. But then again, they are effectively on-boarding themselves every few seconds, whereas humans generally take months to familiarize themselves when they change jobs 😅 ..

    That said, I consider myself an AI sceptic, waiting for the bubble to pop. And while I admire the commoditisation of programming skills, and the (truely spectacular) leverage experts can tease out, I'm unconvinced as of yet that the societal costs are worth it (stripmining of the internet, electricity/water/dram/GPU scarcity, untested copyright implications of GPL training data, etc).
    And of course the pure monetary costs (subsidized lossleading) and anti-sovereign big-tech vendor lock-in.

    I'll definitely keep an eye on your work, to learn about what is possible, but the test hardware will have to be the limit of my active contribution (see time/energy, above 😅 )

  9. zackees commented on Aug 16, 2026

    @zackees
    Member

    Regardless of whether the AI bubble will or will not pop, I'm betting that everyone needs a platform to run their electronics and that it should be free for everyone and not controlled by corporations. They can do whatever they want, we are still free to make awesome led lighting displays.

  10. juleskers commented on Aug 16, 2026

    @juleskers

    I'm betting that everyone needs a platform to run their electronics and that it should be free for everyone and not controlled by corporations.

    On that, we are in full agreement! FOSS is essential to humanity as a great equalizer.


    As for the email address: did my email arrive? I'd still like to send you the hardware 🧡

  11. wida5962loksin commented on Aug 16, 2026

    @wida5962loksin
  12. zackees commented on Aug 16, 2026

    @zackees
    Member

    Replied!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: corechipsetsdeferredstatus: stalestatus: triagetype: feature

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions