View Full Version : Installing LEDs
SinCrisis
09-10-2010, 11:11 AM
Hey all,
I want to install LED lights for the HD activity and power lights for a case and I was wondering how I would go about wiring it? This is probably a dumb question, but I honestly have no wiring experience. The LED lights im looking at all have molex connectors but not the two wires i see on the original activity LED lights.
slaveofconvention
09-10-2010, 05:09 PM
You have a couple of issues to overcome, depending on how many leds and hard disks you're going to be using. If you simply want a couple of leds in place of the original then its pretty simple. If you want whole arrays of leds then you're going to need a couple of extra parts. Wiring too many leds direct to the motherboard header can damage the board due to excessive power draw. A simple circuit using a fast relay will let you run an almost unlimited amount of lights. If you want different lights for different drives, things get more complicated and potentially much more expensive. A little more info please?
mDust
09-11-2010, 08:44 AM
The LED lights im looking at all have molex connectors but not the two wires i see on the original activity LED lights.
Cut the molex connectors off and wire it up to one of these (http://www.mnpctech.com/2_PIN_Mobo_Motherboard_Connector_Wire.html).
Or, if you still have the original, cannibalize it and wire the new LED to that. Make sure you plug it on the right pins. If the LED doesn't seem to be working, flip the plug around. LEDs are polar and will only work one way.
EDIT: Another thought: If the LEDs are originally molex powered, make sure they run fine at 2.6-3v...if not, find some that do.
SinCrisis
09-13-2010, 10:51 AM
Well, i want two small LED Strips, kinda like these (http://www.frozencpu.com/products/6429/ele-303/FrozenCPU_7-Spread_Lazer_LED_Light_-_Blue.html?tl=g6c77s121) to blink and light up in place of the original LEDs, so the only harddrive activity blinking would be from the main hdd that you would normally use for the original case LEDS. I dont trust myself with any additional mobo tinkering, i think i am not experienced enough and would damage the board. Could i keep the molex on to provide the extra power and wire it so the motherboard sends the signals to turn on/off?
mDust
09-13-2010, 11:48 AM
Could i keep the molex on to provide the extra power and wire it so the motherboard sends the signals to turn on/off?
Disclaimer: I'm not all that handy with electronic circuits.
I don't think you can just wire something like that. You'd need a switch of some sort. The switch would be powered from the 3v HDD Activity header and it would open and close the molex circuit as necessary.
slaveofconvention
09-13-2010, 02:49 PM
You'll need a relay but it really isn't a complicated thing to set up. You need the kind of relay with 4 contacts (SPST - Single Pole, Single Throw) - 2 of them are the trigger, the other two are the open/closed contact. All you do is cut off the existing hdd led and wire it to the two contacts which trigger the relay, and then wire the other two contacts between the power source and the led strips. I'll get some more specific info and post an image to make this a little clearer....
SXRguyinMA
09-13-2010, 06:22 PM
and make sure you get a 3v relay as well
Konrad
09-13-2010, 08:05 PM
If I understand this right,
- an LED bar (~20mA per LED, wired in parallel), +12V molex power
- on/off signal coming from mobo, +5V HDD-activity LED header
... I don't think an electromechanical relay switch is the best choice. A switching transistor (rated at least 5V/1A) would be better. Higher efficiency, longer life, no clicky noises, cheaper.
Briefly explained here (http://www.rason.org/Projects/transwit/transwit.htm) and here (http://answers.yahoo.com/question/index?qid=20061210050244AAfA9pY), many schematics found on google (http://www.google.ca/#num=100&hl=en&safe=off&q=hdd+activity+led+schematic).
Regardless which switch you use, 2 tips:
1) wire a discrete resistor to each LED to equalize power distribution
2) attach a variable resistor in line to all the LEDs to allow brightness control (wiring from the pot dial can be drawn to the front of the case if you like)
SinCrisis
09-14-2010, 10:03 AM
Oh wow, this is way more complicated than i expected, i dont know what half of these parts are or how they work...
I read the links, and i have a few questions:
Wont using the transistor then make me use more power than necessary?
Where do I find these parts?
What are there risks if I set this up incorrectly? ie will it fry my leads, board, or leds?
Konrad
09-14-2010, 12:24 PM
Wont using the transistor then make me use more power than necessary? Where do I find these parts? What are there risks if I set this up incorrectly? ie will it fry my leads, board, or leds?
Aha, well ... explaining all about electronics and transistors might take too long. If you're comfortable using relays then go ahead, it should work fine, there's no requirement that you engineer a circuit beyond your present electronics knowledge.
Here (http://forums.xbox-scene.com/index.php?showtopic=489248)'s a working circuit which can drive 9-10 LEDs from the mobo. Absolutely no risk of damaging the mobo; it even uses an optocoupler to be electrically isolated. (I think the optocoupler was used to allow the designer the option of safely using +12V/inverter CCFL lighting instead of +5V LED bars.)
- JP2 is the mobo HDD LED header, only connect pin1 and pin2 (pin 3 unused in this application, the +5V comes from a PSU molex); if you plug them in backwards then the LED circuit just won't work until you plug it in correctly. The simplest way to build the circuit might be to connect all the GND lines together, either on the circuit backplane or directly to the LED-gizmo's "chassis".
- Parts are all fairly common. You can buy them locally (for about $3-5 maybe), order online, or salvage them.
BC549 is just an NPN transitor, a 2N3906 would work as well.
4N25 is the optoisolator; not strictly necessary but soothes paranoia. This will be the part that suffers the most electrical "strain", ie: it'll be the "fuse" which fails before anything else.
LM3914 is the LED driver (with integrated resistors); again, not strictly necessary if your LEDs are already integrated into a single block. (The LM3914 is designed to run "graph style" LED bars.)
Switching latency at these voltage levels are ~10ms, you won't notice it visually. Power consumption by these parts is ~25mA when active (plus 10-20mA per LED).
SinCrisis
09-14-2010, 03:37 PM
I saw that from your google link, it looks super complicated... My knowledge of electrical things is nearly nonexistent, I'm not even comfortable with circuits. I was hoping for some straightforward solution like wire mobo to something and then wire something to LEDS, and then LEDS back to mobo...
Konrad
09-14-2010, 04:46 PM
Hmmm. I remember these things used to be sold as modding accessories, but I just can't find any online. I think that desktop HDD indicators are dying off, especially in this age of SATA and decent software monitoring; a terrible shame (I would prefer each and every drive has it's own LED, lol).
A not-too-difficult option would be to buy some kind of sound-activated light module (like this (http://www.crazypc.com/products/823910.html)); you could wire your mobo LED headers into the device (replacing the audio sensor), you could replace the LEDs with whatever bunch you prefer (within limits), the LED bank doesn't have to be mounted on/in the unit itself.
Here's a variation of the circuit described in my above post.
q5PHsPmVRGM
[Edit: link here (http://www.modding.fr/forum/viewtopic.php?t=360) for detailed circuit description and schematics, construction notes, and worklog.]
[Edit 2: Ç'est un joli projet en Français, sorry. There's always google translate ... it's somewhat English-readable anyhow (lol, except in French: LEDs are called DELs, IC is CI, and vert/jaune/rouge are green/yellow/red).]
And here (http://www.bit-tech.net/modding/guides/2002/06/23/hdd_activity_meter/1) is a link to yet another variation, again with details and schematic.
You really can't reduce the electronics complexity much beyond this to get the effect I think you're trying to get, whether you want your LEDs to light up as a single unit or as a bar graph. Notice that the important parts (LM3914 and associated components) are always the same. This is about as easy as it's going to be without just buying a premade accessory. Maybe the other guys here can explain their relay idea.
A more complex variation (scanning "Knight Rider" style) here (http://www.bit-tech.net/modding/2002/06/22/knight_rider/1). And of course a programmable controller can do just about anything you like, though it would require detailed electronics knowledge.
SinCrisis
09-16-2010, 10:37 AM
I want the entire small bar to light up. I want to put this behind plexi so when the HDD is active the light will flash and the silhouette i have on the plexi will become visible with a kind of strobe lightish style. The reason i need the LED bar is because the original LEDs with the case are very old and dim so its not bright enough.
Konrad
09-16-2010, 12:03 PM
Okay, this is probably your best approach.
http://linear1.org/i/opto2.gif
The 6-pin part on the left is a 4N27 optoisolator ... it is basically a matched photodiode and phototransistor in a single package. Because of the optoisolator there is no chance of damaging your mobo, even if you reverse any of the connectors or parts. Still, be careful to ensure that you connect the 4N27 correctly: pin-1 (or the closest corner) is always somehow marked differently from all the others on an IC; in this diagram pin-1 = pin-A and is marked by the semicircular divot at the top of the IC - there are many different 4N27 parts and they might have different pin designations, always use datasheet pinout for the exact part you obtain. The 4N27 itself consumes virtually no power (aside from miniscule capacitive losses).
There are many 6-pin (DC) optocoupler/optoisolator devices. Some listed here (http://www.classiccmp.org/rtellason/optos.html). Pretty much any of them could be used in this sort of low-power application, more robust parts (which cost a little more) can handle 1A or more.
In this circuit, everything to the left (ie, the mobo) is electrically isolated from everything on the right (3 LEDs being driven by a separate 5V source), the transistor in the 4N27 is used as the "switch" - the presence of a (5V) signal between the A- and K-pins opens the circuit between C- (collector) and E- (emitter) pins. Assuming the 5V comes from a molex connector (red wire), all the grounds on the right side of the circuit (including the unused B-pin) should be connected into the molex black wire. Or both black wires, to ensure extra fault tolerance. The last pin (on the left) is unused in this circuit, do not connect it to anything. Your PSU should be able to drive many many LEDs (unless it's already very sick, lol); as long as you properly ground the circuit (with the black wires) there's really no chance of the PSU being damaged, although you can blow your LEDs with too much voltage (they never flame, mostly they just "pop" inside their plastics) and you can cook the 4N27 if you force it to conduct too much power (30V/100mA=3W input or output, 5300V isolation). You can even use these same parts in a 12V circuit (though then you'd need some extra resistors and maybe some cooling on the 4N27) or you can adapt these parts to all sorts of "activity" triggered circuits, such as adding a 5V fan to cool your HDD when it's active, etc.
Use a separate molex (any standard 4-pin, even floppy connector) for this. Do not attempt to splice into the mobo 20-pin/24-pin ATX power connectors (or even use an unconnected 4-pin 12V mobo connector) unless you really know what you're doing; doing so will no longer isolate this circuit from the mobo. You could use separate battery power if you like, or even a separate PSU (with proper grounding).
Switching time is ~2.5µs, meaning it might not turn the LEDs on/off fast enough to indicate brief flickers of activity, although this would be undetectable by the human eye. The 4N27 isn't rated for high-frequency (>1kHz) operation, so this sort of circuit isn't suitable for monitoring SATA drive activity.
The value of R is important; higher R values allow less voltage (LEDs will be dimmer), lower R will allow more voltage (LEDs will be brighter), too high (too bright) will shorten the life of the LEDs or burn them out entirely. In this circuit, LEDs are shown wired in parallel; you can calculate the value of R using an LED Resistor Calculator (http://www.hebeiltd.com.cn/?p=zz.led.resistor.calculator). You'll need to know the forward voltage drop (Vf) for your LEDs (different for each type/colour); if you don't have a part spec/datasheet then you can use a chart like this (http://www.oksolar.com/led/led_color_chart.htm) or use a meter to measure the voltage drop in a powered circuit. It's not critical to get precise values and you can experiment a bit to "tune" a fixed brightness level you prefer, just be conservative so you don't burn the LEDs with overvoltage. If they start getting warm/hot then you're approaching (or exceeding) their "safe" limits. LEDs are basically very tiny semiconductors built into big plastic "lens" enclosures; when they get hot they don't have enough surface area to cool down and so they "pop" and cease conducting forever. Note that resistors are also rated for wattage; they basically waste power (as heat) and get warm/hot, you need to ensure your chosen resistor can handle the expected wattage (1/2 Watt should be fine, higher is always better).
You can use as many LEDs as you like (within limits) as long as you change the value of R. If you use some sort of bank/module which contains a number of LEDs then you'll have to know the Vf and current (mA) ratings of the entire unit. Most generic LEDs are 5mm ("tombstone") rounded cylinders; typical values for Red are 1.8-2.0V @ 20-30mA, Green/Yellow/Amber/Orange 2.0-2.2V @ 20-30mA, Blue/White 3.3-4.5V @ 30mA. I doubt you'll be using IREDs or UVEDs. Low-voltage and superbright LEDs are also available, as are low-power (10mA and 20mA) versions. SMT versions are very tiny and difficult to work with and the extremely high brightness specs (mcd or flux) they advertise cannot be directly compared to "normal" LEDs (brightness ratings are calculated based on emitter surface area, which is scaled very differently for SMT parts).
Cost for a single circuit shouldn't be an issue. You'll need a molex connector, mobo headers (connectors), some wires, and of course all your LEDs - you can cannibalize or salvage these easily. If you pay $0.40 for your 4N27 and $0.10 for your resistor then you've been robbed. :eek:
Hope this helps.
SinCrisis
09-23-2010, 09:58 AM
Thanks Konrad, for this component, will I be able to just pick one up at a home depot? The online sources i found seem to want me to purchase in bulk...
Drum Thumper
09-23-2010, 11:00 AM
I'd personally would give Radio Shack a go.
Konrad
09-26-2010, 06:12 AM
Electronics stores have these sorts of parts. I don't mean consumer electronics (stores that sell TVs, stereos, CDs, DVDs, etc). I mean nerd electronics.
I don't know where you live, but for me some of the local stores are places like RP Electronics (http://www.rpelectronics.com/), Active Tech (http://www.active123.com/), Main Electronics Supplies (http://www.mainelectronics.com/), SMI Electronics (http://www.smi-elec.com/). Like you, I prefer shopping locally whenever possible (and your part list is not at all exotic) ... your local yellow pages and a few phone calls will probably be more useful than searching online, search under electronics "suppliers", "distributors", "industrial", etc. Or ask an electronics nerd where he buys his stuff; Radio Shack is not the first/best destination, just one that's convenient.
Drum Thumper
09-26-2010, 09:54 AM
Radio Shack is not the first/best destination, just one that's convenient.
Agreed. But if you lived where I do, you would realize that if you want to shop locally, it is your only choice.
billygoat333
09-27-2010, 05:44 PM
Agreed. But if you lived where I do, you would realize that if you want to shop locally, it is your only choice.
this. :(
SinCrisis
09-29-2010, 03:48 PM
unfortunately, it seems that radio shack is my closest option and thats at least a 20 minute drive away. People in my area don't DIY... the only hardware store nearby that i knew of was a sears that closed a couple years ago so... i will check radioshack. Why are they a bad option? Will they be over priced?
slaveofconvention
09-29-2010, 04:34 PM
When it comes to specific electronic components, yes they tend to be overpriced, but by the time you pay postage and/or shipping it more than evens out. In my (limited) experience of the stores, the main problem is that the staff don't really know a great deal about the electronic components they have hidden away in a tray somewhere near the back so you may need to go in armed with information and a specific shopping list. There are exceptions to the rule of course, you may find a store with a real electronics geek who just happens to work there, but prepare to be faced by a young kid, fresh out of school, who thinks he knows a bit about televisions and remote controlled toys.....
msmrx57
09-30-2010, 02:37 AM
When it comes to specific electronic components, yes they tend to be overpriced, but by the time you pay postage and/or shipping it more than evens out. In my (limited) experience of the stores, the main problem is that the staff don't really know a great deal about the electronic components they have hidden away in a tray somewhere near the back so you may need to go in armed with information and a specific shopping list. There are exceptions to the rule of course, you may find a store with a real electronics geek who just happens to work there, but prepare to be faced by a young kid, fresh out of school, who thinks he knows a bit about televisions and remote controlled toys.....
This, and they'll try to sell you a cell phone. :no:
Konrad
11-15-2010, 02:11 PM
A little off topic - but I would love to live in Phoenix, AZ. I'm not exaggerating when I say that probably at least one third of all my "special" shopping sources are all located there. It has an even greater special-tech density than SoCal or Texas. A man can dream.
SXRguyinMA
11-15-2010, 09:16 PM
A little off topic - but I would love to live in Phoenix, AZ. I'm not exaggerating when I say that probably at least one third of all my "special" shopping sources are all located there. It has an even greater special-tech density than SoCal or Texas. A man can dream.
I lived there for 18 months. Every time the leaves start turning and the air chills I want to move back :D
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.