Difference between revisions of "Walcott Visualization"

From SlugWiki
Jump to: navigation, search
 
(Hardware)
Line 3: Line 3:
  
 
==Hardware==
 
==Hardware==
 +
The visualization uses a PIC to decode a 4E Network packet containing six 0-255 values. The packet should look something like:
 +
<pre>
 +
\
 +
H
 +
v
 +
(ignored)
 +
(ignored)
 +
(channel 1)
 +
(channel 2)
 +
(channel 3)
 +
(channel 4)
 +
(channel 5)
 +
(channel 6)
 +
\
 +
E
 +
</pre>
 +
These values become the duty cycles of six software PWMs running in the main loop of the firmware.
  
 
==Software==
 
==Software==

Revision as of 19:26, 3 July 2006

Overview

The Walcott visualization integrates a set of rewired christmas lights into the Bemix system. A custom XMMS plugin running on Cocoa Table calculates five 0-255 values based on Fourier transform of the music playing in the lounge. These numbers are wrapped into a 4E Network packet and sent to the serial port to a PIC microcontroller. The PIC parses the packet using BemixOS technology and sets the brightness of each color of light using PWM.

Hardware

The visualization uses a PIC to decode a 4E Network packet containing six 0-255 values. The packet should look something like:

\
H
v
(ignored)
(ignored)
(channel 1)
(channel 2)
(channel 3)
(channel 4)
(channel 5)
(channel 6)
\
E

These values become the duty cycles of six software PWMs running in the main loop of the firmware.

Software

See Also