We are working on an interactive installation project where we are using LED strips inside transparent human sculptures to highlight 7 chakras through different light changes. At the moment, we are having some difficulties to make vvvv “fluently” communicate through serial port rs232-(devices) (via Arduino) with LEDs APA102 (“DotStar”).
We tried many things with the patch, code and different Arduino pins, but still didn’t manage to properly send packets of values from vvvv > Arduino Code (buffer) > Array of 360 LEDs (6 strips, 60 LEDs each, serially connected with 4 wires GND, DATA, CLOCK & 5V). DATA wire is currently connected to A9 (analog) pin and CLOCK to A10 (analog) pin on Arduino Mega 2560.
There is probably something wrong with the Arduino code or the vvvv patch. Maybe we are sending wrong values from vvvv or they are correct but the Arudino code doesn’t understand them.
Does anybody have experience with this and is willing to have a quick look at our patch and the code? Any help will be greatly appreciated. Thank you very very much.
If anything is unclear about the hardware or software don’t hesitate to ask.
vvvv patch and two versions of Arudino code (v2 still needs some work) are attached in this post and are also available here https://github.com/sivinjski/AwakeningCircle
- FastLED library https://github.com/FastLED/FastLED/
- Adafruit_DotStar library https://github.com/adafruit/Adafruit_DotStar