Difference between revisions of "Adafruit: LED Strip LPD8806"

From eLinux.org
Jump to: navigation, search
m
m (Added Grade)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The offical page can be found at [http://adafruit.com/products/306 Adafruit "Digital Addressable RGB LED w/ PWM waterproof flexi strip"]
+
[[Category:ECE497]]
 +
[[Category:Adafruit]]
  
 +
<pre style="color:red">
 +
Overview: 2
 +
Wiring:  0, show me how to wire it up
 +
Code:    0, I was expecting to see some code you wrote.
 +
git/Compiles with make: 2
 +
Demo:    2
 +
Total:    6+2=8  (Added 2 since the first string didn't work)
 +
Comments:
 +
</pre>
  
[[File:http://www.adafruit.com/images/large/digitalledstrip_LRG.jpg|200px|thumb|left|alt text]]
+
The offical page can be found at [http://adafruit.com/products/306 Digital Addressable RGB LED w/ PWM waterproof flexi strip]
 +
 
 +
[[File:digitalledstrip_LRG.jpg|200px|thumb|left|LPD8806]]
 +
 
 +
== Introduction ==
  
 
This is an LED strip housed in waterproof material with 32 LEDs per meter. The LEDs are controlled by shift registers using LPD8806 controller that controls two LEDs at a time with pulse width modulation. This chip has built in 1.2 MHz high speed 7-bit PWM for each channel which relates to 21-bit color.  At each end is a 4-pin JST connector which is sealed in the 5 meter version. This needs to be powered by a 5V power source and should not go above 5.5V.
 
This is an LED strip housed in waterproof material with 32 LEDs per meter. The LEDs are controlled by shift registers using LPD8806 controller that controls two LEDs at a time with pulse width modulation. This chip has built in 1.2 MHz high speed 7-bit PWM for each channel which relates to 21-bit color.  At each end is a 4-pin JST connector which is sealed in the 5 meter version. This needs to be powered by a 5V power source and should not go above 5.5V.
 +
 +
== Code ==
 +
 +
https://github.com/adammhaile/RPi-LPD8806
 +
 +
https://github.com/Sh4d/LPD8806
 +
 +
http://www.kernel.org/doc/Documentation/spi/spidev_test.c
 +
 +
== Troubleshooting ==
 +
 +
When I got the LED strip, it did not work as expected. Only the first two lights would stay lit and would only change based on random values that they would get when initialized with noise. After reading this thread on the Adafruit forums http://forums.adafruit.com/viewtopic.php?t=32825 we were able to get a working strip of LEDs.

Latest revision as of 12:15, 14 November 2012


Overview: 2
Wiring:   0, show me how to wire it up
Code:     0, I was expecting to see some code you wrote.
git/Compiles with make: 2
Demo:     2
Total:    6+2=8  (Added 2 since the first string didn't work)
Comments: 

The offical page can be found at Digital Addressable RGB LED w/ PWM waterproof flexi strip

LPD8806

Introduction

This is an LED strip housed in waterproof material with 32 LEDs per meter. The LEDs are controlled by shift registers using LPD8806 controller that controls two LEDs at a time with pulse width modulation. This chip has built in 1.2 MHz high speed 7-bit PWM for each channel which relates to 21-bit color. At each end is a 4-pin JST connector which is sealed in the 5 meter version. This needs to be powered by a 5V power source and should not go above 5.5V.

Code

https://github.com/adammhaile/RPi-LPD8806

https://github.com/Sh4d/LPD8806

http://www.kernel.org/doc/Documentation/spi/spidev_test.c

Troubleshooting

When I got the LED strip, it did not work as expected. Only the first two lights would stay lit and would only change based on random values that they would get when initialized with noise. After reading this thread on the Adafruit forums http://forums.adafruit.com/viewtopic.php?t=32825 we were able to get a working strip of LEDs.