DEPRECATED. See lumiere-client-*
projects.
Lumiere node using the Spark Core.
Currently, only NeoPixel lights are supported with the existing code base; make sure to read through the NeoPixel guide when using these lights.
- Setup your Spark.
- Install the
spark
command line utility with:npm install -g spark-cli
Update lumiere.ino
with the relevant configuration values, overall this should just be the number of lights you have.
This should be in a non-committed config header file eventually.
- You can compile with the following, though note that this uses the default Spark infrastructure and requires the Internet:
make compile
- To flash the Spark via the internet:
make flash spark=YOUR_SPARK_ID
Not quite sure about the way the Spark manages libraries. A spark.include
file is needed to make references to files to include, but then they are are referenced in the application by just their file name?
- We manage and get thrid-party libraries with
make dependencies
- If you need to factory reset.
- To manually set the Wifi credentials via USB, in case the Spark App is not connecting.
The Spark outputs 3.3V, and the NeoPixel can handle this if both power and data are the same. But, this will only work with a small number of pixels, like 8.
To power a signifcant amount of lights, you'll need more power (do make sure to read the NeoPixel guide). But, the Spark outputs 3.3V on the data pin and NeoPixels want 5V so we have to convert. The 74AHCT125 quad level-shifter is a great option.