RGB LED

So, a friends and I are trying to program a single RGB LED to work with ColorPAL for a competition coming up on the 29th. We can get the ColorPAL to work flawlessly but we can't so much as turn on the LED. It doesn't short circuit because the light still comes on and the LED we are using is https://www.parallax.com/product/28085. Any help would be much appreciated.

Comments

  • 7 Comments sorted by Date Added Votes
  • Check that same page for the documentation and examples...
  • tomcrawfordtomcrawford Posts: 639
    edited April 7 Vote Up0Vote Down
    Sorry, that part cannot be driven with BS-2. Takes a prop.

    You could drive a "bare" RGB led with three DACs using a BS2.
    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
    Cool, CA, USA 95614
  • Sorry, that part cannot be driven with BS-2. Takes a prop.

    You could drive a "bare" RGB led with three DACs using a BS2.

    Check the note at the bottom of the page for an explanation of why the BS2 will not work with the WS2812. A Propeller Mini would be a good choice for this project.
    In science there is no authority. There is only experiment.
    Life is unpredictable. Eat dessert first.
  • Sorry, that part cannot be driven with BS-2. Takes a prop.

    You could drive a "bare" RGB led with three DACs using a BS2.

    That amazing part, yes to the Prop.

    However it is indeed possible to drive one via the BS2. Ask Google carefully about it.
  • Well, I googled very carefully and think Buck Rogers may be suggesting WS2801. I didn't find any integrated with LEDs but it is worth looking for.
    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
    Cool, CA, USA 95614
  • Well, I googled very carefully and think Buck Rogers may be suggesting WS2801. I didn't find any integrated with LEDs but it is worth looking for.

    Close but no smelly burning object that makes some of us look for burning brush.... In fact I meant an ordinary RGB LED and a BS2. A fellow named Fox had a site up where he claimed he did BS2 related consulting and had it there. And I found it then using Google. Gone now the site is.

  • tomcrawfordtomcrawford Posts: 639
    edited April 10 Vote Up0Vote Down
    I got to thinking a little more about this; why wouldn't PWM (Pulse Width Modulation) work just fine. Use an Op Amp in follower configuration for each channel (R,G,B) to keep the cap from discharging too quickly.

    The attitude attached diagram shows what I did. The voltage at the output of the op amp is linear wrt input values from 100 to 180 or so, giving a range of 80 steps which is way more than the eye can see (at least my eye).
    2338 x 1700 - 884K
    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
    Cool, CA, USA 95614
Sign In or Register to comment.