Pixel controller fi...
 
Notifications
Clear all

Pixel controller firmware

3 Posts
3 Users
0 Reactions
2,900 Views
Posts: 130
Topic starter
(@charleskerr)
Estimable Member
Joined: 16 years ago
[#35857]

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.


2 Replies
Posts: 7
(@tim1073)
Active Member
Joined: 18 years ago

Any way you could attach the .asm file? Now that the holidays are over, one of the projects I've been planning was this exact controller (well almost, I was going to use a PIC16F1847 that I already have running some P9813 pixels) but why re-invent the wheel. The PDF cut off some of the lines and it's hard to cut and paste into an asm file. It looks like you could use your code on a PX1 board for 2811/2812 pixels; the 2801 wouldn't work because of the clock.


Reply
Posts: 317
(@dvc2013)
Reputable Member
Joined: 14 years ago

Sorry to resurrect a pretty old thread. But does anybody happen to have the ASM or HEX file for this ???

I PM'ed the OP charleskerr and he is in the middle of remodeling his house and won't have access to his files till early summer. I thought maybe someone else had the files since the PDF that he posted cut off many of the lines.


Reply
Share: