Artnet to OctoWS2811?

Status
Not open for further replies.
Well using ethernet adds a layer of complexity that is not really necessary for your use case (unless you want to be very far from the computer)
The most straightforward way would probably be to use this firmware with usb:
https://github.com/neophob/PixelCon...rduinoFw/tpm2serial/tpm2serial/tpm2serial.ino
But you'll need to modify it to either use Octows2811, Neopixel or Fastled library. This shouldn't be very complicated as all these libraries are quite similar...
 
If its USB you need, I am sure that I used pixelcontroller software previously updating via USB. I think that it was the ptm2serial.ino sketch included in the bundle, which I rewrote to work with octows2811. Will have a look tomorrow to dig it out and test before posting.
 
If its USB you need, I am sure that I used pixelcontroller software previously updating via USB. I think that it was the ptm2serial.ino sketch included in the bundle, which I rewrote to work with octows2811. Will have a look tomorrow to dig it out and test before posting.

thank you!
 
did you try the code and config file in reply #20 in this thread? It is a straight forward output from pixelcontroller via the tpm2serial (usb)
 
Hello all,
just wanted to mention that I wrapped the Artnet code in this thread into a library. I did this mostly as a learning experience as I had never done any C++ before that. My goal was to make it as simple as possible for the user. (hide all the artnet packet stuff) There's an example for use with OctoWS2811 and an example for use with NeoPixel.
As this is my first library I'd be grateful for comments about this ! Also thanks a lot to mortonkopf and virtualdave for the original sketches !

https://github.com/natcl/Artnet
 
Just added an example that records and playback from SD. Seems to get a bit slow over 100 leds but the basic principle seems to work !

EDIT: Was able to get better speed than 100 leds but the playback code is not optimal yet.
 
Last edited:
im inserting this in the config file under pixel mapping.. output.mapping=0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,225,209,193,177,161,145,129,113,97,81,65,49,33,17,1,2,18,34,50,66,82,98,114,130,146,162,178,194,210,226,227,211,195,179,163,147,131,115,99,83,67,51,35,19,3,4,20,36,52,68,84,100,116,132,148,164,180,196,212,228,229,213,197,181,165,149,133,117,101,85,69,53,37,21,5,6,22,38,54,70,86,102,118,134,150,166,182,198,214,230,231,215,199,183,167,151,135,119,103,87,71,55,39,23,7,8,24,40,56,72,88,104,120,136,152,168,184,200,216,232,233,217,201,185,169,153,137,121,105,89,73,57,41,25,9,10,26,42,58,74,90,106,122,138,154,170,186,202,218,234,235,219,203,187,171,155,139,123,107,91,75,59,43,27,11,12,28,44,60,76,92,108,124,140,156,172,188,204,220,236,237,221,205,189,173,157,141,125,109,93,77,61,45,29,13,14,30,46,62,78,94,110,126,142,158,174,190,206,222,238,239,223,207,191,175,159,143,127,111,95,79,63,47,31,15,432,416,400,384,368,352,336,320,304,288,272,256,240,241,257,273,289,305,321,337,353,369,385,401,417,433,434,418,402,386,370,354,338,322,306,290,274,258,242,243,259,275,291,307,323,339,355,371,387,403,419,435,436,420,404,388,372,356,340,324,308,292,276,260,244,245,261,277,293,309,325,341,357,373,389,405,421,437,438,422,406,390,374,358,342,326,310,294,278,262,246,247,263,279,295,311,327,343,359,375,391,407,423,439,440,424,408,392,376,360,344,328,312,296,280,264,248,249,265,281,297,313,329,345,361,377,393,409,425,441,442,426,410,394,378,362,346,330,314,298,282,266,250,251,267,283,299,315,331,347,363,379,395,411,427,443,444,428,412,396,380,364,348,332,316,300,284,268,252,253,269,285,301,317,333,349,365,381,397,413,429,445,446,430,414,398,382,366,350,334,318,302,286,270,254,255,271,287,303,319,335,351,367,383,399,415,431,447,

It just freezes "Loading Configuration"
 
I'm not sure I understand your question, but if you're asking if this should work on the Ethernet shield, normally yes. I did not try it but I tried compiling it for the Arduino Ethernet and it worked.
What you need to keep in mind though is that the Arduino has much less memory and processing power so you might not be able to control as much leds as with a Teensy...
 
In general OctoWS2801 only woks on Teensy boards or ARM M3/M4 MCUs. It won't work on an Arduino Uno for example.
If you intend to use Teensy the best Ethernet Hadware and actually cheaper than an Ethernet Shield is the WIZ820io Embedded Ethernet Module. It uses a more recent Ethernet Chip (W5200 vs. W5100) and also the Ethernt Library that ships with Teesnyduino uses the SPIFIFO buffer and is much more perfomant than the sEthernet Library that comes with the normal Arduino IDE.
 
Yes, it should. The Ethernet Shield is simply not a good choice, unless you already have it and don't want to spend any mor money.
However, If you value your own time then ....
PJRC makes a WIZ820io & Micro SD Card Adaptor and a Teensy 3.1 OctoWS2811 Adaptor. you can combine these and get the WIZ820io from Mouser
That hardware in conjunction with Teesny and Teensyduino will work out of the box!

@nlecaude
Thanks for the info. I was not aware of that. However I'd assume that it really doesnot use the OctoWS DMA routines anymore as the title of this thread suggests ?
 
@Headroom: I wrapped the different bits of code in this thread and made a library out of it. There are examples for NeoPixel, OctoWS2811 and also a work in progress SD recording/playback sketch.
 
Status
Not open for further replies.
Back
Top