Extreme Terrain
4x4Wire Trail Talk Forums: Jeep, Toyota, Mitsubishi, Pajero, Isuzu, Kia, 4WD, 4x4, SUV, Off-Road and OutdoorWire Forums


Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Wiring LEDs, the right way. #762896 11/05/06 12:23 AM
Joined: Aug 2001
Posts: 2,205
BoostedInline6 Offline OP
Body Damage is Cool
I am starting my first LED project--I am wiring eight white LEDs for an ambient footwell lighting project in my 4Runner. Two per side under the front dash panel and two per side under the front seats pointed towards the rear footwells. I plan to use the standard 3.6V 20 mA white LEDs.

This would be one way to do it:
[Linked Image]

However, battery voltage (measured at the dome light, which will trigger the footwell lighting) can vary from 11.9 volts to 14.8 volts. Picking my resistor based on an average of 13 volts means I am pushing only 16 mA with the engine off and overdriving the LEDs at 26 mA with the vehicle running. If I recall correctly, LEDs are pretty dim at 16 mA.

Has anyone ever used a current-limiting regulator like the LM317? Supposedly all I need to balance the circuit correctly is R = 1.25 / I (I being the current in amps). So R = 1.25 / 0.020 amps (two 20 mA LEDs in series per array), which means a 62 ohm resistor and I'm set? This seems too easy. Anyone familiar with this stuff?


2000 4Runner | 5-speed | E-locker | Tundra/OME 2" lift | Stubbs Sliders | Deckplate/TrueFlow |
Re: Wiring LEDs, the right way. [Re: BoostedInline6] #762897 11/05/06 09:56 PM
Joined: Oct 2004
Posts: 6,332
52degrees Offline
Trail Leader
****
I played a little with similar similar devices, but that was a few years ago for an automotive electronics class (A6). I haven't done anything with them since, but if I recall correctly, they really were that simple.

I say buy some red LEDs with similar current requirements and give it a shot (red LEDs are cheap). Use an adjustable power supply to give it up to 17v and down to 9v. Those should be just outside the extremes of expected operation for your rig. If it works for those, it should work great with with your white LEDs. <img src="/forums/images/graemlins/kewl.gif" alt="" />


1990 Montero RS (In pieces... for now)

KG6VNX
Re: Wiring LEDs, the right way. [Re: BoostedInline6] #762898 11/06/06 05:57 AM
Joined: Aug 2001
Posts: 1,520
Robinhood150 Offline
Body Damage is Cool
Ken, you should have taken a look at my rocklights at mammoth. It's almost exactly what you're doing, except I used luxeon 1W LEDs.

http://yotatech.com/showthread.php?t=89847

[Linked Image]

[Linked Image]

I think you found the same webpages I found when I did the research. Have you figured out where that 1.25 value comes from?

Last edited by Robinhood150; 11/07/06 06:37 AM.

Steve
My Website ||Gettin' off 4wheel drive club member
'93 4Runner V6 4x4 auto tranny
If you have to ask about a SAS, you're not ready for it.
Re: Wiring LEDs, the right way. [Re: Robinhood150] #762899 11/06/06 05:03 PM
Joined: Aug 2001
Posts: 2,205
BoostedInline6 Offline OP
Body Damage is Cool
1.25 is the minimum output of the LM317 regulator and it is capable of regulating power up to 37 volts. So basically, the 1.25 is the "overhead" required to run the regulator.

Did you use a regulator, or just current-limiting resistors? If the latter, how much difference in brightness have you noticed with the engine off versus on?


2000 4Runner | 5-speed | E-locker | Tundra/OME 2" lift | Stubbs Sliders | Deckplate/TrueFlow |
Re: Wiring LEDs, the right way. [Re: BoostedInline6] #762900 11/06/06 09:46 PM
Joined: Aug 2001
Posts: 1,520
Robinhood150 Offline
Body Damage is Cool
Oh ok, that 1.25 had been bothering me forever.

I used the LM317. The brightness changed dramatically with only resisters and considering the expense of the luxeons I didn't want to burn them out.

But with normal LEDs I'd recommend just resisters if you can get away with it...it's just a simpler circuit. Run some tests and see how bright they are at lower voltage.


Steve
My Website ||Gettin' off 4wheel drive club member
'93 4Runner V6 4x4 auto tranny
If you have to ask about a SAS, you're not ready for it.
Re: Wiring LEDs, the right way. [Re: Robinhood150] #762901 11/06/06 11:32 PM
Joined: Aug 2001
Posts: 2,205
BoostedInline6 Offline OP
Body Damage is Cool
Oh good, I was hoping to find someone that had experience using the LM317.

My last LED project was illumination of a custom boost gauge in the Supra. I was using 3 white LEDs in series with a resistor, much like the diagram in my first post. Problem was, the guage was barely illuminated with the engine off and the brightness would get noticeably brighter with an increase in engine RPMs. This is what I was hoping to avoid by using the LM317. If you take the voltage, subtract the voltage drop from the LEDs, then divide by the resistor rating in ohms, you can calculate how many milliamps you are running the LEDs. At 11.9 volts (engine off), you get 16.2 mA, well below the recommended 20 mA for this LED. At 14.6 volts (engine on), you're at 26 mA and overdriving the LEDs by almost 28%. This is why their brightness varied so much.

