DycoLEDs Driver
JonnyMac
Posts: 9,108
In this thread:
http://forums.parallax.com/showthread.php?141495-WS2801-Driver
Lachlan (@Tubular) pointed out an option to the WS2801-enabled LED strip I was using for a display project; the strip he suggested uses the DycoLED module which is a self-contained RGB LED array and electronics. It's pretty neat. After kindly sending me a sample from his sample I converted the latest version of my WS2801 driver to run the DycoLED module. The first cut is attached. I will spend some time refining before moving to ObEx. Feedback is always appreciated.
The DycoLED uses a 15-bit color definition and like the WS2801 uses two pins for communications (quasi-SPI). My only gripe (and I found others on the 'net with the same complaint) is that the DycoLED module defaults to white on power-up with no command. I may be using the modules in an FX/display project and if I do the circuit will switch the 5v power to the LEDs after the driver is loaded and running.
Update: I shot and posted a very quick video showing the (now attached) demo code. Note that the demo code has the Spin code I used to check connections; this is fine if you just have a couple LEDs and are not doing advanced animation of color/brightness.
http://www.youtube.com/watch?v=4Lm6fUbAzVE
http://forums.parallax.com/showthread.php?141495-WS2801-Driver
Lachlan (@Tubular) pointed out an option to the WS2801-enabled LED strip I was using for a display project; the strip he suggested uses the DycoLED module which is a self-contained RGB LED array and electronics. It's pretty neat. After kindly sending me a sample from his sample I converted the latest version of my WS2801 driver to run the DycoLED module. The first cut is attached. I will spend some time refining before moving to ObEx. Feedback is always appreciated.
The DycoLED uses a 15-bit color definition and like the WS2801 uses two pins for communications (quasi-SPI). My only gripe (and I found others on the 'net with the same complaint) is that the DycoLED module defaults to white on power-up with no command. I may be using the modules in an FX/display project and if I do the circuit will switch the 5v power to the LEDs after the driver is loaded and running.
Update: I shot and posted a very quick video showing the (now attached) demo code. Note that the demo code has the Spin code I used to check connections; this is fine if you just have a couple LEDs and are not doing advanced animation of color/brightness.
http://www.youtube.com/watch?v=4Lm6fUbAzVE
Comments
I agree the all-white startup is not optimal. Might experiment a bit further with pullups/pulldowns on the 2 data lines, but given the data needs to be clocked I don't really expect that make any difference.
Do either of you have a source for these LEDs?
I just finished wiring 16 RGB LEDs to six 595 shift registers. This method of lighting LEDs gets old fast.
What is the update speed?
Do you have a link to a seller?
Thanks in advance,
Massimo
I don't have source for the LEDs; the sample I played with was generously provided by @Tubular. In my web searching for information I came across this company in Germany.
-- http://www.kirronlightcomponents.com/
I found it too, but it looks they don't have the led strips, which are pretty handy.
I also found unclad WS2801 led strips here:
http://www.bliptronics.com/item.aspx?ItemID=128
The price looks good, must check shipping.
Massimo
In the mean time if anyone wants samples I can carve up my strip for $1/led
I wouldn't mind purchasing sample if you're still willing to carve up your strip.
Sure, how many do you want?
cheers
tubular
Thanks for your offer. PM sent.