forked from hyperion-project/hyperion
-
Notifications
You must be signed in to change notification settings - Fork 0
Hardware
poljvd edited this page Oct 1, 2013
·
28 revisions
The leds are connected to the SPI interface of the Raspberry Pi. The diagram below (original from adafruit.com) shows how the led string connects to the GPIO header. Note that we prefer a separate power supply for the Pi and the led string in contradiction to what the [original Adafruit image](http://learn.adafruit.com/light-painting-with-raspberry-pi/hardware) shows. The reason for this is that the requested current can vary from near 0.0A (all leds off) to 2.6A (50 leds full white) in a short time. The Raspberry Pi requires a stable input voltage which means that a high quality power supply is needed, or a separate power supply for the Pi and the leds.

Most people connect their led string directly to the GPIO of the Raspberry Pi. This appears to be working for (almost?) all people. According to the [datasheet of the WS2801](http://www.adafruit.com/datasheets/WS2801.pdf) the data lines require 0.8*Vdd=4V for an input voltage to be considered as a high bit. This means that the 3.3V output of the GPIO is below the specs. Therefore, we decided to insert a line buffer between the GPIO and the led string based on a simple 74HCT series IC (using cascaded AND/OR/NAND/NOR ports). A similar solution providing the same kind of buffering can be obtained from [HackerspaceShop.com](http://www.hackerspaceshop.com/raspberrypi-ws2801.html) and probably also from other shops.
Attaching the leds behind the TV can be done in many ways: from simple cardboard frames to solid frames from aluminum profiles. We have chosen to create our frame from tubes for electrical wiring. A photo showing the result is shown below.
