Connect with us

programmable rgb led

Discussion in 'LEDs and Optoelectronics' started by johnd1234, Nov 19, 2014.

  1. johnd1234

    johnd1234

    3
    0
    Nov 19, 2014
    hey

    Ive been working on a project that evolves being able to change the colour of leds. ive researched online and can find several projects like this that use aurdino to program the colour. the only problem with these is the led must always be connected to the audrino. I was wondering would this be possible to do but be able to remove the programmer and be able to use the led programmed to the last colour. An idea I had for this was to possibly use digital potentiometers with non volatile memory. im not sure if this is possible and would greatly appricate if any one has any suggestions on how I may achieve my project

    thank you
     
  2. BobK

    BobK

    7,599
    1,641
    Jan 5, 2010
    You are not really programming anything, you are constantly turning each of the R, G, and B LEDs on an off, with the % of off time controlling the color. This is a dynamic process that must continue to go on if the color is to remain set.

    A microcontroller is by far the simplest hardware you could use to control the color of and LED that way. It need not be an Arduidno. A PIC or AVR microcontroller, 3 resistors and the LED is all the hardware you need. It cannot get simpler than that.

    Bob
     
  3. johnd1234

    johnd1234

    3
    0
    Nov 19, 2014
    thanks for response the reason I was looking to remove the programmer was I need the finished circuit when the color of the led is set to fit into a small unit
     
  4. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,174
    2,690
    Jan 21, 2010
    You might want to look up the WS2812 and (even better in many respects) the APA102.

    These really are "programmable" (for some value of programmable). You can tell them what colour to display and they do it.
     
  5. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    If the space allows... use this:
    http://thingm.com/products/blinkm/

    You 'program' it first with an Arduino, then can disconnect it. (It still has a small controller for itself.. there is no way around that)

    How much space are you limited to?
    Does the LED need to be 'programmed' or can it be set with a couple potentiometers?
     
  6. johnd1234

    johnd1234

    3
    0
    Nov 19, 2014

    thanks for your reply the space is a 10mm diameter tube no longer than a pen
    the reason I suggested 'programming' was to try and achieve a wider spectrum of colors
     
  7. BobK

    BobK

    7,599
    1,641
    Jan 5, 2010
    If you simply want to build a circuit that sets the LED to a certain color and then it remains that way, you can use 3 resistors to set the current in the R, G and B LEDs.

    Bob
     
    (*steve*) likes this.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-