View Single Post
Old 03-07-2007, 02:31 AM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by RedShoe View Post
I got 40 LEDs and according to the guy at the electronics place ElectronicCity.com he did some quick math problem and figured I'd need a 12v power supply with like 240 ohm resistors? Or something.

Luckily I know how to wire them in a series based on a crude drawing I found online. He told me I'd need 2 then a resistor, and repeat that. So I did.

He even told me HOW to figure the resistor (don't ask me now, but he did show me.) I just glazed over and asked him to do the math for me. He did.

Now then, as far as the 9v vs 12v and the amount of room I have. The 6 AA's can wrap around the contour of the project better than a clunky 9v. Think like the chamber of a revolver gun. The AA'a would hug the contour like the bullet chambers of a revolver, whereas the 9v doesn't really "wrap around" very well.
Still not exactly sure what you need. Why do you need 40 LEDs and do you simply want them all to be ON? Do they need to all be conected in series? or in parallel?

Here's what I remember.. LEDs are basically diodes and diodes usually require 0.7Vs and LEDs needed about 10 milliamps to turn on.

So if you have a 3V battery (or 2 1.5V in series), you take 3V - 0.7V = 2.3V / 0.010 amps = 230 ohms.. Thus that's where the 240 Ohm resistors come from (I don't think you can get 230 so you'd use 240).

Are you only powering the LEDs with this? Cause you could just use a single 1.5V battery and 80ohm resistors to do the job.

Like most things, there's multiple solutions to a problem, it all depends on what you're trying to do. That would determine whether you'd connect them all in parallel, series or some combination of that. And that configuration will dictate how many batteries you need and what resistors etc.

For example. You could connect all the LEDs in series with a 240 ohm resistor, but that would require a (40 * 0.7V) + (240 * 0.01) = 28 + 2.4V = 30.4V power supply.

If you connected them all in parallel, it would require 0.01 * 40 = 0.4 amps and only a 1.5V battery and an 80 ohm resistor, but that 0.4amps will drain a single battery very quickly.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote