LED matrix display from SK6812RGBW LED strip

Show off your PIC based project.

LED matrix display from SK6812RGBW LED strip

Postby ric » Mon Jun 25, 2018 7:54 am

Just a "proof of concept" test to see if this was possible...
5 metre roll (60 LEDs per metre) cut into eight strips of 37 LEDs.
Serpentine connection to keep wires short, corrected in software.
Edit: Controlled by a PIC16F1829 running from the internal 32MHz oscillator.

Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: LED matrix display from SK6812RGBW LED strip

Postby AussieSusan » Tue Jun 26, 2018 3:41 am

And supporting our local public broadcaster as well!!!
What are you driving it with?
Susan
AussieSusan
Verified identity
 
Posts: 173
Joined: Mon Jun 16, 2014 4:45 am
PIC experience: Experienced Hobbyist

Re: LED matrix display from SK6812RGBW LED strip

Postby ric » Tue Jun 26, 2018 4:18 am

Oops, I mentioned that in the Youtube comments, but not here.
It's a PIC16F1829, but with custom labelling so you can't read it off the chip. ;)
I'm using the SPI peripheral for timing, running the PIC at 32 MHz, SPI at 32/4 = 8 MHz. One byte per transmitted bit.
PIC16F SPI won't run faster than one byte every 12 clock cycles, so that's 8/12 = 666 kHz, or 1500ns per bit so not quite the optimal 1200ns per bit.
The SDO pin is directly driving the Din pin of the first LED.

I considered using the USART in synchronous mode, but I need it to make this into a general purpose display with serial receive.

I see DavidBLit did a similar thing in 2014, but achieved a totally different way on another PIC16F1xxx device.
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: LED matrix display from SK6812RGBW LED strip

Postby ric » Tue Jun 26, 2018 7:50 am

AussieSusan wrote:And supporting our local public broadcaster as well!!!
...

Total accident of which frame Youtube grabbed as a thumbnail.
I could add a crude Lissajous graphic though ;)
Latest test project, an LED matrix display made from one reel of addressable LEDs. here
User avatar
ric
Verified identity
 
Posts: 659
Joined: Sat May 24, 2014 2:35 pm
Location: Melbourne, Australia
PIC experience: Professional 5+ years with MCHP products

Re: LED matrix display from SK6812RGBW LED strip

Postby DavidBLit » Wed Jun 27, 2018 2:16 am

Very nice work! I've been thinking about doing something new with the SPI-driven strips but haven't yet jumped in. The most-recent project used a PIC16F1825 from the 2014 stuff to generate the WS2812 bitstream while accepting color commands via UART (from an Apple II+, of all things ;-) It only took about a second per LED for the RGB calculations on the Apple II+. :lol:
User avatar
DavidBLit
 
Posts: 14
Joined: Fri May 30, 2014 12:37 pm
Location: The Land of Confusion
PIC experience: Professional 5+ years with MCHP products


Return to Project Show Case

Who is online

Users browsing this forum: No registered users and 1 guest