Registrations

We now manually approve all new user accounts due to a large influx of spam bots. Accounts are normally approved within 48 hours.

If you need any help with using this Wiki, please ask here: TalkFord.com Wiki Submission Forum

Difference between revisions of "Calculating LED Resistor Values"

From www.FordWiki.co.uk
Jump to: navigation, search
(New page: == Calculating LED Resistor Values == If you want to use a standard LED (as opposed to an automotive 12V LED) in a vehicle, you'll need to use a series resistor to prevent it burning out ...)
 
m (Added constant current circuit)
 
(7 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
"12V" LEDs come with the resistor moulded into the case.
 
"12V" LEDs come with the resistor moulded into the case.
  
=== LED specifications ==
+
== LED specifications ==
  
 
LEDs have just two really important parameters for this calculation:
 
LEDs have just two really important parameters for this calculation:
Line 21: Line 21:
 
The current drawn by an LED varies wildly over a small range of voltages, as it is a semiconductor. By using a series resistor, we "damp out" this sensitivity to voltage.
 
The current drawn by an LED varies wildly over a small range of voltages, as it is a semiconductor. By using a series resistor, we "damp out" this sensitivity to voltage.
  
=== The calculation ===
+
== The calculation ==
  
We want our series resistor to drop the excess voltage (supply minus the LED forward voltage) and pass the LED's rated current. Simple Ohm's law stuff - here's an example for the 2.5V, 20mA resistor above, running off a 12V supply:
+
We want our series resistor to drop the excess voltage (supply minus the LED forward voltage) and pass the LED's rated current (horribly over-simplified, but it works). Simple Ohm's law stuff - here's an example for the 2.5V, 20mA resistor above, running off a 12V supply:
  
Resistance = (Voltage / Current) = (12V - 2.5V / 0.02A) = 475 ohms
+
Resistance = (Voltage / Current) = ((12V - 2.5V) / 0.02A) = 475 ohms
  
Choose the closest available standard resistor value: here, 470 ohms.
+
Choose the closest available standard resistor value: here, 470 ohms. Don't go much smaller than the value you calculate, but you can go significantly larger to be safe, although that'll cost you a bit of brightness.
  
=== Complications ===
+
== Complications ==
  
==== Vehicle voltage ====
+
=== Vehicle voltage ===
  
 
Vehicle voltage is only nominally 12V, and typically runs higher than that. It'd be wise to use 14V or 15V in the above equation, giving 575 or 625 ohms respectively. Err on the side of caution (larger values) unless you need to wring every last lumen out of the LED.
 
Vehicle voltage is only nominally 12V, and typically runs higher than that. It'd be wise to use 14V or 15V in the above equation, giving 575 or 625 ohms respectively. Err on the side of caution (larger values) unless you need to wring every last lumen out of the LED.
  
==== Resistor power rating ====
+
=== Resistor power rating ===
  
 
Because of the relatively large voltage drop across the resistor, it'll actually dissipate quite a large amount of power. At 14V, the 575 ohms resistor will be dropping 11.5V at 20mA, which is 230mW (voltage times current). A standard 1/4W resistor will get quite hot, and if it's wrapped in heatshrink or tape, or put in an enclosed space, may fail or burn stuff.
 
Because of the relatively large voltage drop across the resistor, it'll actually dissipate quite a large amount of power. At 14V, the 575 ohms resistor will be dropping 11.5V at 20mA, which is 230mW (voltage times current). A standard 1/4W resistor will get quite hot, and if it's wrapped in heatshrink or tape, or put in an enclosed space, may fail or burn stuff.
  
Get around this by using multiple resistors - they add up in series, or average in parallel. For example, to make 600 ohms, you could use three 200 ohms resistors in series or three 1.8k ohm resistors in parallel. Space them out to improve heat dissipation.
+
Get around this by using multiple resistors - they add up in series, or divide in parallel (if they're all the same). For example, to make 600 ohms, you could use three 200 ohms resistors in series or three 1.8k ohm resistors in parallel. Space them out to improve heat dissipation.
  
[[Category: Tips]]
+
== Alternative ==
[[Category: Electrical]]
+
 
 +
Alternatively, you can do it properly with a constant current source:
 +
 
 +
[[Image:Ccr.png]]
 +
 
 +
 
 +
[[Category:Capri_Mk1]]
 +
[[Category:Capri_Mk2]]
 +
[[Category:Capri_Mk3]]
 +
 
 +
[[Category:Cortina_Mk1]]
 +
[[Category:Cortina_Mk2]]
 +
[[Category:Cortina_Mk3]]
 +
[[Category:Cortina_Mk4]]
 +
[[Category:Cortina_Mk5]]
 +
 
 +
[[Category:Cougar_Mk1]]
 +
 
 +
[[Category:C-Max_Mk1]]
 +
[[Category:C-Max_Mk2]]
 +
 
 +
[[Category:Escort_Mk1]]
 +
[[Category:Escort_Mk2]]
 +
[[Category:Escort_Mk3]]
 +
[[Category:Escort_Mk4]]
 +
[[Category:Escort_Mk5]]
 +
[[Category:Escort_Mk6]]
 +
 
 +
[[Category:Fiesta_Mk1]]
 +
[[Category:Fiesta_Mk2]]
 +
[[Category:Fiesta_Mk3]]
 +
[[Category:Fiesta_Mk4]]
 +
[[Category:Fiesta_Mk5]]
 +
[[Category:Fiesta_Mk6]]
 +
[[Category:Fiesta_Mk7]]
 +
 +
 
 +
[[Category:Focus_Mk1]]
 +
[[Category:Focus_Mk2]]
 +
[[Category:Focus_Mk3]]
 +
 
 +
[[Category:Fusion_Mk1]]
 +
 
 +
[[Category:Galaxy_Mk1]]
 +
[[Category:Galaxy_Mk2]]
 +
[[Category:Galaxy_Mk3]]
 +
 
 +
[[Category:Granada_Mk1]]
 +
[[Category:Granada_Mk2]]
 +
[[Category:Granada_Mk3]]
 +
 
 +
[[Category:Ka_Mk1]]
 +
[[Category:Ka_Mk2]]
 +
 
 +
[[Category:Kuga_Mk1]]
 +
 
 +
[[Category:Mondeo_Mk1]]
 +
[[Category:Mondeo_Mk2]]
 +
[[Category:Mondeo_Mk3]]
 +
[[Category:Mondeo_Mk4]]
 +
 
 +
[[Category:Puma_Mk1]]
 +
 
 +
[[Category:S-Max_Mk1]]
 +
 
 +
[[Category:Sierra_Mk1]]

Latest revision as of 04:49, 26 July 2011

Calculating LED Resistor Values

If you want to use a standard LED (as opposed to an automotive 12V LED) in a vehicle, you'll need to use a series resistor to prevent it burning out immediately. Here's the information you need to help you work out what value to use.

"12V" LEDs come with the resistor moulded into the case.

LED specifications

LEDs have just two really important parameters for this calculation:

  • Forward voltage (Vf), typically around 2.5V
  • Rated current (If), typically around 20mA

Often, you'll see the maximum current specified, with the rated brightness at a lower current. For example:

  • Maximum current: 25mA
  • Typical brightness: 1000mcd (at 20mA)

It's the figure in brackets you need.

The current drawn by an LED varies wildly over a small range of voltages, as it is a semiconductor. By using a series resistor, we "damp out" this sensitivity to voltage.

The calculation

We want our series resistor to drop the excess voltage (supply minus the LED forward voltage) and pass the LED's rated current (horribly over-simplified, but it works). Simple Ohm's law stuff - here's an example for the 2.5V, 20mA resistor above, running off a 12V supply:

Resistance = (Voltage / Current) = ((12V - 2.5V) / 0.02A) = 475 ohms

Choose the closest available standard resistor value: here, 470 ohms. Don't go much smaller than the value you calculate, but you can go significantly larger to be safe, although that'll cost you a bit of brightness.

Complications

Vehicle voltage

Vehicle voltage is only nominally 12V, and typically runs higher than that. It'd be wise to use 14V or 15V in the above equation, giving 575 or 625 ohms respectively. Err on the side of caution (larger values) unless you need to wring every last lumen out of the LED.

Resistor power rating

Because of the relatively large voltage drop across the resistor, it'll actually dissipate quite a large amount of power. At 14V, the 575 ohms resistor will be dropping 11.5V at 20mA, which is 230mW (voltage times current). A standard 1/4W resistor will get quite hot, and if it's wrapped in heatshrink or tape, or put in an enclosed space, may fail or burn stuff.

Get around this by using multiple resistors - they add up in series, or divide in parallel (if they're all the same). For example, to make 600 ohms, you could use three 200 ohms resistors in series or three 1.8k ohm resistors in parallel. Space them out to improve heat dissipation.

Alternative

Alternatively, you can do it properly with a constant current source:

Ccr.png