Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : SK6812 RGBW Chip Addressable LED
Author | Message | ||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Has anyone used this LED..?? Like the WS2811 RGB LED but adds a white section also... It looks like the same type data protocol... Wondering if it could be worthy of being supported in an upcoming release of the firmware... Thanks for any feedback... Edited 2023-08-01 04:19 by Zonker |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Hi Zonker, Glad to see you still lurk around TBS. I havent used them but they look nice and a quick peek at Aliexpress shows many different styles and a few sizes and shapes. The ones I particularly like are the 3.2mm square (1/8") with 4 horizontal legs that would be reasonably easy to solder onto a PCB and at around $12AU (about $8US) per 100 shipped. I would like to see some code to support these myself. I suppose a single module could be written to in basic without the need for C, they could be good for status indicators. Regards Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6630 |
You may have to use BITBANG to create a data stream as timing may be critical (as it is on th WS282 family). That type look as if the pins don't reach the PCB for surface mounting. I'm not sure how you'd mount them without enough heat to "float" them onto solder blobs. Low temperature solder? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2080 |
Perhaps that package is intended to sit in a cut-out so the base can touch a heatsink. |
||||
bigmik Guru Joined: 20/06/2011 Location: AustraliaPosts: 2914 |
Hi Mick, Phil, John, all, Yes I did miss that the pins were not flat on the bottom of the chip, but there are many different shapes out there so it was only one of them. I will be watching where this thread goes. Regards, Mick Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<< |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 497 |
Hi Zonker, You can very easily do it with the PIO. Link to some PIO code to drive addressable LEDS This code is for WS2812, but would be easy to convert it to drive any other type of addressable LEDs. Regards. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9033 |
Support added in the latest beta |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6630 |
Yay! Great news, Peter. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Wow.... Awesome Peter..!! I wanted to get some to play with but didn't know how to properly drive them... They seem to be the next thing to move into, so I wanted to see if anyone had used them before... Nice.... Edit: I found these small RGBW strips at Digi-Key and ordered 2 of them... 2869_Web.pdf The Digi-Key number is 1528-1595-ND if interested... Thanks again Peter for the update... I assume the update is Pico firmware... Edit: V5.07.08b11 Includes support for SK6812 RGBW Leds Use - BITBANG WS2812 W, pin, nbr, value%[()] Put the white value in bits 24-31 to light the white LED. (example) BITBANG WS2812 W, 1, 1, &HFF000000 Thanks Peter... Understood... Update when samples arrive... Edited 2023-08-08 05:43 by Zonker |
||||
Zonker Guru Joined: 18/08/2012 Location: United StatesPosts: 761 |
Good evening Gents... Update, the RGBW code seems to be working... ' RGBW LED test (8 LED's) Option explicit Dim integer pattern1(7)=(&H00000002,&H00000200,&H00020000,&H02000000,&H00000002,&H00000200,&H00020000,&H02000000) Dim integer pattern2(7)=(&H00000200,&H00020000,&H02000000,&H00000002,&H00000200,&H00020000,&H02000000,&H00000002) Dim integer pattern3(7)=(&H00020000,&H02000000,&H00000002,&H00000200,&H00020000,&H02000000,&H00000002,&H00000200) Dim integer pattern4(7)=(&H02000000,&H00000002,&H00000200,&H00020000,&H02000000,&H00000002,&H00000200,&H00020000) SetPin gp22,dout Do Bitbang ws2812 w,gp22,8,pattern1() Pause 1000 Bitbang ws2812 w,gp22,8,pattern2() Pause 1000 Bitbang ws2812 w,gp22,8,pattern3() Pause 1000 Bitbang ws2812 w,gp22,8,pattern4() Pause 1000 Loop https://youtu.be/ZMCPH4ZoI7Y |
||||
Print this page |