0

WS2812B vs. SK6812
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

WS2812B vs. SK6812

by jpcote on Tue Nov 07, 2017 9:03 pm

I'm using a library for Node.js called node-pixel (https://github.com/ajfisher/node-pixel) which supports WS2812B but does not seem to provide support for SK6812 (https://github.com/ajfisher/node-pixel/issues/73).

The problem is that most of the Neopixels sold on Adafruit come with the following mention: "May ship with either WS2812B or SK6812-based LEDs". How can I know if it's going to work?

I have used Neopixels successfully with this library but I bought them over a year ago. Now I'm not sure if what I receive will work with this module.

jpcote
 
Posts: 6
Joined: Sun Jan 19, 2014 3:50 pm

Re: WS2812B vs. SK6812

by franklin97355 on Wed Nov 08, 2017 1:08 pm

I would check with the author of the library to see if the problem is resolved.

franklin97355
 
Posts: 16856
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: WS2812B vs. SK6812

by jpcote on Wed Nov 08, 2017 1:14 pm

Yeah, I already sent him a message on Gitter but I have yet to receive an answer. Are those two chipsets similar? It's kind of odd to not know what we are getting when ordering...

jpcote
 
Posts: 6
Joined: Sun Jan 19, 2014 3:50 pm

Re: WS2812B vs. SK6812

by franklin97355 on Wed Nov 08, 2017 2:26 pm

Our libraries work with both and they are similar. You can get specific pixels from other suppliers if you need a known type.

franklin97355
 
Posts: 16856
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: WS2812B vs. SK6812

by jpcote on Wed Nov 08, 2017 2:33 pm

Okay, thanks.

My issue is that I'm using a third party library for which it is unclear if support exists for the SK6812 chipset (still waiting to hear from them...). I guess I'll have to buy from somewhere else if I manage to find an equivalent to your 60 pixel ring.

jpcote
 
Posts: 6
Joined: Sun Jan 19, 2014 3:50 pm

Re: WS2812B vs. SK6812

by jpcote on Thu Nov 09, 2017 12:19 am

I had ordered RGB rings which I received today. It turns out that they are working with the node-pixel library. I don't know if I received WS2812 or SK6812 though. Is there a way to know?

jpcote
 
Posts: 6
Joined: Sun Jan 19, 2014 3:50 pm

Re: WS2812B vs. SK6812

by Arudinne on Sun Nov 12, 2017 2:54 pm

jpcote wrote:I had ordered RGB rings which I received today. It turns out that they are working with the node-pixel library. I don't know if I received WS2812 or SK6812 though. Is there a way to know?


You might be able to tell by a visual inspection but there's no guarantee that will be a reliable indicator. The SK6812 is supposed to be a clone of the WS2812B, but there are some reports that it's actually better than the original.

Any code that works for the WS2812B should work on the SK6812.

https://cpldcpu.com/2016/03/09/the-sk68 ... t-rgb-led/
https://hackaday.com/2017/01/25/ws2812b ... originals/
https://talk.vanhack.ca/t/psa-ws2812b-l ... y-are/5626

Arudinne
 
Posts: 168
Joined: Sun Mar 19, 2017 9:36 pm

Re: WS2812B vs. SK6812

by jpcote on Sun Nov 12, 2017 5:09 pm

This issue on GitHub https://github.com/ajfisher/node-pixel/issues/73 made me question whether WS2812b and SK6812 are indeed equivalent. But, from my own tests, they seem to work just the same. Thanks for your feedback.

jpcote
 
Posts: 6
Joined: Sun Jan 19, 2014 3:50 pm

Re: WS2812B vs. SK6812

by Arudinne on Sun Nov 12, 2017 9:44 pm

jpcote wrote:This issue on GitHub https://github.com/ajfisher/node-pixel/issues/73 made me question whether WS2812b and SK6812 are indeed equivalent. But, from my own tests, they seem to work just the same. Thanks for your feedback.


That's a slightly different issue. There are RGB addressable LEDs and RGBW addressable LEDs. They are similar but the RGBW LEDs require an extra 8 bit value for the W portion of the LED IIRC.

Arudinne
 
Posts: 168
Joined: Sun Mar 19, 2017 9:36 pm

Re: WS2812B vs. SK6812

by jpcote on Sun Nov 12, 2017 9:58 pm

The GitHub issue is titled "Add support for SK6812". The author of the library says: "As these are starting to become more available and are largely the same as the WS2812, add direct support for these by being able to shift a little faster on the HIs." At this point, he is talking about SK6812-based LEDs.

Then, some 9 months later, somebody else mentions RGBW which, as you mentioned, is another story.

A few days ago, the author of the library said this on Gitter regarding SK6812: "Regarding SK6812 - I don't have any of these to test with however the protocol is largely the same so it should work. If it doesn't it will be relatively straightforward to implement."

jpcote
 
Posts: 6
Joined: Sun Jan 19, 2014 3:50 pm

Re: WS2812B vs. SK6812

by Arudinne on Sun Nov 12, 2017 11:36 pm

Ah. I misread it because I saw the RGBW part.

Arudinne
 
Posts: 168
Joined: Sun Mar 19, 2017 9:36 pm

Please be positive and constructive with your questions and comments.