Introduction: Christmas Window Light Decoration With Arduino and WS2812 LED Strip

Every year at Christmas time the LED’s start to shine. Since I’m like a
moth around flashy lights, I have been doing a version of this project every year since I got my first Arduino. This year it’s going to be an LED Strip frame for the front window. There are two versions, this (easy) one with Arduino UNO and a more advanced version with ESP8266 (WiFi controlled)

Supplies

1.Arduino Uno:
Aliexpress: http://s.click.aliexpress.com/e/O3ReneKM

– this is the one with the removable Atmega328P chip, it’s more versatile and needed for the advanced version. Buy two if you like!

2. USB cable for the Uno: Aliexpress: http://s.click.aliexpress.com/e/DbdRP69S

3. Jumper cables to connect everything – no soldering for this project! Aliexpress: http://s.click.aliexpress.com/e/DbdRP69S – a selection of male to male/female etc. We are using M2M for the Uno to LED Strip connection

4. WS2812 LED Strip: Aliexpress: http://s.click.aliexpress.com/e/DbdRP69S – Choose your version. I chose 5m, 150 LED’s, IP30 (not waterproof) and white PCB

That’s everything, unless you want this to be super bright, in which case you will need some way to power it externally. I have minimized the brightness in the code, so that the strip can be powered by the UNO’s 5v output. Your Arduino UNO WILL NOT be able to power 5m of LED strip at full brightness.

Step 1: The Circuit

*please note: I can not be held responsible for any melted
micro-controllers or LED strip. This project worked for me, that's as much as I can say, however I wouldn't necessarily leave it running when I leave the house. It is recommended on many Arduino forums to have at least a 1000 uF capacitor between 5v and GND (before the LED strip) and also a 500 Ohm resistor before the Data line. Please see https://learn.adafruit.com/adafruit-neopixel-uber... for some more tips.

Also, I am using exactly 105 LED's out of the 150 LED strip, I cut it to fit the window.

Step 2: The Code

Download the Arduino Sketch from here:

https://github.com/tomjuggler/105LEDChristmasLight...

- includes optional keyboard control, change light settings by pressing a key on connected PC.

Step 3: The Setup

1. Upload your code to the Arduino Uno

2. Plug in the 3 jumpers, make sure not to mix GND and +5v!

3. Hang LED strip around edge of window (it looks really nice behind our net curtain)

4. Plug in the USB cable to a wall outlet or charger and watch the lights!

Step 4: Merry Christmas Everybody!

For more fun projects, easy and difficult, check out my site: circusscientist.com