Skip to content

Support for TM1908 #1441

Closed

Description

@cheemsHe

Can you add support for TM1908? It is a single line high brightness Three-Channel LED Constant Current Driver Chip?

Activity

  1. smurphyUSI commented on Nov 1, 2022

    @smurphyUSI
    Contributor

    Do you have a datasheet for this?

    All I could find online is what appears to be a cloned WS2815, but using an external controller chip, instead of that is integrated.

    If it is just a clone, then you should have four contacts; Ground, Data, Backup/Failover, 12V.
    In which case, you can the WS2812B definition in FastLed to drive the pixels.
    I believe that @marmilicious once pointed out that such clones would likely still use 5V on data, but need a 12V on power.

    If your LEDs aren't like this at all, please provide as much reference material for them, or pictures, as you can.

  2. cheemsHe commented on Nov 3, 2022

    @cheemsHe
    Author

    Do you have a datasheet for this?

    All I could find online is what appears to be a cloned WS2815, but using an external controller chip, instead of that is integrated.

    If it is just a clone, then you should have four contacts; Ground, Data, Backup/Failover, 12V. In which case, you can the WS2812B definition in FastLed to drive the pixels. I believe that @marmilicious once pointed out that such clones would likely still use 5V on data, but need a 12V on power.

    If your LEDs aren't like this at all, please provide as much reference material for them, or pictures, as you can.

    I have a datasheet for this; but I'am a rookie. I don't how to write the code for it and will only use the existing library for now. If possible ,could you plesase help me add it? I will send the datasheet to you. It might help other people, too.

  3. marmilicious commented on Nov 4, 2022

    @marmilicious
    Contributor

    Were you going to share a link to the data sheet?

  4. cheemsHe commented on Nov 7, 2022

    @cheemsHe
    Author
  5. zackees commented on Sep 20, 2024

    @zackees
    Member

    The T1, T2, T3 timings in our code are a little confusing and not the format used in data sheets, but is actually a more optimal representation of clockless settings.

    If anyone is still interested in this then i should mention that in chipsets.h there is a python script embedded in the comments that will generate T1...T3 settings from the datasheet's T1H...T0L timing formats.

  6. added
    type: feature
    area: core
    status: stale
    status: triage
    on Apr 16, 2026
  7. zackees commented on Apr 19, 2026

    @zackees
    Member

    Happy to add TM1908, but I can't find a public TM1908 datasheet that gives the T0H/T0L/T1H/T1L signal timings in nanoseconds — and we don't ship chipset entries with guessed values (that causes silent colour errors that are very hard to debug).

    Two ways to unblock this:

    Option A — if you have a scope or logic analyzer: capture one data frame and share T0H, T0L, T1H, T1L, and the reset/latch low time. With those numbers I'll add TM1908 immediately.

    Option B — try existing TM1xxx drivers: TM1908 likely lives in the TM1829/TM1812/TM1809 family. Try each and see which one lights a clean red when you do leds[0] = CRGB::Red:

    FastLED.addLeds<TM1829, DATA_PIN, RGB>(leds, NUM_LEDS);
    FastLED.addLeds<TM1812, DATA_PIN, RGB>(leds, NUM_LEDS);
    FastLED.addLeds<TM1809, DATA_PIN, RGB>(leds, NUM_LEDS);

    If one of them just works, tell me which one and I'll add TM1908 as an alias to that controller with a note in the header. If none do, please share the captured timings and I'll add a dedicated entry.

    Linking the datasheet (even a Chinese/scanned one) also works — I can read it out of a PDF.

  8. removed
    status: stale
    on Sep 1, 2026
  9. added a commit that references this issue on Sep 2, 2026
  10. moved this from Triage to Done in FastLED Trackeron Sep 2, 2026
  11. added a commit that references this issue on Sep 3, 2026
    624c242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: corestatus: triagetype: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions