Loading...
Pages: [1] 2   Go Down
Author Topic: RGB LED HELP!  (Read 911 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
Online Online
Edison Member
*
Karma: 43
Posts: 2475
"We're a proud service of the Lost Electricity Reclamation Agency"
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

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

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: 137
Posts: 19001
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.

Grand Blanc, MI, USA
Online Online
Edison Member
*
Karma: 43
Posts: 2475
"We're a proud service of the Lost Electricity Reclamation Agency"
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

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

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)
Online Online
Brattain Member
*****
Karma: 269
Posts: 25390
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: 39
Posts: 1202
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
Edison Member
*
Karma: 31
Posts: 2304
Experienced old Whitebeard with a Full head of Hair...
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

“The solution of every problem is another problem.” -Johann Wolfgang von Goethe

Offline Offline
God Member
*****
Karma: 9
Posts: 836
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)
Online Online
Brattain Member
*****
Karma: 269
Posts: 25390
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
God Member
*****
Karma: 9
Posts: 836
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)
Online Online
Brattain Member
*****
Karma: 269
Posts: 25390
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
Print
 
Jump to: