The WS2812 is an amazing piece of technology. 30 years ago, high brightness LEDs didn’t even exist yet. Now, you can score RGB LEDs that even take all the hard work out of controlling and addressing them! But as ever, we can do better.
Riffing on the ever popular Adafruit NeoPixel library, [Harm] created the WS2812FX library. The library has a whole laundry list of effects to run on your blinkenlights – from the exciting Hyper Sparkle to the calming Breathe inspired by Apple devices. The fantastic thing about this library is that it can greatly shorten development time of your garden-variety blinkables – hook up your WS2812s, pick your effect, and you’re done.
[Harm]’s gone and done the hard yards, porting this to a bevy of platforms – testing it on the Arduino Nano, Uno, Micro and ESP8266. As a proof of concept, they’ve also put together a great demonstration of the software – building some cute and stylish Christmas decorations from wood, aluminium, and hacked up Christmas light housings. Combining it with an ESP8266 & an app, the effects can be controlled from a smartphone over WiFi. The assembly video on YouTube shows the build process, using screws and nails to create an attractive frame using aluminium sheet.
This project is a great example of how libraries and modern hardware allow us to stand on the shoulders of giants. It’s quicker than ever to build amazingly capable projects with more LEDs than ever. Over the years we’ve seen plenty great WS2812 projects, like this sunrise alarm clock or this portable rave staff.
As always, blink hard, or go home. Video after the break.
Great electronic work you have Holiday spirit.
Just tested the esp8266_webinterface. Very nice! Like it.
Thank you for sharing.
Thank you for sharing! (Also, bonus points for a saw-mounted camera…)
Thanks. :)
So how do you control them without the use of an app or ESP8266?
I think the point is that it’s a great library to do effects with. You can implement the library any way you want. You can use an UNO and a button if you want. The cool thing about the esp8266 in this case is that there is no app. The control interface is built in as a webserver. Just put the ip of the unit into your browser and you have control.
How many ways did you feel like skinning a given cat?
eBay has heaps of WS2812 strips with power supplies and controllers. Some with remotes, some not.
You can drive them via an Arduino rather than an ESP8266 if that’s your board of choice.
A quick Google suggests you can control them with an RPi also.
Suspect I am not understanding your point though. Can you clarify?
This is awesome. Great library. I have a bunch of wifi pixels laying around which are esp8266s paired with 16 neopixels. The esp8266 web interface works great!
So put a bunch of these on your house and let people driving-by and on the Internet control it like these guys do:
http://www.controllablechristmaslights.com/
http://control-christmas-lights.com/
Very cool! Thanks for the links. I had my huge “H” (can be seen in the background here: http://images.kitesurfer1404.de/show/led-star_09.jpg ) online for some days with a webcam streaming it live. Great fun.
Next year I’ll add some fancy lights to my windows. Maybe I can get a live-stream and webinterface running for that.
Nice work! I was using Melvanimate (https://github.com/sticilface/Melvanimate) to obtain a similar result in an old project… For a new project i’m working i think this is a better solution! Do anyone think there is hope that will work for ESP32 (Sparkfun ESP32 Thing)?
I guess so. If not now, then soon, I hope. It seems there is good progress bringing the ESP32 to the Arduino world.
https://github.com/espressif/arduino-esp32
Maybe someone can confirm this by trying to compile the demo code for the ESP32.
No parts list or schematic given, as far as I can tell. I just indexed through the video. Not going to watch 6 minutes of someone cutting wood and soldering.
There’s a kind-of schematic on my website at the bottom of the page: http://www.kitesurfer1404.de/tech/led-star/en Direct link: http://images.kitesurfer1404.de/show/led-star_05.jpg
It’s just the bare minimum to get an ESP8266 running (3.3V regulator), some capacitors and a 7 pixel WS2812 circle. Skip the video, it’s just a wooden star shape with aluminium flashing nailed to it. Nothing special. The cabochon (fairground light cap) must be sourced local, I guess. I got mine from http://landwermann-technik.de/produkt-kategorie/beleuchtung-und-zubehoer/eco-e14/
Looks great!
I’d really like to run it on some DotStars I have laying around – could someone point me in the right direction for doing that?
All the best!
Looks fantastic!
I’d like to use it with some DotStars I have laying around – could someone point me in the right direction for doing that?
All the best!