Feedback

Please leave feedback and comments. I am always interested to hear how people get on using these LScripts!

Wednesday, 26 October 2016

Christmas Tree LED Pixel - WS2811 / T-1000S / Arduino Nano





I decided in 2015 to develop a few light effects for my outside Christmas Tree running on a T-1000S controller with WS2811 pixel leds. I wanted to produce some effects that were more pretty and less tacky and these were the result of a few evenings work.

The tree was setup on a 5ft tree using 150 leds. This version is no longer used since I have no moved to using an Arduino Nano v3 allowing me to generate more effects dynamically in realtime with 400 or less pixel leds @ 20fps. The Arduino source code will hopefully be shared soon.

I have decided to share the source files for the T-1000S. These are limited to the WS2811 based string lights with a maximum of 256 leds connected running @ 20fps.

Please give credit where you use these light effects.

Download Zip - https://drive.google.com/file/d/0ByRHiM8cmgLtc3ZEVno4Uk14YWs/view?usp=sharing

19 comments:

  1. hello
    thank you very much for the sharing! Question: what power supply do you use? it it possible to get wiring schematics? thks

    ReplyDelete
    Replies
    1. Thank you!

      I use a 5v 30a switching power supply. The wiring schematics are available on Google. +5v to +5v and grounds together and then wire signal and you are done.

      Delete
    2. thanks
      you don't need to suppy each 50leds strip? (lost of luminosity?)

      Delete
  2. Fantastic sparkling effect, like a burning fuse - amazing! Any chance you would share your arduino sketches? I would love to understand how you did this.

    ReplyDelete
    Replies
    1. Thank you Martin!

      I am sorting out the arduino version and will share its code soon. I have it running on a Nano v3 running 150 leds due to some of the complexity of the newer effects but it runs realtime @ 20fps and it fits my needs... with a cycling mode and effect selection and ability to enable/disable effects from running when in cycle mode.

      Delete
  3. Hi, great job..do you finish arduino code until christmas? Thamks

    ReplyDelete
    Replies
    1. I will be uploading a video to YouTube shortly with the version of my code running from the Christmas just gone which runs on an Arduino Mega2560 up to 400 lights or on an Arduino Nano up to 150 lights.

      Delete
  4. These effects are beautiful! Awesome work! I would love to use these effects on my tree this year. Are you going to provide the sources to these effects? Either way, great work!

    ReplyDelete
    Replies
    1. I will at some point during the year be releasing the code for the Arduino but in the mean time the files for use on the T-1000S are available above.

      Delete
  5. very nice effects. I look forward to seeing how you achieved themon the arduino!

    ReplyDelete
  6. Video will be coming soon on YouTube showing effects running directly on an Arduino Mega2560.

    ReplyDelete
  7. Hello, first your effects are greate. I have made similar project with leds on arduino (nano) https://visar78.jimdo.com . I have a question to you, could you show me your c code to generate some of the effects? I would like to add Pixie Dust, Rainbow 3, Rainbow 1 and Starry Night. My source code is available on page. Best regards

    ReplyDelete
  8. Martin Polocek23 June 2017 at 05:55

    Hello Stephen, very nice project! I am not familiar with T-1000S and I have some questions:
    1) on ebay I can see wired LEDs (WS2811) but only with 3-wires, probably for +5V, DATA and GND (example: http://www.ebay.com/itm/Wholesale-WS2811-LED-Pixel-Digital-Diffused-12mm-RGB-Light-P68-5V-12V-Black-Wire-/262844668975?var=&hash=item3d32c35c2f:m:m6ahaR4gGJlY484JzxnxVvw) but on T-1000S I need DATA and Clock (and +5V/GND) -> 4 wires. Question is, is it possible (or how) conect together?
    2)your LED scripts are for 150 LEDs. Is it possible to use only 50 LEDs or 200LEDs without modify your scripts?
    Many thanks!

    regards
    Martin P.

    ReplyDelete
    Replies
    1. WS2811 have a built in clock function that simply commits the lights to change using a latch period. A low signal of set length. Using WS2811 pixels you only need to connect signal/data out and then connect ground to both lights, power source and controller.

      Delete
  9. Downloaded to SD card, nothing works. Assuming 5V program won't play on 12v pixels and a 156 pixel program won't go on 150 pixels

    ReplyDelete
    Replies
    1. The voltage should not make any difference. The signal wire (digital in/out) still uses 5v on WS2811. Whether you have 10 pixels or 500 pixels connected the T1000S will just output as much lights as the program has encoded. If their are less lights than the program the lights will work fine. If you have less lights than the program they will simply stop animating at the last node in the file. If that makes sense? This is encoded specifically for WS2811 pixels.

      Delete
  10. This is the most wonderful led programming i have seen!
    Please share your arduino code, its almost Christmas!
    Thanks

    ReplyDelete
    Replies
    1. Thank you! My code has been delayed a little but it is coming. I will hopefully drop a binary for people to explore soon.

      Delete