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

4x4Wire TrailTalk Forums Index

4x4Wire | OutdoorWire | MUIRNet News | 4x4Voice | 4x4Wire on FaceBook
Galleries | Offtopic Chat | Garage Sale | Items Wanted | Vendors | Trailrides and Events | Recreational Access and Landuse


4x4Wire Toyota Forums
More Toyota on 4x4Wire: 4x4Wire Toyota Section | Toyota FAQ | Toyota Tech
Toyota Forums: Early Toyota Trucks | 4Runner, FJ Crusier and SUV | T100 and Tundra | Tacoma | Toyota Archives



Toyota Forums >> Toyota Tech Archive

Pages: 1 | 2 | >> (show all)
BoostedInline6
Body Damage is Cool


Reged: 08/24/01
Posts: 2205
Loc: N. California
Wiring LEDs, the right way.
      #936923 - 11/04/06 06:23 PM

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:


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 |


Post Extras: Print Post   Remind Me!   Notify Moderator  
52degrees
Forum Moderator


Reged: 10/19/04
Posts: 6330
Loc: In the beer cooler
Re: Wiring LEDs, the right way. [Re: BoostedInline6]
      #937093 - 11/05/06 03:56 PM

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.

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

KG6VNX


Post Extras: Print Post   Remind Me!   Notify Moderator  
Robinhood150
Body Damage is Cool


Reged: 08/28/01
Posts: 1520
Loc: Wandering around Phoenix
Re: Wiring LEDs, the right way. [Re: BoostedInline6]
      #937213 - 11/05/06 11:57 PM

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





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?

--------------------
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.

Edited by Robinhood150 (11/07/06 12:37 AM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
BoostedInline6
Body Damage is Cool


Reged: 08/24/01
Posts: 2205
Loc: N. California
Re: Wiring LEDs, the right way. [Re: Robinhood150]
      #937295 - 11/06/06 11:03 AM

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 |


Post Extras: Print Post   Remind Me!   Notify Moderator  
Robinhood150
Body Damage is Cool


Reged: 08/28/01
Posts: 1520
Loc: Wandering around Phoenix
Re: Wiring LEDs, the right way. [Re: BoostedInline6]
      #937383 - 11/06/06 03:46 PM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
BoostedInline6
Body Damage is Cool


Reged: 08/24/01
Posts: 2205
Loc: N. California
Re: Wiring LEDs, the right way. [Re: Robinhood150]
      #937413 - 11/06/06 05:32 PM

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 |


Post Extras: Print Post   Remind Me!   Notify Moderator  
Robinhood150
Body Damage is Cool


Reged: 08/28/01
Posts: 1520
Loc: Wandering around Phoenix
Re: Wiring LEDs, the right way. [Re: BoostedInline6]
      #937564 - 11/07/06 12:36 AM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
ScottFW
Body Damage is Cool


Reged: 09/22/03
Posts: 2019
Loc: NoVA
Re: Wiring LEDs, the right way. [Re: Robinhood150]
      #937738 - 11/07/06 04:50 PM

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!

--------------------
'85 4Runner (mostly stock) | '94 Miata | '98 Saturn SC2 | '12 Ford Fusion (wife's company car)

Edited by ScottFW (11/07/06 04:52 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Robinhood150
Body Damage is Cool


Reged: 08/28/01
Posts: 1520
Loc: Wandering around Phoenix
Re: Wiring LEDs, the right way. [Re: ScottFW]
      #938108 - 11/08/06 07:44 PM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
BoostedInline6
Body Damage is Cool


Reged: 08/24/01
Posts: 2205
Loc: N. California
Re: Wiring LEDs, the right way. [Re: Robinhood150]
      #938375 - 11/09/06 05:58 PM

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.



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 |


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1 | 2 | >> (show all)



Extra information
1 registered and 2 anonymous users are browsing this forum.

Moderator:  Dandeman, 4Crawler, kewlynx 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 6584

Rate this topic

Jump to



4x4Wire.com | OutdoorWire | MUIRNet News | 4x4Voice | 4x4Wire on FaceBook
About 4x4Wire | Advertiser's Guide |
This site and all original materials contained herein are Copyright 1999 - 2013 by OutdoorWire, Inc. -- All Rights Reserved.
The use of this website, OutdoorWire, or any of its publications or services is subject to the terms of use agreement.
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.
This publication and OutdoorWire, Inc. assume no liability for your use of the material contained within this site.
OutdoorWire, 4x4Wire, SUVWire, JeepWire, MUIRNet-News, and 4x4Voice are all trademarks and publications of OutdoorWire, Inc.


Contact 4x4Wire | Privacy statement 4x4Wire TrailTalk Forums

Powered by UBB.threads™ 6.5.5

Generated in 0.11 seconds in which 0.088 seconds were spent on a total of 13 queries. Zlib compression enabled.