Sm16803

Hello guys, I’m looking for a way to control SM16803 chips using WLED. I tried using all available protocols (currently running 0.14.4 Hoshi) and so far, WS281x works the best but with noticeable flickers. It looks like a timing issue. I tried messing with different refresh rates but no luck there either. Would anyone have hints as to what could be done to achieve this? Thanks!

There is support for that series of LEDs in Neopixelbus (NPB) V2.79 and later (the library used by WLED to drive LEDs).

I think you’ll have to get up to WLED v0.15 and on to find that version of the library used in WLED and thus, support for those LEDs.
The NPB development has/is moving at a different rate than WLED does.

Someone with more in depth knowledge of the current code may chime in…

Thant you for your insight @divsys. I’ve tried the latest beta release of WLED but despite there being more pitel types options, the SM16803 wasn’t there. I tried all of the available ones that don’t have a clock pin but no luck. I tried compiling WLED with vscode using the latest version of neopixelbus, but yet again, nothing.

I’ll keep looking!

Did you get anywhere with the SM16803 pixels?
Thanks
Steve

Yeah we’ve had to ask a freelancer to compile a custom version of WLED. It works OK but can’t use the global LED buffer.

Hi Thomas would you consider sharing this build, so I can test the perfomance with SM16803?
Thanks
s

You should try by adding this:

#define B_32_RN_SM16805_3 NeoPixelBusLg<NeoRgbSm16803pbFeature, NeoEsp32RmtN800KbpsMethod, NeoGammaNullMethod>
#define B_32_I2_SM16805_3 NeoPixelBusLg<NeoRgbSm16803pbFeature, X1800KbpsMethod, NeoGammaNullMethod>
#define B_32_IP_SM16805_3 NeoPixelBusLg<NeoRgbSm16803pbFeature, X8800KbpsMethod, NeoGammaNullMethod> // parallel I2S

And adapt other parts of bus wrapper and UI.

Once it works, make a PR upstream.

1 Like

Where should these defines go?

Thanks

S

stevefromNewcastle

Wled00/bus_wrapper.h, add this as new type below line 295.

Doing same right now, need my Sm16804 to work properly. Cool driver, long time waited for such thing - buttery smooth, built in upscale gamma, and its RGBW. Really excited