LATEST RELEASE:  FPP 6.1 - Download from here -



Welcome, Guest.
Please login or register.
Forgot your password?

+-Site Stats

Total Members: 15525
Latest: Guinner16
New This Month: 33
New This Week: 21
New Today: 4
Total Posts: 127343
Total Topics: 15630
Most Online Today: 135
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 6
Guests: 42
Total: 48

Pixel Controller Assembly

Started by charleskerr, January 25, 2015, 08:46:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


I thought I would post this for anyone wanting/needing a reference to PIC assembly to build a small WS2801/WS2811/WS2812 pixel controller.  Or if they need an example of how to read/write to flash memory, use an ISR, etc. in a PIC. If anyone wanted to just take a PIC, a differential convertor and make a pixel controller, this is the assembly language to do it. This language supports a PIC16F1455 and PIC16F1825. It is setup to do WS2801, WS2811, and WS2812 (basically swaps red and green data). One must set the code to the pixel type it is supporting. It does DMX, but there is code to support a protocol that does run the same speed as Pixelnet, which is called SSD. So one could use that as an example to convert to Pixelnet (interpret the header). It supports a "programming" mode to program the starting address (which includes addresses past the 512 range to support SSD). It will turn on the lights on the string if in program mode and go to green when successfully programmed. I will have to dig around to find the pins it uses, but one can gather it from the code.

As there is a character limit I attached the code as a pdf.
One is never too old to learn

Support FPP

+- Recent Topics

What am I doing wrong? FPP I’m ZCCP? by rudybuddy
Today at 09:01:26 AM

FPP Playlist by dkulp
Today at 07:14:42 AM

Setting up LOR to serial of F16v3 and configure in xLights by brmeadows
Today at 05:46:42 AM

FPP not releasing control to WLED when idle by Poporacer
December 06, 2022, 10:39:18 PM

1 player/2 remote by Poporacer
December 06, 2022, 08:07:48 PM

K8-PB Network Issue by Kensington Graves
December 06, 2022, 07:40:50 PM

Failed V1.03 diff receiver boards by bud29
December 06, 2022, 07:13:38 PM

XLights Variant by Poporacer
December 06, 2022, 06:56:52 PM

FPP Oddness. Remote not remoting, schedule not scheduling??? by Poporacer
December 06, 2022, 06:27:33 PM

Text inverted by dreiman
December 06, 2022, 06:12:17 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod