Shop OBEX P1 Docs P2 Docs Learn Events
WS2812B Fun Board — Parallax Forums

WS2812B Fun Board

Ken GraceyKen Gracey Posts: 7,392
edited 2015-01-18 07:51 in General Discussion
Hello,

Visiting our SMT line today I noticed they were putting a new product into production: a small breakout for the WS2812B LED. They seem to be building 5,000 units for you. This was originally produced by Jon Williams followed with a quick update by Daniel one afternoon.

Jen has some marketing tricks in mind to get these to you for free, but we'll also sell them to you. I'm hoping that our price is $1.00 to $1.50, but I'm not certain until I see our final costs.

Couple of questions you might like to answer so we can do this properly:
  1. The PCB can accept a right-angle or straight-through header pin. With two right-angle connectors you could chain them together for a string of LEDs using our servo-extension cables. With the straight-through connector they'll be great for quick experimentation in a breadboard. Because of your varied uses, and with a goal of keeping costs down, we won't install any header pins. Okay with that?
  2. What would be your ideal volume pack purchase? 5, 10, 25 in a bag? I'll stock them exactly the way you'd like.
  3. Headers. So that everybody can open the bag and blink the LED, we'll at least include a straight-through header. We would also offer packages of right-angle headers for your string-o-light ideas.
Tell us about your preferences here please. Answer any way you wish, of course.

Thanks,

Ken Gracey

photo 1.JPG
640 x 480 - 147K
«134

