Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

lumiere-lighting/lumiere-node-spark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED. See lumiere-client-* projects.

Lumiere with SparkCore

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.

Install

Setup Spark

  1. Setup your Spark.
  2. Install the spark command line utility with: npm install -g spark-cli

Configure code

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.

Compile and flash

  • 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

Package management

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?

  1. We manage and get thrid-party libraries with make dependencies

Helpful Spark links

Connecting lights

Spark and NeoPixels powered by Spark USB

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.

Spark and NeoPixels powered by Spark diagram

Spark and NeoPixels powered by external 5V

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.

Spark and NeoPixels powered by 5V external diagram

About

Lumiere node using the Spark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published