So apparently the BlinkyTile kit uses WS2822S LEDS, which are wired in parallel and use the DMX protocol. Luckily, FastLED already supports DMX and it was simple to get running on an Arduino Uno. I also tried it successfully on a Teensy 3.1. This is Mark’s ColorPalette example. Thank you Daniel and Mark for all of your hard work at making this easy!
Jason, excellent work! When you say that FastLED already supports DMX you mean that you dont need to use DMXsimple or DMXserial alongside FastLED? I didnt know that…that is awesome. Can you run WS2811 on some pins and DMX on other pins using Teensy3 or Teensy3.1? Thx and great work!
Thanks! If you look at the code, I had to include DmxSimple.h. It looks like FastLED can use it or DmxSerial internally. I didn’t have to do anything else with it. Sorry, I’m not sure, I’m far from a FastLED expert. I’m sure Daniel, Mark or some of the other gurus around here could tell you.
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:http://www.youtube.com/watch?v=ZVGWRow0m3g&t=11m20s: error: wiring.h: No such file or directory
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp: In function ‘void dmxBegin()’:
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:57: error: ‘digitalPinToPort’ was not declared in this scope
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:57: error: ‘portOutputRegister’ was not declared in this scope
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:58: error: ‘digitalPinToBitMask’ was not declared in this scope
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:61: error: ‘OUTPUT’ was not declared in this scope
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:61: error: ‘pinMode’ was not declared in this scope
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp: In function ‘void dmxWrite(int, uint8_t)’:
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:183: error: ‘max’ was not declared in this scope
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp: In function ‘void dmxMaxChannel(int)’:
C:\Users\Scott\Desktop\windows\libraries\DmxSimple\DmxSimple.cpp:194: error: ‘min’ was not declared in this scope
Doesn’t seem so. I tried it with an Adafruit Gemma, which is an Attiny85, and couldn’t get it to work. I think the DmxSimple library would need to be updated. Matt from Blinkinlabs mentioned it’d require defining the interrupt setup here, but I haven’t tried: http://forums.blinkinlabs.com/index.php?p=/discussion/comment/481/#Comment_481