Skip to content

Addressable RGB LED aka NeoPixel #4

@vivian-ng

Description

@vivian-ng

The MRR ESPA has been tested with NeoPixels. See this blog post for more details.

One issue is that the ESP32 runs on RTOS, and the Adafruit_NeoPixel library used by Marlin results in timing issues.
ESP32: timing error every 1ms corrupts LED pixel data
ESP32 Feather Causing Specific Neopixels to get Stuck

There are libraries out there that seem to solve this issue, such as the WS2812FX library. Getting NeoPixels to work with the MRR ESPx boards may entail rewriting the features/leds portion in the Marlin code to use the WS2812FX library, which seems to be close enough to the current Adafruit_NeoPixel library that porting should not be that much of an issue. One possibility is a kind of "wrapper" like the one mentioned here.

Maybe someone will be able to do the "porting" and report back any success. But as it is now, it does kind of work if you have only a few NeoPixels, and are willing to live with the first pixel being green on boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions