User Tools

Site Tools


tutorials:products:rgbledpixel:index.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorials:products:rgbledpixel:index.html [2011/08/04 02:14]
ladyada [Wiring]
tutorials:products:rgbledpixel:index.html [2012/01/25 18:58]
ladyada [36mm Square Pixels]
Line 6: Line 6:
  
  
-We have two types of RGB pixels, 12mm and 20mm. They have the same controller chip and use the same power but the LED and shape differs.+We have **three** ​types of RGB pixels, 12mm round, ​20mm round and 36mm square. They have the same controller chip and use the same power but the LED type, number ​and shape differs.
  
  
Line 13: Line 13:
  
  
-  *20mm or 12mm diameter waterproof pixels+  *20mm or 12mm diameter ​round or 36mm square ​waterproof pixels
   *Approx 3" apart on 4 pin strand   *Approx 3" apart on 4 pin strand
-  * 20mm pixels are LPD6803 type only. 12mm may be either WS2801/​LPD6803 (we switched to the superior WS2801 pixels mid July 2011)+  *20mm pixels are LPD6803 type only. 12mm may be either WS2801/​LPD6803 (we switched to the superior WS2801 pixels mid July 2011). 36mm square are WS2801 type.
   *LPD6803 pixels have 15 bit color (5 bits per LED, 3 LEDs per pixel)   *LPD6803 pixels have 15 bit color (5 bits per LED, 3 LEDs per pixel)
   *WS2801 pixels have 24 bit color (8 bits per LED, 3 LEDs per pixel)   *WS2801 pixels have 24 bit color (8 bits per LED, 3 LEDs per pixel)
-  *5V power, 60mA maximum per pixel (all LEDs on, full white)+  ​*Round pixels are **5V** power, 60mA maximum per pixel (all LEDs on, full white) 
 +  *Square pixels are **12V** power, 120mA maximum per pixel (all LEDs on, full white)
   *2-pin SPI-like protocol   *2-pin SPI-like protocol
   *[[http://​www.adafruit.com/​datasheets/​LPD6803.pdf|LPD6803 Datasheet]] and [[http://​www.adafruit.com/​datasheets/​WS2801.pdf|WS2801 Datasheet]] ​   *[[http://​www.adafruit.com/​datasheets/​LPD6803.pdf|LPD6803 Datasheet]] and [[http://​www.adafruit.com/​datasheets/​WS2801.pdf|WS2801 Datasheet]] ​
Line 29: Line 30:
 {{flickrvid>​5262163094}} {{flickrvid>​5262163094}}
  
 +Here is a video showing the 36mm square pixels
  
 +{{flickrvid>​6761457165}}
  
 ==== 20mm Pixels ​ ==== ==== 20mm Pixels ​ ====
Line 55: Line 58:
  
  
 +==== 36mm Square Pixels ====
 +{{ :​tutorials:​products:​rgbledpixel:​id683_lrg.jpg?​500 |}}
 +
 +
 +The 36mm square pixels are the biggest and brightest. They have 4 LEDs total and come in a flat metal square '​plate'​ that is flooded with epoxy. They require 12VDC power and can draw up to 120mA per pixel (there are two sets of two RGB LEDs connected in parallel for two 60mA draw from 12VDC).
 ==== Pixel spacing ​ ==== ==== Pixel spacing ​ ====
  
Line 170: Line 178:
 Wiring is pretty easy since there are only 4 wires. The only important thing is that unless you are sure you will be using only a few of the LEDs at a time, you should not try to power the strip from the 5V on the Arduino. The Arduino is only mean to drive about 500mA of current, and as we saw earlier, a strand can take 1000mA or more if on! For that reason, we suggest powering with an external regulated 5V supply. Wiring is pretty easy since there are only 4 wires. The only important thing is that unless you are sure you will be using only a few of the LEDs at a time, you should not try to power the strip from the 5V on the Arduino. The Arduino is only mean to drive about 500mA of current, and as we saw earlier, a strand can take 1000mA or more if on! For that reason, we suggest powering with an external regulated 5V supply.
  
-For LPD6803 Pixels, use this diagram with Red going to +5, Green going to digital 3, Yellow going to digital 2 and Blue going to Ground. WS2801 wire colors will be different, see below!+For **LPD6803** Pixels, use this diagram with Red going to +5, Green going to digital 3, Yellow going to digital 2 and Blue going to Ground. ​**WS2801 wire colors will be different, see below!**
  
 {{  http://​www.ladyada.net/​images/​rgbpixels/​arduinowiring.gif?​nolink&​576x467 ​ |}} {{  http://​www.ladyada.net/​images/​rgbpixels/​arduinowiring.gif?​nolink&​576x467 ​ |}}
Line 177: Line 185:
  
 Just make sure to '​share'​ the ground pin, and triple check that you have the voltage polarity right so that ground is 0V and power is 5V. For the arduino library we wrote, you can use any two pins.  Just make sure to '​share'​ the ground pin, and triple check that you have the voltage polarity right so that ground is 0V and power is 5V. For the arduino library we wrote, you can use any two pins. 
- 
-**PLEASE NOTE: THE WIRE COLORS SOMETIMES CHANGE FROM BATCH TO BATCH! Do not assume the wire colors are '​logical'​ or the same for each strand. Double check by looking at the first input pixel!** 
  
 === Extra special note for WS2801 pixels === === Extra special note for WS2801 pixels ===
 +
 +**PLEASE NOTE: THE WIRE COLORS SOMETIMES CHANGE FROM BATCH TO BATCH! Do not assume the wire colors are '​logical'​ or the same for each strand. Double check by looking at the first input pixel!**
  
 If you have 12mm pixels you may have newer WS2801 or older LPD6803 pixels. You should check the pixel to verify what chip is inside. This is pretty easy, for the WS2801'​s you'll see it written on the PCB. You can also check your kit packaging If you have 12mm pixels you may have newer WS2801 or older LPD6803 pixels. You should check the pixel to verify what chip is inside. This is pretty easy, for the WS2801'​s you'll see it written on the PCB. You can also check your kit packaging
/home/ladyada/public_html/wiki/data/pages/tutorials/products/rgbledpixel/index.html.txt · Last modified: 2016/01/28 18:05 (external edit)