xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
6 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> How To Find Which Resistor(s) You Need For Leds, This should be pinned...
EvilWays
post Jun 3 2003, 08:57 AM
Post #1


X-S Freak
*****

Group: Members
Posts: 1333
Joined: 12-February 03
From: Wisconsin
Member No.: 23581
Xbox Version: none
360 version: v3.0 (falcon)



I've been seeing a lot of questions regarding which resistor(s) they need for a project using LEDs. Here are two formulas to use to figure out just what you need.

First, you need to know the resistance needed. For this, you need Ohm's Law.

(Vs-Vf)/If=R

where:

Vs = Source Voltage (either 3.3v, 5v, or 12v)
Vf = Forward Voltage (almost always stated on the package)
If = Forward Current (usually 20-30mA, stated as 0.02 to 0.03 in the formula)
R = Resistance in Ohms

For example, a 2.1v, 20mA LED using a 5v power source would figure like this:

(5-2.1)/0.02=R
2.9/0.02=R
R=145 Ohms

Use this number as a rough guide and purchase the resistor(s) that is the next highest value of R (in this case, I believe it'd be 170 ohms).

You also need to know what Watt rated resistor you need.

P=If*(Vs-Vf) <--- Power Law
P = Power in Watts
If = Forward Current from the previous formula
Vs-Vf = what you used in the previous formula also

Continuing with the example:

P=0.02*2.9
P=0.058 watts

If P <= 0.25, then use 1/4 Watt rated
If P > 0.25 but <= 0.5 use 1/2 Watt rated
If P > 0.5 then use 1 Watt rated

Using these numbers will help you purchase the resistor(s) you will need for a project working with LEDs.

*UPDATE*

Here's an update to an old post (for what it's worth)...calculating for parallel and series-wired LEDs.

Parallel-wired LEDs maintain the same Vf, but the If increases for each LED in parallel (e.g., two 20mA LEDs in parallel would use .04 for If), making it more or less IfT=If1+If2+etc.

Series-wired LEDs maintain the same If, but the Vf increases for each LED in series (e.g., two 2.1VDC LEDs in series would use 4.2 for Vf), making it more like VfT=Vf1+Vf2+etc.

This post has been edited by EvilWays: Oct 23 2004, 11:03 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
w m z
post Jun 3 2003, 09:15 AM
Post #2


X-S Hacker
******

Group: Members
Posts: 2378
Joined: 16-August 02
From: russia
Member No.: 2702



EvilWays,

Nice post, Nice tits tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
BEClueless
post Jun 3 2003, 11:18 AM
Post #3


X-S Senior Member
**

Group: Members
Posts: 252
Joined: 18-April 03
Member No.: 32905



that's alot of work... this thread should be pinned:
http://forums.xbox-scene.com/index.php?act...,and,calculator
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dankbud
post Jun 3 2003, 04:14 PM
Post #4


X-S Freak
*****

Group: Members
Posts: 1094
Joined: 29-May 03
From: Im a mASShole
Member No.: 40951
Xbox Version: v1.1
360 version: v1 (xenon)



Just use this calculator, no need to do any math. it does it for u biggrin.gif Click Here
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EvilWays
post Jun 3 2003, 06:25 PM
Post #5


X-S Freak
*****

Group: Members
Posts: 1333
Joined: 12-February 03
From: Wisconsin
Member No.: 23581
Xbox Version: none
360 version: v3.0 (falcon)



Puh-leeze, it's simple math really. Are you telling me that you can't do simple subtraction, multiplication and division?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Dankbud
post Jun 3 2003, 07:09 PM
Post #6


X-S Freak
*****

Group: Members
Posts: 1094
Joined: 29-May 03
From: Im a mASShole
Member No.: 40951
Xbox Version: v1.1
360 version: v1 (xenon)



QUOTE (EvilWays @ Jun 3 2003, 08:25 PM)
Puh-leeze, it's simple math really. Are you telling me that you can't do simple subtraction, multiplication and division?

LOL! Im too much of a stoner to actually want to think about math and shit. the calculator is 10x easier and faster..... im not saying i cant do it, im saying i dont feel like doing it. unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
EvilWays
post Jun 3 2003, 07:25 PM
Post #7


X-S Freak
*****

Group: Members
Posts: 1333
Joined: 12-February 03
From: Wisconsin
Member No.: 23581
Xbox Version: none
360 version: v3.0 (falcon)



That calculator is really doing nothing more than Ohm's Law, it doesn't even determine what watt rated resistor you need (makes a big difference between a working circuit or a small pyro show as resistors pop (tho making cylindrical capacitors pop are better biggrin.gif ) for some circuits).

This post has been edited by EvilWays: Jun 3 2003, 07:28 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
jcrack_corn
post Jun 4 2003, 02:45 AM
Post #8


X-S Enthusiast


Group: Members
Posts: 1
Joined: 27-May 03
Member No.: 40659



