User Tools

Site Tools


tutorials:products:digitalrgbledstrip: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
tutorials:products:digitalrgbledstrip:index.html [2011/11/14 20:55]
ladyada [How to separate longer strips (Advanced!)]
tutorials:products:digitalrgbledstrip:index.html [2016/01/28 18:05] (current)
Line 172: Line 172:
  
 You will need a lot of power for these strips so be sure to read the documentation above to specify a proper supply. Don't just connect it to the Arduino +5V pin and cross your fingers, you could damage your power adapter! You will need a lot of power for these strips so be sure to read the documentation above to specify a proper supply. Don't just connect it to the Arduino +5V pin and cross your fingers, you could damage your power adapter!
 +
 +<class notewarning>​
 +The digital RGB LED strips must be powered with a 5V DC power supply. Do not use anything higher than 6VDC or you could permanently destroy the entire strip!
 +</​class>​
  
 Next you'll need to install the LPD8806 library code. [[https://​github.com/​adafruit/​LPD8806|Download the library from github by clicking the DOWNLOADS button in the top right corner]], rename the uncompressed folder **LPD8806**. Check that the **LPD8806** folder contains **LPD8806.cpp** and **LPD8806.h** Next you'll need to install the LPD8806 library code. [[https://​github.com/​adafruit/​LPD8806|Download the library from github by clicking the DOWNLOADS button in the top right corner]], rename the uncompressed folder **LPD8806**. Check that the **LPD8806** folder contains **LPD8806.cpp** and **LPD8806.h**
Line 196: Line 200:
         {         {
             var spi = new SPI(new SPI.Configuration(Cpu.Pin.GPIO_NONE,​             var spi = new SPI(new SPI.Configuration(Cpu.Pin.GPIO_NONE,​
-                false, 0, 0, true, true, 10000, SPI.SPI_module.SPI1));​+                false, 0, 0, false, true, 10000, SPI.SPI_module.SPI1));​
             var colors = new byte[3 * 32];             var colors = new byte[3 * 32];
             var zeros = new byte[3 * ((32 + 63) / 64)];             var zeros = new byte[3 * ((32 + 63) / 64)];
Line 216: Line 220:
         }</​code>​         }</​code>​
         ​         ​
 +=====  FAQ & Troubleshooting =====
 +
 +<class notewarning>​
 +99% of Digital LED strip problems come down to a few very common problems. ​ BEFORE posting, check all of these multiple times.
 +</​class>​
 +
 +  - You are connecting to the INPUT of the strip, not the OUTPUT. This is incredibly common mistake. It wont work unless data is going into the correct end. Check the tutorial to see how to identify the input side. Just because your cut strip has a connector does NOT mean its an input. Check again!
 +  - You must have a common ground between your power supply and the Arduino. If no ground wire connects the strip to the Arduino, it will be flakey and respond strangely, if at all
 +  - If you want to light up a lot of LEDs, you need a fairly beefy 5V supply. Make sure its a regulated supply, and you verify that the output is no higher than 6V DC. A good rule of thumb is a max of 2 Amps per meter, with an average draw of about 0.5 - 1 amp depending on use.
 +  - Check that you did not swap the DATA and CLOCK pins
 +
 +
 +**For long strips**, there can be a significant drop in voltage from one end to the other. ​ For strips longer than 1 meter we recommend feeding power to both ends of the strip. ​ For very long strips (5 meters or more) you should plan to feed power to multiple points along the strip.
 +
 +**Mysterious Green Flash**- On some strips it has been reported that the first pixel on the strip will flash a little green whenever commands are sent to this strip (If you are sending commands continuously,​ it might show some green most of the time). ​ We are still trying to understand the cause of this phenomenon. ​ In any case, it does not otherwise affect normal operation of the strip.
 +
 +
 =====  How to separate longer strips (Advanced!) ===== =====  How to separate longer strips (Advanced!) =====
  
/home/ladyada/public_html/wiki/data/attic/tutorials/products/digitalrgbledstrip/index.html.1321304108.txt.gz · Last modified: 2016/01/28 18:05 (external edit)