I know the alternator causes the battery to give off more than 12v, and that the battery can sometimes spike up to high voltages.
I'm not sure what to do to prevent my lights from burning up. I'm afraid to wire them to run on 12v and then burn up under higher voltages; or wire them for 14v and the lights be dim due to the lack of voltage.
I've looked for in-line voltage regulators, but everything I have come up with needs a bit of buffer.
Can't put that many LEDs in series, and use a low value CL resistor.
Then current depends too much on supply voltage variations.
There must be about the same voltage drop across the CL resistor as across one LED in a string.
So a maximum of three white LEDs or four RED LEDs in series.
Leo..
If it's just to shine at your own face, sure. They'll be washed out in daylight.
A 5mm LED gives like 3 lumens.
A 5050 SMD LED gives you about 20 lumens with a better distribution.
You'll run out of adjectives if you think 24 5mm LEDs is 'very bright'.
All 144 of those LEDs are as bright as just 20 5050's.
Anyway, if you already did the worthless work of soldering up 144 LEDs and 144 resistors, that many LEDs will handle the extra voltage just fine if you wired them up for 12V. Throw in a 3A inline fuse.
MrJaWapa:
EDIT: Op, The LED calculator said I would need 1ohm resistors, can I get by not using one?
1 Ohm resistor or not, you WILL burn your LEDs the moment you have the tiniest of power spikes! 20 mA on 1 Ohm that's 0.02 V you drop there (6 LEDs on one resistor is what the calculator suggests).
Now what would happen if your voltage goes from 12V to 12.5V? Then your 1 Ohm resistor gets to handle 0.5V, and that results in a current of 500 mA through your LEDs. They'll burn very brightly for a short amount of time - until the first burns out and breaks the circuit. The resistor will probably handle it nicely for quite some time as it's just 0.25W it's getting in this scenario.
Also those LEDs never have the exact same drop. 2.0V for one LED is a bit high a number anyway, I'd expect 1.6-1.8V. So that's going to be your first problem: not 0.02V on your resistor, but a whole lot more, and currents to match.
That's going to be really really hard - and for your LED project not the way to go.
Four in series with appropriate series resistor (ideally one resistor per LED but it's a bit impractical for these numbers) and you'll be handling spikes and changes in voltage just fine. If you've got a particularly dirty supply with severe spikes add some capacitors to smooth it out.
Or if you really insist on getting the power clean, get yourself a standard 9V regulator (a beefy one with big heat sink as you're soaking up some 9-10W here) and wire your LEDs to 9V. You may be able to find 10V regulators as well, saves a bit on power loss.
You still need a proper current limiting as LEDs are near-resistance-free conductors.
MrJaWapa:
I know the alternator causes the battery to give off more than 12v, and that the battery can sometimes spike up to high voltages.
I'm not sure what to do to prevent my lights from burning up. I'm afraid to wire them to run on 12v and then burn up under higher voltages; or wire them for 14v and the lights be dim due to the lack of voltage.
I've looked for in-line voltage regulators, but everything I have come up with needs a bit of buffer.
Spikes on the 12 volt line are caused by the starter motor when you start the car. The power to the cigarette lighter is turned off as are all the other accessories when you start the motor. So the big spikes won't be problem.