the diodes have a voltage drop also so you probably dont need resistors when using a higher current LED (~50ma) in a 5v circuit.......(a 3.5v led would need a 30ohm resistor, but the LED itself will drop the voltage enough in that case so that the resistor is overkill)...i've never had one die on me like this in the past 10 years (esp for momentary on, like HDD lights)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
chasehbrammer
post Jun 4 2003, 06:27 AM
Post #9


X-S Enthusiast


Group: Members
Posts: 15
Joined: 31-May 03
Member No.: 41408



Ok, I got my lights all working, my case all dremeled and unglued. I have even added a toggle switch to turn the lights on/off. But I had to go through some testing....However, I took out the resister in the process of this testing, and got them to work, but when I feel the diode pins, they are somewhat hot. Is this normal and should I just stay the same? Or do I need to put on a resistor? here are some specs

using 12v harddrive power supply
4 - 5 mm 3.7 volt/20ma

I used the calculator provided as ended up with a 470k-ohm resistor.

What I am asking:
1. Is it normal for the diode pins to be somewhat hot to the touch?
2. If I do put on a resistor, will a 470-ohm do the trick?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TykSak
post Jun 4 2003, 08:55 AM
Post #10


X-S Freak
*****

Group: Members
Posts: 1163
Joined: 6-March 03
From: Aabybro, Denmark
Member No.: 26322
Xbox Version: v1.4



QUOTE (chasehbrammer @ Jun 4 2003, 08:27 AM)
using 12v harddrive power supply
4 - 5 mm 3.7 volt/20ma

How did you hook them up? series or parallel?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
chasehbrammer
post Jun 4 2003, 02:04 PM
Post #11


X-S Enthusiast


Group: Members
Posts: 15
Joined: 31-May 03
Member No.: 41408



I dont know what it is called but I will try to explain it.

It looks kind of like a round daisy loop chain. I am guessing that this means it is a series?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Exobex
post Jun 4 2003, 02:33 PM
Post #12


X-S Hacker
******

Group: Members
Posts: 2061
Joined: 7-January 03
Member No.: 17012
Xbox Version: none
360 version: none



Connect them in series. 12V goes to one end of resistor, other end of resistor goes to one end of LED, other end of LED goes to ground/0V.

470Kohm seems a bit high, let's see...

12 volts (supply) - 3.7 volts (volt drop of LED) = 8.3 volts
Current required = 20mA = 0.02 amps

8.3 volts divided by 0.02 amps = 415 ohms

A 470 ohm resistor will run the LED at 17.6mA, that'll be fine.

Colour code (4 band): yellow, violet, brown, whatever
Colour code (5 band): yellow, violet, black, black, whatever
The last band doesn't matter (gold would be 5% tolerance, for example)

FYI:-
4-band colour code is: 1st digit, 2nd digit, no. of zeroes, tolerance
5-band colour code is: 1st digit, 2nd digit, 3rd digit, no. of zeroes, tolerance

Colour code:-
0 black
1 brown
2 red
3 orange
4 yellow
5 green
6 blue
7 violet
8 grey
9 white

Tolerance code is different, you've got 5% gold, 10% silver and various others.
Gold or silver as the multiplier (no. of zeroes) indicates a low value, such as 1.2 ohms or 0.12 ohms.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
chasehbrammer
post Jun 5 2003, 03:15 AM
Post #13


X-S Enthusiast


Group: Members
Posts: 15
Joined: 31-May 03
Member No.: 41408



Thanks for the thread on this guys, I successfully got my LED light installed biggrin.gif Once my new jewel comes I will post some pics of it!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
enuf
post Jun 7 2003, 03:07 AM
Post #14


X-S X-perience
**

Group: Members
Posts: 303
Joined: 26-April 03
From: NW Oklahoma
Member No.: 34425
Xbox Version: v1.0
360 version: none



And no questions about anything?? Hmmm.... Sounds like u just hooked up the 12v to the led's.. sure hope u didn't......... if you did tho and it works.. and nothing smoked (heh) ummm your going to screw something up in the long run. Or the short run. It will send to much power to ur led and possibly your xbox. Get a resistor. Your led will last longer and ur xbox won't be a gift to the trashman.

And if i'm wrong... GJ I plan on lighting my box up once I get my modchip in. (I was quite fluent in the newbie talk... I got a gen A modchip for my first chip.. damn I was stupid)

. . .
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
neolithic
post Jun 17 2003, 08:07 PM
Post #15


X-S Senior Member
**

Group: Members
Posts: 182
Joined: 12-September 02
Member No.: 3714
Xbox Version: v1.0



I don't want to make an arse of myself but i'm afraid i'll have to risk it. If i'm replacing the eject button leds, with some 3mm bi-color (or even tri) do i need to add resistors or can i just replace the leds in there with ones i want. Thanks and sorry in advance.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





6 Pages V  1 2 3 > » 
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 19th May 2013 - 01:38 AM