twstokes / neopixel-tree

Christmas Tree with NeoPixels ๐ŸŽ„

Home Page:https://www.tannr.com/2018/01/08/neopixel-led-christmas-tree/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NeoPixel Tree ๐ŸŽ„

A Christmas Tree powered by Adafruit NeoPixels and an ESP8266

Hardware

Firmware

  • Runs a UDP server to accept commands over the network. See MCU README.
  • Uploaded using PlatformIO and supports local or OTA updates.

Client

Right now there's a basic iOS app that sends UDP packets to the tree.

Notes

  • I originally went with an Adafruit HUZZAH (ESP8266) but replaced it with the NodeMCU for the built in Schottky diode when protoyping and having the USB as well as external power connected. The NodeMCU also includes a voltage divider for inputs which don't matter as much in this application, but could if something like a microphone were to be added for changing lights to music.
  • I regret using solid core wiring for this application. D'oh.

Power distribution

With the continuous three meter strip laid out, I measured two spots to solder in power for equal distribution in both directions. I followed the advice from the NeoPixel รœberguide.

Connecting the ring to the end of the strip

I soldered on connectors to plug the ring to the end of the strip, which provide both power and data. This serves as a nice quick-disconnect. The ring LEDs are addressed as indices 90-105.

About

Christmas Tree with NeoPixels ๐ŸŽ„

https://www.tannr.com/2018/01/08/neopixel-led-christmas-tree/


Languages

Language:C++ 50.2%Language:Swift 33.2%Language:Python 8.9%Language:C 7.5%Language:Shell 0.2%