Did you simply use the R=1.25/I formula and throw whatever resistor this equation calculates for each array? (I can't see the LM317 in your pics.)

When you say the brightness varied dramatically, do you mean the LEDs were brighter when you started using the LM317?


2000 4Runner | 5-speed | E-locker | Tundra/OME 2" lift | Stubbs Sliders | Deckplate/TrueFlow |
Re: Wiring LEDs, the right way. [Re: BoostedInline6] #762902 11/07/06 06:36 AM
Joined: Aug 2001
Posts: 1,520
Robinhood150 Offline
Body Damage is Cool
Quote
Did you simply use the R=1.25/I formula and throw whatever resistor this equation calculates for each array? (I can't see the LM317 in your pics.)

When you say the brightness varied dramatically, do you mean the LEDs were brighter when you started using the LM317?


In essence, that's what I did, but I ended up changing it a little for the luxeons. If they were normal LEDs, yeah that would have worked fine. But with luxeons they like 350mA so there's a lot more power going through them. I wired up 2 lux's in series to use up some of the power, but there was still a lot going through the LM317 so both the LEDs and the LM317 heated up pretty good. Near 100C. I ended up throwing another 10 watt resister in series to dissipate the power to more managable levels. That's what the big yellow thing is in the pics. The LM317 is the black thing on the right. Did you look at the link to YT in my first post? There's more pics there.

When I said the brightness changed dramatically, I meant the circuit that used only resisters and no LM317. With the LM317 the LEDs are steady as a rock. There's no noticable change in brightness even when starting the engine.


Steve
My Website ||Gettin' off 4wheel drive club member
'93 4Runner V6 4x4 auto tranny
If you have to ask about a SAS, you're not ready for it.
Re: Wiring LEDs, the right way. [Re: Robinhood150] #762903 11/07/06 10:50 PM
Joined: Sep 2003
Posts: 2,019
ScottFW Offline
Body Damage is Cool
*****
Just gonna throw this in as a suggestion... it's a good idea to put a heat sink on those voltage regulator chips because they can get quite hot otherwise. Those look to me like a TO-220 package, and those are so common that Rat Shack would have a heat sink for them. Otherwise, check Mouser or Digikey.

EDIT: Wooooo, 1000 posts! <img src="/forums/images/graemlins/smile.gif" alt="" /> <img src="/forums/images/graemlins/cheers.gif" alt="" />

Last edited by ScottFW; 11/07/06 10:52 PM.

'85 4Runner (mostly stock) <img src="/forums/images/graemlins/kewl.gif" alt="" /> | '94 Miata <img src="/forums/images/graemlins/smile.gif" alt="" /> | '98 Saturn SC2 <img src="/forums/images/graemlins/rolleyes.gif" alt="" /> | '12 Ford Fusion (wife's company car)
Re: Wiring LEDs, the right way. [Re: ScottFW] #762904 11/09/06 01:44 AM
Joined: Aug 2001
Posts: 1,520
Robinhood150 Offline
Body Damage is Cool
Yeah, I should probably be using a heat sink but so far so good. With the extra resister in there the temp of the LM is down to 60ish deg C.

On a side note, anybody know how I can wire up 3 watt luxeons? I want to make some LED turn signals that only need 1 LED for each side and I think the 3 watt ones will do.


Steve
My Website ||Gettin' off 4wheel drive club member
'93 4Runner V6 4x4 auto tranny
If you have to ask about a SAS, you're not ready for it.
Re: Wiring LEDs, the right way. [Re: Robinhood150] #762905 11/09/06 11:58 PM
Joined: Aug 2001
Posts: 2,205
BoostedInline6 Offline OP
Body Damage is Cool
You should have used something like this for your 1-watt luxeons:
R = 1.25/0.35 (350 mA) = 3.6 ohm resistor. Should be located where it says "3.9 ohms" on the diagram below.

[Linked Image]

I haven't seen the specs for the 3-watt LEDs, but hooking up will be the same as with the 1-watt LEDs. Assuming the forward voltage is 7 volts at 700 mA:
R = 1.25/0.70 = 1.8 ohm resistor is needed.

The part that gets me is forward voltage does not come into play in these calculations. So you ask "how many LEDs can I run in this series?" Two LEDs in series will pull the same current (700 mA) as one LED provided you double the supply voltage. And there's the key, you need to have an adequate supply voltage. With a forward voltage of 7 volts, plus the 2-3 volts of "overhead" required by the LM317 regulator, you can only run one of these 3-watt Luxeons per circuit. You would need about 17 volts to run two 700 mA LEDs. (17 volts - (7 volts X 2 LEDs) - 3 volt LM317 drop).

Given this, looks like you could barely run 3 of the 1-watt Luxeons as they generally have a 3.6 volt forward voltage.


2000 4Runner | 5-speed | E-locker | Tundra/OME 2" lift | Stubbs Sliders | Deckplate/TrueFlow |
Page 1 of 2 1 2

Moderated by  4Crawler, 4x4Wire, Dandeman, kewlynx 







4x4Wire Social:

| 4x4Wire on FaceBook |


OutdoorWire, 4x4Wire, JeepWire, TrailTalk, MUIRNet-News, and 4x4Voice are all trademarks and publications of OutdoorWire, Inc. and MUIRNet Consulting.
Copyright (c) 1999-2019 OutdoorWire, Inc and MUIRNet Consulting - All Rights Reserved, no part of this publication may be reproduced in any form without express written permission
You may link freely to this site, but no further use is allowed without the express written permission of the owner of this material.
All corporate trademarks are the property of their respective owners.

Powered by UBB.threads™ PHP Forum Software 7.7.3
(Release build 20190728)
PHP: 7.4.33 Page Time: 0.006s Queries: 16 (0.004s) Memory: 0.6486 MB (Peak: 0.7730 MB) Data Comp: Off Server Time: 2026-05-25 14:09:27 UTC
Valid HTML 5 and Valid CSS