Upload
ani-lee
View
187
Download
0
Tags:
Embed Size (px)
DESCRIPTION
A talk I gave at Geekdom SF, Rackspace's coworking space in SOMA. It focuses on the fun of connecting programmable LEDs (WS2812) to the Fadecandy controller. I talk about where to get LEDs and the Fadecandy board (Adafruit, RGB 123), how the LEDs are addressed, how to send commands with Node, and Fadecandy's specialized temporal dithering algorithm.
Citation preview
BLINKY LIGHTS
AWESOMEARE
AMY LEE - CODAME
WS2812 LEDs
+Fadecandy
=DELICIOUS
- Hardware- Demo- Software- Demo- Q&A
20 MinuteEdition
me.about( )
”Amy Lee” == ”ANI”
musician, coder, etc.
CODAME events, media, iOS App
Spring 2014 Geekdom Artist in
Residence
WeidongYang
Summer2014
LEDs
etc…
Fadecandy
• Controller• USB• 512 LEDs
max**64 LEDs, 8 per “string”
USB+power
data out
ground
[0][1][2][3][7]
[8]
[63]
[0]
[63]
[64]
[256]
[511][319]
[127]
Let’s talk toFadecandy!
… the hard way
echo -ne '\x00\x00\x00\x09\xff\x00\x00\x00\xff\x00\x00\x00\xff' |nc localhost 7890
echo -ne '\x00\x00\x00\x09\xff\x00\x00\x00\xff\x00\x00\x00\xff' |nc localhost 7890
channel“set pixels” 9 data byes
RGBbytes
send via netcat
Lappy486% cd binLappy486% ./fcserver-osx
[1399427197:2922] NOTICE:Server listening on127.0.0.1:7890
Lappy486% cd examples/nodeLappy486% node rings.js../layouts/grid8x8.json
Fadecandy =
awesomedithering
Temporal dithering
[demo]
May 31 @ Tenderloin
PLAYGROUND
codame.com