Let's Talk ShopBot  

Go Back   Let's Talk ShopBot > General > Project Ideas

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2013, 03:32 PM
Paul A. Zank paul_z is offline
Senior Member
 
Join Date: Jul 2005
Location: , Brookline New Hampshire
Posts: 374
Default WS2812 LED Strips


There are many people on the forum who make edge lit acrylic “signs”. There is a new type of LED strip suitable for edge lighting. It uses WS2812 LEDs which are becoming available at reasonable prices. Although they are in a single string, each LED is Green/Red/Blue and each color has 256 levels of brightness. Further, each LED in the string is individually controlled. Here is a link to one of the suppliers:
http://www.bing.com/videos/search?q=ws2812+led+video&mid=B1282218BA22255098DE B1282218BA22255098DE&view=detail&FORM=VIRE2
The link below is a video of a WS2812 LED string.
http://www.bing.com/videos/search?q=WS2812+video&mid=79261D2D450CBCB7B5B67926 1D2D450CBCB7B5B6&view=detail&FORM=VIRE1

I have one of these LEDs running off a PIC microcontroller. I was very surprised how bright the LEDs are and when GRB are turned on max they produce a very convincing cold white.

The strings are available as “waterproof” which may open interesting outdoor applications.

Most (if not all) of the strips can be cut to the required length by cutting between any two LEDs. ( I would not recommend trying to make your own strips. The chips are extremely small.)

A controller is required to control the LEDs. I have seen some simple controllers for about $9 on ebay.

For the technically inclined:
1. The interconnect between the LEDs in the string is ground, +5, data in, and data out to the next LED.
2. The power requirements are rather forgiving.
3. The documentation states that the pulse stream is a NRZ protocol. It is not a NRZ coding. It is a rather simple pulse width encoding scheme; a narrow pulse is a zero and fat pulse is a one. If no pulses are detected for a nominal 50uSec the WS2812 LED assumes that the “talking is over” and latches the GRB bytes into the respective GRB constant current source. These values are retained until the next data stream or power is lost.
4. I have C18 C code that I wrote for a PIC 18F2525. It will control 32 LEDs and is updating the LEDs at 50Hz. I “bit bashed” the interface and would be happy to share the code. It requires a processor that runs at 8M inst/sec or faster. It may be possible to run at 4M inst/sec by tweaking some of the delays.
5. The data sheet for the WS2812 is rather poor; however, I have to admit that the overall design is rather clever and my sincere congratulations to the designer.
Paul Z
Reply With Quote
  #2  
Old 08-07-2013, 06:19 PM
myxpykalix's Avatar
jack jarvis myxpykalix is offline
Senior Member
 
Join Date: Mar 2006
Posts: 7,155
Default

Hi Paul,
I couldn't figure out, from the link, who the mfg of these was. Do you have a link? I'm getting ready to start building a deck for my son and wanted to think about some kind of lighting to shows stairs, ect. This said it was waterproof so it might be what i need.

Maybe i can figure out how to make some disco floor lighting.....
"ah, ah, ah, ah, stayin alive, stayin alive...
__________________
Words of Wisdom:
“Words that sink into your ears are whispered…… not yelled”
“The biggest trouble maker you’ll probably ever have to deal with, watches you from the mirror every morn’n”
“The only difference between a rut and a grave is the depth”
-----------
Just remember...when it's time for the hearse to pull up..there's no luggage rack on top!
-----------
The beauty of the Second Amendment is that it will not be needed until they try to take it...Thomas Jefferson
Reply With Quote
  #3  
Old 08-07-2013, 06:55 PM
Bill Young BillYoung is offline
Super Moderator
 
Join Date: Oct 2000
Location: Willis Wharf, VA
Posts: 1,467
Default

Digital LED strips are very cool...they're the same ones we use on Handibots to show what the tool is doing. We control the ones on the Handibots with a small Arduino ProMini from Sparkfun ( https://www.sparkfun.com/products/11113) that costs about $10. If you use long runs you'll need a microcontroller with more memory than the ProMinis, but for short runs they work great and are cheap.

I buy the strips from Adafruit and they're available in 60 LEDs per meter ( http://www.adafruit.com/products/1138 ) and 30 LEDs per meter ( http://www.adafruit.com/products/1376). I'm sure they are probably available cheaper, but the Adafruit folks do a lot for the open source hardware community so I try to buy from them when I can.

I've got a video on youTube showing a strip randomly flashing...both color and duration.

http://www.youtube.com/watch?v=yaKrFlAPv1g
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2012 ShopBot® Tools, Inc.