Bobby said:
Hello,
My CPU is located a distance from my workstation and I need to
manufacture extensions for my JFP1 and JFP2 cables, specifically for
the HDD LED and Power LED. I have the pinouts figured out but I need
to know what type of LEDs (voltage, mA, mcd?) I should be shopping for.
Should I wire these LEDs in series or parallel from the existing LEDs
in the case or should I keep the extended LEDs remote from the existing
LEDs? Can I use multiple LEDs on one circuit?
Thanks for your help.
Bobby
You've got two good answers, and I'll take a stab at a
few other details.
First, we need some data to illustrate some points. This
is data for some HP (Agilent?) LEDs I snagged a while back.
Part_Num Tech Color Lambda Vf_(forward_voltage_drop)
HLMP-K101 AlGaAs Red 637nm 1.8volts
HLMP-1321 GaP Red 626nm 1.9volts
HLMP-1401-E0000 GaP Yellow 585nm 2.0volts
HLMP-1521 GaP Green 569nm 2.1volts
HLMP-K640 GaP Green 560nm 2.2volts
HLMP-DS25-R0000 InGaN Blue 470nm 3.6volts
HLMP-KB45-N0000 GaN Blue 462nm 4.0volts
I took my spare old motherboard, and measured the resistor used
to drive one of the LEDs. This is a simplified view of the
circuit. It looks like Kony's board had a 150 ohm resistor.
+5V
| current = (5V - Vf) / 220
|
220 ohm let's use a HLMP-K101 LED
resistor
| current = (5V - 1.8V) / 220 = 14.5 mA
| +
LED Should be detectably bright.
| -
|
|
GND
The first thing to note, is the LED won't light, until the
applied voltage approaches Vf. The current goes exponential on
you after that, so if you connect the 1.8V LED above, directly
to the 5V supply, there is a bright flash and then it's dead.
That is the purpose of the series resistor - it limits the current
flow.
So, the LED V-I response is some kind of curve, and the assumption
that it "lights at exactly Vf" is a simplification.
Simply buying LEDs rated as "high efficiency" should be good
enough to avoid the super cheap "dud" LEDs. You want a LED that
can handle the current the circuit will be supplying. In my
sample motherboard above, the current is 15mA, and a 50mA max
LED should do nicely.
Now, let's try to do a series connection for the LEDs.
I'll draw this circuit side ways to save space.
+ - + -
+5V --- 220_ohm ------ LED1 ------ LED2 ------- GND
1.8V 1.8V
Red color Red color
current = ( 5V - 1.8 - 1.8 ) / 220 = 6.3 mA
The current has dropped, due to the additive effects of the
two LEDs Vf in series. If the engineer designing the motherboard
knew the user would do this, then he would have put a 100 ohm
resistor on the motherboard. With that resistor choice, and
the two LEDs, the current would be 14 mA again. As end_users,
we don't have the luxury of changing the resistor.
The next experiment, is to put a red LED and a blue LED in
series.
+ - + -
+5V --- 220_ohm ------ LED1 ------ LED2 ------- GND
1.8V 3.6V
Red color Blue color
Oops ! Now neither LED lights. The sum of the two Vf of the
LEDs is more than 5V. Neither LEDs minimum forward drop is
being met.
Similarly, from this thought experiment, you can see that if
only one blue LED is inserted in the circuit, the current
will not be as great. Whether this results in a brighter or
dimmer perception to the user, really depends on the efficiency
of the LED, and how receptive the human eye is to different
wavelengths.
Now, we'll try the parallel LED connection. First we'll
mix a blue and a red LED into our circuit.
+5V
| current = (5V - Vf) / 220
|
220 ohm
resistor
|
+------------------+ Oops! The red one
| + | + lights, and the blue
red LED 1.8V blue LED 3.6V one doesn't.
color | - color | -
| |
| |
GND GND
Darn! That blue LED again! In this case, the red LED Vf
requirement is met first. If the voltage rises above Vf,
the red LED is in its exponential region -- it hogs all the
current. The node at the top of the two LEDs never even
gets close to the 3.6V the blue LED needs. This "current
hogging" problem will plague us, even when we use two
red LEDs in the circuit, in parallel.
LED manufacturers offer to "match" LEDs. At the factory, certain
lines of LED product are sorted into "bins". Two LEDs of the
same color, will match characteristics to within some percentage.
This is important when building display devices that happen to use
that lousy circuit above. If we order a bag of matched
LEDs, then the intensity of two LEDs in parallel, will be
close to being the same.
Well, what else could we do ? Say we use two LEDs, one being
red and the other one being deep_red. The first one has a
Vf of 1.9V and the second one a Vf of 1.8V. How do I know which
color has which Vf ? The slope of the line that relates forward
voltage to color, happens to have Plancks constant as part of
the equation. Physicists would way "E = h * v" where the v is
pronounced "nu". That is how I can predict that the deep_red
LED has a lower voltage drop than the simple red LED. And,
that also allows me to predict that the blue LED will be a pig
to work with, even without data from HP/Agilent.
+5V
| current = (5V - Vf) / 220
|
220 ohm
resistor
|
+------------------+
| |
| trimming
| resistor
| |
| + deep | +
red LED 1.9V red LED 1.8V
color | - color | -
| |
| |
GND GND
Well, how do we figure out the value of the trimming resistor ?
First, we take the right hand LED out of the circuit.
With the Vf of 1.9V, the current is (5 - 1.9)/220 = 14ma.
Now, we put the right hand LED and trimmer resistor back.
The trimming resistor has 1.9 - 1.8 = 0.1 volts across it.
We want roughly half the current in each LED.
R_trim = 0.1V / 0.007A = 142 ohms.
(Note - the above calculation and method would not pass the
scrutiny of my electronics instructor. Please forgive me --
I have sinned. Some linear equations with non-linear diode
terms might have satisfied my instructor, but would obscure
the principle I'm trying to demonstrate.)
If we put a 1K ohm potentiometer (variable resistor) as the
trimming resistor, we turn the knob until the brilliance is
matched. We can dial the pot from end to end of its travel,
and nothing in the circuit will burn. If we put the trimming
resistor in the 1.9V side of the circuit, what happens ?
(Hint - the deep red LED wins...)
Since the characteristics of the two LEDs will not be
matched (one is AlGaAs, the other GaP), as the temperature
changes in the room, an inperceptable change in brilliance
will occur.
If we put trimming potentiometers on both sides of the
circuit, we'll achieve some degree of adjustment, but
probably the end_user won't be too impressed with the
results (after all, we split the 14ma current in two,
so at the best of times, each LED is at half the brilliance
it used to have).
Moral of this story ? Disconnect the LEDs in the computer,
and only connect your two remote LEDs. No maths needed,
just buy a couple high efficiency red LEDs. If they don't
light, reverse the connection of the LED to the motherboard
header. That is why the LEDs in my drawings above have the
polarity shown. Anode = plus, cathode = minus. Anode is the
"triangle" part of the LED symbol, cathode is the "bar".
In the datasheet, notice the cathode leg is shorter. The
plastic on the LED body, may have a "flat" spot, which is
also an indicator of polarity.
http://www.home.agilent.com/cgi-bin...NT_KEY=HLMP-1321&ID=HLMP-1321&COUNTRY_CODE=US
Datasheet (5989-2809EN.pdf -- HLMP-1321):
http://www.home.agilent.com/cgi-bin...YPE=LitStation&CONTENT_TYPE=AGILENT_EDITORIAL
Have fun,
Paul