Comments

  • David BetzDavid Betz Posts: 14,516
    edited 2014-10-01 17:56
    Very nice! I've been working on C code (and maybe C++) to control these LEDs based on the PASM driver from Jon. I've already started converting the C version to work with SimpleIDE as a Simple Library. This code should easily be able to control a string of these.
  • doggiedocdoggiedoc Posts: 2,241
    edited 2014-10-01 18:03
    I'lll buy lots. I like the string of lights idea. Would it be cost effective for you to put both strait-through and right-angle headers in the pack so we can choose either? What about a kit approach so we can flex our SMT soldering muscles?

    Paul
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2014-10-01 18:03
    David Betz wrote: »
    Very nice! I've been working on C code (and maybe C++) to control these LEDs based on the PASM driver from Jon. I've already started converting the C version to work with SimpleIDE as a Simple Library. This code should easily be able to control a string of these.

    Yes, I noticed! I'll send you some early next week for your efforts and to make sure you're working with our production parts.

    Ken Gracey
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2014-10-01 18:06
    doggiedoc wrote: »
    I'lll buy lots. I like the string of lights idea. Would it be cost effective for you to put both strait-through and right-angle headers in the pack so we can choose either? What I about a kit approach so we can flex our SMT soldering muscles?

    Paul

    The LEDs are being placed on our PnP machine. It's actually cheaper for us to mount them than take them from a tray or tape and reel and bag them. However, if you want to try your hand (or luck) at SMT I could always pull some parts for you.

    As for the assembled unit, we need to make a choice on the headers. Maybe the best solution is two additional products: a 10-pack of right angle or 10-pack of straight headers. You choose.
  • doggiedocdoggiedoc Posts: 2,241
    edited 2014-10-01 18:13
    I understand on the PnP. No problem there. I like the "you chose" approach on the headers. I'd be good with selecting the headers as a separate product. In fact, I'll probably "stock up" on both. :D
  • TtailspinTtailspin Posts: 1,326
    edited 2014-10-01 19:31
    I would like to mount some of those 'off board' using the three wire servo cables. so I might not need the headers at all.(sorry, that's not very helpful is it?)

    What kind of Power Supply should I have for 5 or 10 of these in a row?

    They look really handy, and small too.:thumb:



    -Tommy
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-10-01 20:58
    Ttailspin wrote: »
    What kind of Power Supply should I have for 5 or 10 of these in a row?

    The power supply is more important than one would expect. WS2812B LEDs are one of the few 5V devices which don't always work well with 3.3V logic. I've found the quality of the 5V supply is important. If I have nice clean power, the LEDs work pretty well with 3.3V logic but when I use a switching regulator, I end up with all sorts of extra flashes on the LEDs.

    I haven't tried it yet, but I'm guessing if the LEDs were powered with a lower voltage (it can be as low as 3.5V according to the datasheet), I'd imagine 3.3V logic would be less of an issue.

    I think JonnyMac agrees with me (or I agree with him) that a logic level shifter is a good thing to use with these.

    I don't think I measured the current on these and I don't see it listed in the datasheet, but I think you'd want at least 60mA of current available for each LED.
    doggiedoc wrote: »
    What about a kit approach so we can flex our SMT soldering muscles?

    If you really want to practice SMT soldering, these WS2812B LEDs are a good device to practice on. The four side tabs make these LEDs reasonable easy to solder by hand.

    I attached the gerber files to my version of a small WS2812B board to post #23 of my thread about my experiments with WS2812(B) LEDs.

    To have bare PCBs made you could submit the zip file to OSH Park. The WS2812B LEDs are available on ebay and you'll also need a 0603 ceramic 0.1uF capacitor for each board (kind of makes one start to think about just ordering a completed board from Parallax).

    In case any of you are unaware of these LEDs, they are a lot of fun. JonnyMac's driver make these really easy to use with a Propeller.

    BTW, I think it's safe to say none of the Basic Stamps will be able to drive these LEDs. The communication protocol is to time dependent for the BS.
  • WBA ConsultingWBA Consulting Posts: 2,934
    edited 2014-10-01 21:07
    Ken, very nice little board. I think $1.50 each would be a great deal, so a 10 pack with headers for $14.99 would perfect in my opinion. Adafruit's similar WS2812S RGB NeoPixel board is $7.95 for 4, so ~$2 each.

    Coincidentally, I am currently working on a PCB design for a 3 watt RGB LED. Call it a NeoPixel on steriods that will need to come with a blindness hazard warning..........
  • JonnyMacJonnyMac Posts: 9,104
    edited 2014-10-02 00:59
    Excellent! I just made a small update to my WS2812 drivers and posted it the other day. The latest code allows the app to specify timing, just in case one comes across a work-alike that is slightly different than the WS2812s or WS2812Bs.
  • David BetzDavid Betz Posts: 14,516
    edited 2014-10-02 04:32
    JonnyMac wrote: »
    Excellent! I just made a small update to my WS2812 drivers and posted it the other day. The latest code allows the app to specify timing, just in case one comes across a work-alike that is slightly different than the WS2812s or WS2812Bs.
    I've updated my copy of your PASM code to have the same feature as well as the "single shot" feature you mentioned in another thread. Would there be much power savings in updating the LEDs only when they actually change? I assume they hold their colors indefinitely as long as they are powered.
  • JonnyMacJonnyMac Posts: 9,104
    edited 2014-10-02 07:48
    I assume they hold their colors indefinitely as long as they are powered.

    As long as they are powered or not updated. I realize my code is fairly simple, but I use these things every day in client projects (just did one the other day that controls four strings of 160 lights, using DMX input as the controlling factor [built-in animations and effects]) -- this forces me to focus on features that I'm using. Also keeps things easy for others to follow.
  • David BetzDavid Betz Posts: 14,516
    edited 2014-10-02 07:55
    JonnyMac wrote: »
    As long as they are powered or not updated. I realize my code is fairly simple, but I use these things every day in client projects (just did one the other day that controls four strings of 160 lights, using DMX input as the controlling factor [built-in animations and effects]) -- this forces me to focus on features that I'm using. Also keeps things easy for others to follow.
    I'm not objecting to what you did. In fact, I like the new single shot version. It seems much more flexible.
  • varnonvarnon Posts: 184
    edited 2014-10-02 11:26
    I love these things. I would totally buy some I need individual WS218Bs on a board. I would be great if you could also make a solid connection between two with a solder jumper.
    Uninstalled pin headers would actually be really great. I like Tailspin's idea of splicing LEDs into servo cables as desired.

    I am curious though about the marketing of these. Adafruits "neopixels" are really popular right now. The also offer a single "breadboard friendly" design. Hopefully there is enough interest in these that competition is irrelevant.

    Also, I have not had any problems using 3.3 volt logic with these so far. If there is not a 300-500 ohm resistor between the Propeller and the first DI, sometimes the first LED acts strangely. But with the series resistor all the LEDs work great at 3.3 volts. I have not tried this with very large runs of LEDs, nor have I tried this with long distances between the Propeller's I/O pin and the first LED.

    I am actually using some of these as lighting for an apparatus I am working on. They are insanely bright and diffuse well through a thin layer of white plastic. As far as DC lighting goes, the cost isn't bad for the amount of control you get, especially for small production runs. I think the only time I won't use these is when I want control of the PWM rate.
  • wmosscropwmosscrop Posts: 409
    edited 2014-10-02 13:02
    Duane Degn wrote: »
    The power supply is more important than one would expect. WS2812B LEDs are one of the few 5V devices which don't always work well with 3.3V logic. I've found the quality of the 5V supply is important. If I have nice clean power, the LEDs work pretty well with 3.3V logic but when I use a switching regulator, I end up with all sorts of extra flashes on the LEDs.

    Duane, I had the same issue (random LED flashing) with some WS2811 boards that I bought on ebay. Adding 33 ohm resistors in series with the data signal fixed the issue. It's suggested to do so in the (badly translated, of course) datasheet.

    Walter
  • JohnR2010JohnR2010 Posts: 431
    edited 2014-10-02 16:08
    Very timely! I just started a new project this week where I'm using16 WS2812B LEDs from another vendor. Would love to use the Parallax version instead. My project is battery based and I'm having success driving the LEDs with 3 AA batteries (4.5v) straight to the 5V in and the data with 3.3v straight from the propeller pin. Very bright and solid (no flashing) colors. Also using Jon's PSAM driver.
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2014-10-06 14:47
    Ken,
    Do these breakouts include a cap along with the LED on board?

    Others:
    Regarding power requirements, they draw about 50ma when you set them to full bright white. Although you really shouldn't do that, at least not for very long because it'll reduce the lifetime of the LED significantly.
    I've been working with these WS2812B devices a bunch lately with the pinball side project I've been doing with FAST Pinball. I've got a pile of the Adafruit neopixel boards (many rings, 8x8 grid, etc.), and I've popped a few fuses pushing 184 of them up to bright levels. :)
  • David BetzDavid Betz Posts: 14,516
    edited 2014-10-06 15:28
    Roy Eltham wrote: »
    Ken,
    Do these breakouts include a cap along with the LED on board?

    Others:
    Regarding power requirements, they draw about 50ma when you set them to full bright white. Although you really shouldn't do that, at least not for very long because it'll reduce the lifetime of the LED significantly.
    I've been working with these WS2812B devices a bunch lately with the pinball side project I've been doing with FAST Pinball. I've got a pile of the Adafruit neopixel boards (many rings, 8x8 grid, etc.), and I've popped a few fuses pushing 184 of them up to bright levels. :)
    Sounds cool! Got a video of this beast in action?
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2014-10-06 15:39
    I can make one, although what I have now is not being driven by a Propeller. It's a custom pinball controller board made by the FAST guys (I'm helping with firmware, drivers, and the C++ framework).

    Actually I could easily connect the LEDs up to a prop board and use Jon's driver to whip up something, so I'll do that and make a video. That way it's appropriate for here. :)
  • JonnyMacJonnyMac Posts: 9,104
    edited 2014-10-06 16:23
    They do, Roy. I whipped up the original board for Ken; Daniel Harris did the polish for the Parallax production environment.

    Roy Eltham wrote: »
    Ken,
    Do these breakouts include a cap along with the LED on board?
  • Roy ElthamRoy Eltham Posts: 3,000
    edited 2014-10-06 16:26
    Jon,
    Thanks, and excellent!
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2014-10-10 14:21
    I think you're going to have a lot of fun with this one. Looks like we have a few thousand through our manufacturing already, but they're making 14,000 more units in case we encounter any light-stringing crazies.

    Ken Gracey

    WS2812B.jpg
    640 x 480 - 109K
  • JonnyMacJonnyMac Posts: 9,104
    edited 2014-10-10 14:30
    Well done, Ken (and Daniel and the manufacturing team). :)
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2014-10-10 14:40
    JonnyMac wrote: »
    Well done, Ken (and Daniel and the manufacturing team). :)

    Uhh, and JonnyMac (it's your design, pal).

    I'll post a video here later tonight of this in action. I had to take about ten videos at my desk to capture one without a bunch of internal top-secret audio about the Propeller 2 design or somebody making complaints about me. I don't have any time to strip out audio and try to keep this simple.

    Ken Gracey
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2014-10-10 14:45
    When can we order these?

    shutupandtakemymoneys.jpg
    580 x 300 - 91K
  • David BetzDavid Betz Posts: 14,516
    edited 2014-10-10 14:46
    Ken Gracey wrote: »
    I think you're going to have a lot of fun with this one. Looks like we have a few thousand through our manufacturing already, but they're making 14,000 more units in case we encounter any light-stringing crazies.

    Ken Gracey

    WS2812B.jpg
    They look, well, "fun". Can't wait to try them.
  • doggiedocdoggiedoc Posts: 2,241
    edited 2014-10-10 14:46
    When can we order these?

    shutupandtakemymoneys.jpg
    I'll take 100. :D
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-10-10 14:59
    doggiedoc wrote: »
    I'll take 100. :D

    If each one isn't solar powered and doesn't have a laser attached, you're just hoarding! :smile:

    Let's seem I probably NEED 99 of them......
  • David BetzDavid Betz Posts: 14,516
    edited 2014-10-10 15:02
    mindrobots wrote: »
    If each one isn't solar powered and doesn't have a laser attached, you're just hoarding! :smile:

    Let's seem I probably NEED 99 of them......
    I need *all* of them. That way I can resell them to you guys at a profit! :-)
  • mindrobotsmindrobots Posts: 6,506
    edited 2014-10-10 15:30
    David Betz wrote: »
    I need *all* of them. That way I can resell them to you guys at a profit! :-)

    Haha! And people around here REALLY need to ask what "Forum Friends" are???? :lol:
  • doggiedocdoggiedoc Posts: 2,241
    edited 2014-10-10 15:34
    mindrobots wrote: »
    If each one isn't solar powered ......
    Dang, now I need to order more solar panels!
Sign In or Register to comment.