I am designing something that will use 27 rgb leds.
I would like to be able to control each led individually (turning on/off and also selecting color).
All of the pre built strands of LEDs either don't have the right number of LEDs or won't fit into the design layout.
I am thinking of using 27 ws2812B 5050's and want to make sure they can
A) be individually turned on and off
B) have the color individually controlled.
Also how many pins will I need to control them all? Seems like I can just chain them together off of one pin. If I use two pins and split them in half will I get better refresh times.
Thanks for any help.
-Jon
WS2812B 5050 RGB LED usage question
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: WS2812B 5050 RGB LED usage question
Yes.berko wrote:A) be individually turned on and off
Also yes.berko wrote:B) have the color individually controlled.
Three: VCC, GND, and DATA.berko wrote:Also how many pins will I need to control them all?
Each chip acts as a repeater for the rest of the strip, consuming the first 24 bits of data it sees and then copying everything else to its DO pin. Technically all you have to do is communicate with the first chip in the series.
- berko
- Posts: 67
- Joined: Sat Aug 04, 2012 6:44 pm
Re: WS2812B 5050 RGB LED usage question
thanks Mike.
Seems so easy.
so if i get this i need to just send the first LED the bits.
first led uses 24 bits.
second led gets bits 25-48.
third gets 49-72.
so for 27 leds i need to send it 648 bits?
i will take a look at the library you have tonight.
then start writing some pseudo code and sketching up designs.
thanks again for your help.
are you Mike Barela that writes some of the tutorials or a different Mike.
Either way thanks for the help
Seems so easy.
so if i get this i need to just send the first LED the bits.
first led uses 24 bits.
second led gets bits 25-48.
third gets 49-72.
so for 27 leds i need to send it 648 bits?
i will take a look at the library you have tonight.
then start writing some pseudo code and sketching up designs.
thanks again for your help.
are you Mike Barela that writes some of the tutorials or a different Mike.
Either way thanks for the help
- big_red_frog
- Posts: 27
- Joined: Sat Dec 21, 2013 11:10 pm
Re: WS2812B 5050 RGB LED usage question
Note the neopixel lib makes all the protocol transparent to you...All the bits bashing and timing constraint happens under the covers...
- berko
- Posts: 67
- Joined: Sat Aug 04, 2012 6:44 pm
Re: WS2812B 5050 RGB LED usage question
hmm....was just reading the uber tutorial.
and i see this comment:
"WS2812 RGB LED with Integrated Driver Chip — bare NeoPixels for advanced users wanting to design their own custom boards and shapes. 10 pack. This is a surface-mount device, not recommended for novice soldering"
what would you consider "novice" soldering?
i have built a solder time desk clock, motor shield, lcd 16x2 shield, rtc as well as several other small projects on prema-proto boards but have never done any surface mount soldering.
before i order 30 of these things am i going to be able to do it?
if not, back to the drawing board.
-jon
and i see this comment:
"WS2812 RGB LED with Integrated Driver Chip — bare NeoPixels for advanced users wanting to design their own custom boards and shapes. 10 pack. This is a surface-mount device, not recommended for novice soldering"
what would you consider "novice" soldering?
i have built a solder time desk clock, motor shield, lcd 16x2 shield, rtc as well as several other small projects on prema-proto boards but have never done any surface mount soldering.
before i order 30 of these things am i going to be able to do it?
if not, back to the drawing board.
-jon
-
- Posts: 564
- Joined: Wed Jun 19, 2013 3:35 am
Re: WS2812B 5050 RGB LED usage question
Do you have any experience hand soldering SMD components?berko wrote: what would you consider "novice" soldering?
What sort of layout/pattern are you planning? You should know that you can cut the NeoPixel strips to size....and in sections. So, if you got 1 meter of 30/meter NeoPixel strip, you could cut three off and have 27.
- berko
- Posts: 67
- Joined: Sat Aug 04, 2012 6:44 pm
Re: WS2812B 5050 RGB LED usage question
Hey Dave,
I am making a Tix clock:
http://www.geekalerts.com/u/tix_clock.jpg
so the strips just wont work. or at the very least i would have to really hack them up.
i have never soldered any SMD parts before, hence the trepidation.
what better way to learn than soldering 4 wires to 27 leds!
but what are my chances of failing?
just want to know if i am going to be wasting $15 bucks here. if so i would rather just jump to plan b.
thanks for any thoughts.
I am making a Tix clock:
http://www.geekalerts.com/u/tix_clock.jpg
so the strips just wont work. or at the very least i would have to really hack them up.
i have never soldered any SMD parts before, hence the trepidation.
what better way to learn than soldering 4 wires to 27 leds!
but what are my chances of failing?
just want to know if i am going to be wasting $15 bucks here. if so i would rather just jump to plan b.
thanks for any thoughts.
-
- Posts: 564
- Joined: Wed Jun 19, 2013 3:35 am
Re: WS2812B 5050 RGB LED usage question
Are you building your own case/enclosure, or using the one from the kit?
- berko
- Posts: 67
- Joined: Sat Aug 04, 2012 6:44 pm
Re: WS2812B 5050 RGB LED usage question
What kit!?!?
Was going to make "everything" from scratch.
Is there a tix kit?
Was going to make "everything" from scratch.
Is there a tix kit?
-
- Posts: 564
- Joined: Wed Jun 19, 2013 3:35 am
Re: WS2812B 5050 RGB LED usage question
http://www.geekalerts.com/tix-led-clock/
Has two links for purchasing kit....but doesn't look like they're available anymore. Sorry.
Did find an Instructible though -
http://www.instructables.com/id/DIY-TiX-Clock/
As far as soldering SMD. The only way to learn is by doing it. So, it's really up to you.
My thought was....if you want to use NeoPixels, and you're making your own frame anyway...could cut a NeoPixel strip into 9 sections of three pixels. Then solder them together with wires. And, could possibly just glue them down to a backer board in the correct shape/spacing. That'd give you less than 1/3 as many solder joints, and have all the capacitors which come on the strips for a little added protection.
Just a thought.
Has two links for purchasing kit....but doesn't look like they're available anymore. Sorry.
Did find an Instructible though -
http://www.instructables.com/id/DIY-TiX-Clock/
As far as soldering SMD. The only way to learn is by doing it. So, it's really up to you.
My thought was....if you want to use NeoPixels, and you're making your own frame anyway...could cut a NeoPixel strip into 9 sections of three pixels. Then solder them together with wires. And, could possibly just glue them down to a backer board in the correct shape/spacing. That'd give you less than 1/3 as many solder joints, and have all the capacitors which come on the strips for a little added protection.
Just a thought.
- berko
- Posts: 67
- Joined: Sat Aug 04, 2012 6:44 pm
Re: WS2812B 5050 RGB LED usage question
Thanks Dave,
I am going to think about it.
I may pick up a SMD kit they sell at RadioShack that is just for practicing.
If that goes well I'll get the neos.
That's for your help.
By the way, those links you found are the original product, not a kit.
I am trying to, as closely as possible replicate that product because it is not made anymore.
Best,
Jon
I am going to think about it.
I may pick up a SMD kit they sell at RadioShack that is just for practicing.
If that goes well I'll get the neos.
That's for your help.
By the way, those links you found are the original product, not a kit.
I am trying to, as closely as possible replicate that product because it is not made anymore.
Best,
Jon
-
- Posts: 564
- Joined: Wed Jun 19, 2013 3:35 am
Re: WS2812B 5050 RGB LED usage question
That might explain why it's no longer available....berko wrote:Thanks Dave,
By the way, those links you found are the original product, not a kit.
Most people interested in having something like that, would probably rather build it themselves than just buy it and hang it on the wall. I know I would anyway!
Good luck!
Remember to come back and post some photos when you finish.
- berko
- Posts: 67
- Joined: Sat Aug 04, 2012 6:44 pm
Re: WS2812B 5050 RGB LED usage question
i am not finished yet, but @1chicagodave wanted photos:
http://blog.atownrobots.com/
here is a link to my blog that has photos, thoughts about the work in progress, etc...Remember to come back and post some photos when you finish.
http://blog.atownrobots.com/
- wimbley
- Posts: 8
- Joined: Fri May 13, 2011 6:50 pm
Re: WS2812B 5050 RGB LED usage question
Hi Berko,
I saw the result of the project on your blog. Excellent clock! Out of curiosity, did you ever get around to posting the code? I'd love to try building a version of it.
I saw the result of the project on your blog. Excellent clock! Out of curiosity, did you ever get around to posting the code? I'd love to try building a version of it.
Please be positive and constructive with your questions and comments.