This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorials:products:pixel12mm:index.html [2012/03/06 19:29] ladyada [Code!] |
tutorials:products:pixel12mm:index.html [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
* 12mm diameter round waterproof pixels | * 12mm diameter round waterproof pixels | ||
* Comes in both "Bullet" (thin) shape and "Square" (flat) shapes | * Comes in both "Bullet" (thin) shape and "Square" (flat) shapes | ||
- | * Approximately 4 inches (100mm) apart on 4-pin strand | + | * Approximately 3 inches (80mm) apart on 4-pin strand |
* 5 Volts DC, 60 milliamps max per pixel (all LEDs on, full white) | * 5 Volts DC, 60 milliamps max per pixel (all LEDs on, full white) | ||
* WS2801 LED driver chip provides 24-bit color: [[http://www.adafruit.com/datasheets/WS2801.pdf|Datasheet]] | * WS2801 LED driver chip provides 24-bit color: [[http://www.adafruit.com/datasheets/WS2801.pdf|Datasheet]] | ||
Line 49: | Line 49: | ||
{{ :tutorials:products:pixel12mm:id738rainbow_lrg.jpg?500 |}} | {{ :tutorials:products:pixel12mm:id738rainbow_lrg.jpg?500 |}} | ||
- | The LED pixels are spaced along a strand of ribbon cable, with about 4 inches or 100mm between pixels. If additional distance is needed you can cut the ribbon cable and solder 4 wires to extend the gap to the desired length. | + | The LED pixels are spaced along a strand of ribbon cable, with about 3 inches or 80mm between pixels. If additional distance is needed you can cut the ribbon cable and solder 4 wires to extend the gap to the desired length. |
{{ :tutorials:products:pixel12mm:12mmwires.jpg?nolink& |}} | {{ :tutorials:products:pixel12mm:12mmwires.jpg?nolink& |}} | ||
Line 119: | Line 119: | ||
// Set the first variable to the NUMBER of pixels. 25 = 25 pixels in a row | // Set the first variable to the NUMBER of pixels. 25 = 25 pixels in a row | ||
- | Adafruit_WS2801 strip = WS2801(25, dataPin, clockPin); | + | Adafruit_WS2801 strip = Adafruit_WS2801(25, dataPin, clockPin); |
</code> | </code> | ||