Pages: [1] 2   Go Down
Author Topic: RGB LED HELP!  (Read 1839 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

I help with the programming for an RGB led.
The problem is, unlike other LED's I have seen, it only has two prongs....... so i have no idea how to program each individual colour. I know it is an RGB because when its at maximun voltage, it flashes all these colours by itself, so Im a little confused.
Logged

overseas
Offline Offline
Newbie
*
Karma: 0
Posts: 3
newb....go easy
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

2 lead RGB LED's dont exist.  you would have to have an led with 4 leads for it to be a RGB LED.  one lead for each color and a common anode or cathode.  Unfortunatly you have a single color LED.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4092
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or possibly a two-color LED, I think they make for instance red and green LEDs in one package connected in reverse parallel.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well my LED has two pins, and uses three colours....... which is why Im so confused
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26519
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
2 lead RGB LED's dont exist.
But they do on ebay.
Not controllable RGB LEDs, but LEDs with built-in blinker ICs.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4092
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well my LED has two pins, and uses three colours....... which is why Im so confused

Perhaps you have a datasheet or a link to the part that you could share. There are literally millions of different LEDs out there, so it's pointless speculating about which one this happens to be.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well my LED has two pins, and uses three colours....... which is why Im so confused

Perhaps you have a datasheet or a link to the part that you could share. There are literally millions of different LEDs out there, so it's pointless speculating about which one this happens to be.

No I don't sorry. U just needed an RGB for Uni, and they gave me that one....... so I dunno. I think I'll buy a proper one to save myself the time.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34579
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
U just needed an RGB for Uni, and they gave me that one
So if they are expecting you to control it with an arduino all you can do is turn it on or off. I think either your Uni made a mistake, or they are idiots.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know this is an old thread but I just wanted to point out that the previous posters are incorrect in that there are multicolored LEDs with only 2 leads.
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know this is an old thread but I just wanted to point out that the previous posters are incorrect in that there are multicolored LEDs with only 2 leads.

Care to point one out?  Specifically what the original poster wanted, an RGB LED.
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2928
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I would assume that the OP wanted to do something besides watch it flash?..?
Unfortunately ALL the 2 wire RGB LED''s DO IS FLASH... Great attention getters though, nice for overcurrent alarms.

Bob
Logged

--> WA7EMS <--
“The solution of every problem is another problem.” -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

Offline Offline
Faraday Member
**
Karma: 62
Posts: 3080
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You'll also find a lot of "phototransistors" with only 2 leads, on ebay.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34579
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You'll also find a lot of "phototransistors" with only 2 leads, on ebay.
What relevance is that? Most photo transistors only have two wires.
Logged

Offline Offline
Faraday Member
**
Karma: 62
Posts: 3080
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How can you have a transistor with only 2 wires ?  Transistors have 3.

I suspect that these alleged 2-wire transistors, are actually diodes.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34579
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Because the base is not brought out but is just recieving a photo current. Photo diodes work and are connected in your circuit a diffrent way.
Logged

Pages: [1] 2   Go Up
Jump to: