Question about RGB LED circuit...

Started by Govmnt_Lacky, August 11, 2013, 04:43:03 PM

Previous topic - Next topic

slacker

Here you go Greg, hope that makes sense. Positions 1, 3 and 4 just ground the individual LEDs giving R,, G and B. Position 2 grounds both R and G through the diodes giving yellow. Obviously you can wire it so the colours are in what ever order you like.
Diodes can be added to any of the switch positions, to give any combination of 2 or 3 LEDs.


Govmnt_Lacky

BIG THANKS Ian!!!!!! You ROCK!!!

Gonna breadboard this and see how it goes  ;)
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

Govmnt_Lacky

OK....

So I threw this circuit on the breadboard. It does seem to "function" as it is drawn above BUT..... now I have another problem.

When I select the Yellow color..... I DO NOT get Yellow. I actually get Red and Green which are BOTH clearly visible in the LED  :-\

I have tried different CLR values for each color but nothing seems to make them blend very well. It always looks like a Red dot and a Green dot next to each other and not a uniform Yellow color  :'(

Am I missing something here? Do I HAVE TO use an Arduino circuit to get the yellow color?

Any ideas are appreciated  8)
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

mistahead

Isn't yellow the product of those colours in this case?

May have missed something...

PRR

> looks like a Red dot and a Green dot next to each other

Can't fix that with a computer.

Try frosted glass/plastic.
  • SUPPORTER

head_spaz

Deception does not exist in real life, it is only a figment of perception.

Govmnt_Lacky

Quote from: PRR on August 29, 2013, 11:37:43 PM
> looks like a Red dot and a Green dot next to each other

Can't fix that with a computer.

Try frosted glass/plastic.

Paul,

That was my thought as well. I would need to modify the LED though as it is water clear  :-\

Quote from: head_spaz on August 30, 2013, 02:36:30 AM
Something like this perhaps?



I breadboarded the circuit as slacker drew it above and, like I mentioned, it does function. I just cannot get a "Yellow" color when the Red and Green LEDs are both on.

I have to use slacker's circuit since the LED I am using is common ANODE.  ;)
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

stallik

#27
This IS due to the led you are using. Red and Green makes Yellow provided that the colours are mixed together. If the build of the led allows you to see each colour, the light is not mixing and no amount of circuit bending will change this. As has already been said, you will need to somehow frost the led. Try putting a bit of tracing paper in front to check it out.
Interestingly, I have a couple of tri-colour LEDs here which work fine and both appear clear. Close examination however, reveals that they are slightly frosted so perhaps you will not have to go to far with the sandpaper. They are tiny ones though - perhaps that makes a difference

Oh. Just reread your last post. Are you using separate LEDs?
Insanity: doing the same thing over and over again and expecting different results. Albert Einstein

Govmnt_Lacky

Quote from: stallik on August 30, 2013, 08:36:15 AM
Oh. Just reread your last post. Are you using separate LEDs?

Nope. This is a single water clear RGB LED. When I light up the colors individually, it appears that each color has it's own "element" within the LED.
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

samhay

That's how they work - multiple LEDs in one package. The fact that yours is a water clear suggests that a diffuser is in order.
I'm a refugee of the great dropbox purge of '17.
Project details (schematics, layouts, etc) are slowly being added here: http://samdump.wordpress.com

Govmnt_Lacky

Quote from: samhay on August 30, 2013, 08:57:00 AM
The fact that yours is a water clear suggests that a diffuser is in order.

Any idea where I can find a 5mm clear diffused flush mount LED holder?  :-\
A Veteran is someone who, at one point in his or her life, wrote a blank check made payable to The United States of America
for an amount of 'up to and including my life.'

deadastronaut

just sand the lens so its matted, diffused. ;)
https://www.youtube.com/user/100roberthenry
https://deadastronaut.wixsite.com/effects

chasm reverb/tremshifter/faze filter/abductor II delay/timestream reverb/dreamtime delay/skinwalker hi gain dist/black triangle OD/ nano drums/space patrol fuzz//