Back to the primary blog BYOB Party #1, "Bring you own Bulbs" - The Internet of Holiday Lights
OK, so in the last post you where treated to my first attempt at re-flow soldering in an attempt to get my WS2812 LEDS ready for my Holiday Light decoration
Now I have completed a bit of the wiring and have the initial display code up and running, I would like to share some of the effects, i will include the code as you may find it handy for your own projects, I will update it once the NRF Radio software is added so you can issue remote commands and tie t into the MQTT subscription system
Step one is to break apart the strips along the v groves and adding the needed wiring prior to adding to their enclosure
I chose to award this display to another Arduino for now and so the next step was to add additional effects to the code to make this allot more interesting display.
Step two, find the enclosure (My personal favourite bit )
The enclosure for the project is simply a choc box (I'm all for re-cycling stuff where I can )
Start with a preferably full box of chocolates, Star shaped like this one
After eating all the stuff inside (Well we need the box empty for this project right ) you will see that the two halves of the box fit nicely into each other, well keep one part ccompletely intact and take the base out of the other leaving only the sides
the now floppy sides will fit nicely into the inside of the other half with a little bit of cutting and glueing, leaving you with a nice partitioned enclosure for the lights
The minions are helping out keep thins in place while glue dries (I personally think they just wanted a nap), make sure to include a big enough hole in the centre to pass wires through
Pre wire the strips ready to install into the case
break apart the boards and install into the star passing the wires through the hole in the centre
now on the back, connect all the power leads together and connect the data in pins of the next strip to the previous data out connection, secure all the joints and were done the wiring
Load up software into the uno, connect 5V to the lights, and a single data line to pin 6 of the uno and were all set to test.
Here is the test video
I hope you like it, I will follow up once the software is ready for the party radio
also here is the code so far in-case you would like to use it on your project