what might be wrong with my red led

Thread Starter

Yaşar Arabacı

Joined Nov 11, 2014
49
I am pretty new to electronics and I am making my first circuits today. I have encountered a weird problem.

I have connected 2 leds in parallel to each other and added a switch for each one. When I activate the switch for green led, green led light up. Same goes for red led. However, if I activate both switches only green led works.

I switched red led with white led and I can activate both of the leds at the same time.

I couldn't come up with any idea to explain this. Maybe red led have too little.resistance and getting all the current?
 

MrChips

Joined Oct 2, 2009
34,765
No problem. That's the best way to learn. Try a few things. If your results are unexpected come and ask for help on AAC.
Get to know and understand Ohm's Law: I = V/R.
Do the calculations and verify that Ohm's Law works for you.

Know that an LED (and any diode) is non-linear, i.e. it does not obey Ohm's Law. That is another way of saying that the resistance is not constant. The current increases faster as you increase the voltage.
 

Jony130

Joined Feb 17, 2009
5,596
The answer is very simple. You just see II Kirchhoff's law in action. You should never connect led in parallel especially if they have a different color.
The LED with a lower forward voltage will be ON.
 

MrChips

Joined Oct 2, 2009
34,765
Yes, the colour are there for looks. But the origin of the colour is directly related to the physics.
When electrons go from the higher energy conduction band to the lower energy valence band across the P-N junction, energy is released as light.
This energy is called the energy band gap and is dependent on the materials of the P-N junction. Red is emitted at lower energy than blue. That is why a blue LED needs a higher voltage.

Reading this wikipedia article might shed some light on the subject:

http://en.wikipedia.org/wiki/Light-emitting_diode
 

wayneh

Joined Sep 9, 2010
18,100
You
When I activate the switch for green led, green led light up. Same goes for red led. However, if I activate both switches only green led works.

Maybe red led have too little.resistance and getting all the current?
Do you mean, only the RED lights when both are on, and gets all the current? That would be more normal, since a red LED usually turns on at a lower voltage. If they are sharing a single resistor , the red LED comes on and hogs all the current, preventing the green from ever turning on. It may seem weird, but it's actually the expected result.

You can fix it by giving each LED its own resistor. Then current will flow through both in parallel.

Some red LEDs are clear and you cannot identify them until they turn on. I think some "red" LEDs may merely be red plastic with a white LED inside?
 

ian field

Joined Oct 27, 2012
6,536
It is not advisable to wire LEDs in parallel because they have different turn-on voltages.
It sometimes features in commercial designs - an E-cigarette charger I took apart has red & green charge indicator sharing a current limit resistor.

A transistor senses when the battery is drawing current and connects the cathode of the red LED to ground to indicate charging.

The green LED is permanently grounded, but because its Vf is higher than the red one, the red light cuts it off when activated.
 
Top