WS2812B VS WS2811
DonRacz
Posts: 13
I have a Neo Pixel ring from Adafruit listed as a ws2812B on their website. I also have a string of ws2811 by Alitove from Amazon.
I have them both working together just fine on an ESP32.
When I connect them to my P1 Flip using the example code from the Parallax OBEX only the 2812B works. The 2811 string does nothing, that is until i disconnect the signal wire and the the 2811 leds are lit with different colors.
I'm guessing this is a timing problem but i have no idea where to start or what to look for. Any and all help is appreciated.
Thanks
Don
Comments
The WS2811 is different from the WS2812b in two ways
1. The bit timing is different (though it sometimes works)
2. The red and green byte order is swapped.
I wrote the attached driver a long time ago and have kept it updated because many pros use it. If you've been watching "The Book of Boba Fett" a couple of the robots in the show have this driver inside. If you want to mix WS2811s and WS2812bs you will need to launch separate driver cogs.
Thanks Jon
Just what I needed, works great. Now I can have multiple sequences working on a single string !
Don