Skip to content

sandnabba/rgb_candlestick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The RGB Candlestick for Christmas

This is the code and a short howto about how I made my RGB LED candlestick for last christmas.

YouTube Video

Features:

  • Can be controlled by any computer with Python support and an USB port.
  • Single cable for both power and programming
  • Simple interface between candlestick and controller.
  • Easy to add new features and light-patterns.

Design

Today the project is built up by 2 main components, the candlestick and the control software. Since it's a lot easier to rewrite the python code then compiling and flashing the Arduio code, most of the intelligence resides in the controller.

Candlestick

The candlestick is designed to be easy and inexpensive to build, simple to use and very reliable. It is:

  • Both powered and controlled through a USB interface.
  • Using a serial over USB interface to the controller.
  • Accepting a byte-array with values for each LED from the controller.

The version 2 of the candlestick is using a single Arduino Nano, but any arduino would work as long as it has a USB port and fits within the candlestick. The leds are 5mm WS2812 (NeoPixel compatible) RGB Leds.

Build instructions

Controller

The controller software is written in Python, and is verified to work on both generic X86 and ARM (Raspberry Pi)

For more information, see the controllers README

Todo

  • Add a virtual env for the controller, so that we don't need to install system packages.
  • Make the number of LEDs dynamic
    • Support for multiple candlesticks in the controller software.
    • Add a "super controller" that can command multiple candlesticks over network.
  • Implement basic light patterns in the Arduino code so that it can run without a dedicated controller.
  • Implement a GET function in the API so that the webapp can get the current state of the candlestick.

About

An RGB candlestick for Christmas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published