White, Blue, Red leds on one circuit.

Ask and answer questions, share tips and resources for installing lighting and other electronics in your models.

Moderators: Sparky, Moderators

Post Reply
raypalmer
Posts: 8
Joined: Tue Jan 31, 2012 10:46 pm

White, Blue, Red leds on one circuit.

Post by raypalmer »

Can't figure out how. They're all 20mA 5mm LED's.

I think i'll need about 20 white, 3 blue, 3 red. So... over 500mA PS. Say a 1A 9V wall wart.

What's the circuit look like? Nothing's blinking or strobing, I want them all at full brightness. Just need the resistor layout. Anyone who can point me to required reading or walk me through it a bit would really help me out.
en'til Zog
Posts: 2405
Joined: Fri Jul 12, 2002 3:03 pm
Location: The Wilds of Northwoods Wisconsin

Post by en'til Zog »

All 20 mA, yes. But probably different voltages.

At least the RED LEDs are probably 2.4 VOLT, while the BLUE and WHITE ones are probably 3.4 VOLT. That will affect your resistor selection.
Where there's a Will....there's Probate.
Sparky
Moderator
Posts: 2404
Joined: Thu Jun 05, 2003 8:28 am
Location: Are we there yet? (Chicago)
Contact:

Post by Sparky »

remember if you daisy chain the LEDs the current is not additive, the voltage is. So if you have a chain of leds and they all want 20 mA, they must all want that cause the current cannot change in the loop, then add the voltage and thats the voltage you will need for that chain, Current is 20mA.

you must find out for sure what the voltages are for each LED type before we can come up with the most efficient configuration. Remember any resistor used is consuming power from you power supply that is wasted, usually as waste heat.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
Doomgiver
Posts: 49
Joined: Tue Oct 27, 2009 9:46 am
Location: Kiel, Germany
Contact:

Post by Doomgiver »

Here is your list:

10x: 2x LED(white) + 150Ohm Resistor
1x: 3x LED(red) + 180Ohm Resistor
1x: 2x LED(blue) + 150Ohm Resistor
1x: 1x LED(blue) + 390Ohm Resistor

Total current is about 250-260mA.
Sparky
Moderator
Posts: 2404
Joined: Thu Jun 05, 2003 8:28 am
Location: Are we there yet? (Chicago)
Contact:

Post by Sparky »

i don't know how you can calculate resistor values without knowing the LED's forward working voltage and their forward working current. You don't want to guess on these since you will either under drive the LED or overdrive them.

He want's full brightness so that means getting the exact requirements of the LEDs and building the circuit to drive right up to those limits.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
raypalmer
Posts: 8
Joined: Tue Jan 31, 2012 10:46 pm

Post by raypalmer »

Yeah I dunno. I was having a bad brain day, for some reason I forgot how to use the breadboard correctly and my parallel circuits weren't right. Caused the different colours to not work on the same circuit.

Essentially I was being stupid when I asked this question, I have to cop to that.

Once I realized I had my head in m'bum I re-wired correctly, figured voltage and current and got it all sorted.

Thanks for the replies everyone.
en'til Zog
Posts: 2405
Joined: Fri Jul 12, 2002 3:03 pm
Location: The Wilds of Northwoods Wisconsin

Post by en'til Zog »

YAYAYAY!
Where there's a Will....there's Probate.
Doomgiver
Posts: 49
Joined: Tue Oct 27, 2009 9:46 am
Location: Kiel, Germany
Contact:

Post by Doomgiver »

Sparky wrote:i don't know how you can calculate resistor values without knowing the LED's forward working voltage and their forward working current. You don't want to guess on these since you will either under drive the LED or overdrive them.

He want's full brightness so that means getting the exact requirements of the LEDs and building the circuit to drive right up to those limits.
That's not so complicate. Red, Yellow and Green Led have 2,0V (+/-0,2V) and 20mA current. White and Blue Led use 3,4-3,7V and also 20mA (sometimes 30mA, but that's uninteresting).
Most LED have full brightness by 15-20mA, also white and blue Leds. So, it is often not useful, to work with maximum ratings.
Post Reply