Skip to content

node.js based controller for large arrays of WS2801 LED pixels

Notifications You must be signed in to change notification settings

mattolson/blinken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blinken

We are working with strands of Adafruit WS2801 LED pixels, configured in a grid installed on ceiling tiles. For more information on basic wiring and led function, see Adafruit's tutorial.

We're using a NodeJS v0.10.5 server on a Raspberry PI Model B with a breakout kit to drive the array.

Requirements

To get the hardware ready:

  • Download and flash the Occidentalis v0.2 distribution to an SD card. See this page for more details on flashing the OS.
  • Download and compile node.js from source. Sadly, the binary distribution in the Raspbian repository did not work for us. Follow this guide but use the latest version of node. Compiling node on a 700Mhz ARM chip takes a long time, so grab a beer.
  • Wire up your lights like so.
  • Create an entry in your /etc/hosts for the IP address of the Pi named leds.dev.

Installation

  • Clone this repository: git clone git://github.com/mattolson/blinken.git
  • Build/install node modules: cd driver && npm install
  • Start server: sudo node index.js
  • Open Chrome (or other browser capable with Web Sockets support) and visit http://leds.dev:8888/

Thanks

Big thanks go to Alexander Weber for writing node-pixel, upon which some of this project is based, and Russell Hay for writing node-spi, a NodeJS interface to the SPI bus.

About

node.js based controller for large arrays of WS2801 LED pixels

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published