Hi,
I am working on a project with some LEDs, and trying to use the junk drawer had me playing around with a circuit so that i could get what i needed. well, the playing around worked in simulation, and i am trying to figure out the circuit so that i can set better values of the parts.
the original idea was to have one led and using a small signal transistor to turn it on and off (since the logic chips dont sink source enough). then i thought i had quite a number of LEDs and i can use two leds in the circuit.
then i remembered i had a reel of white leds which were designed for cell phone flash (i think), and if you reverse the current on them another led would light up.
however, here is the catch. they are PLCC 2... so if i want to use them the first thing that came to mind was i would have to make a bridge circuit. and that would need 4 transistors... which isnt worth it since 2 trans and 2 leds, (and two resistors) could do the same.
i hope that is enough to describe why i am going through the trouble of trying to use these LEDs but not wanting to use so many parts.
so playing around with a few ideas i eventually came up with this circuit.
it actually seems to work well in simulation. the main led is white and it gets more juice than the other led which is red and would get less. which is what the circuit does.
if switch A is on and B is off, then one color lights
if switch B is on and A is off, then the other color lights
if BOTH are on, neither of them light, though my intuition says this depends on the values, and variation of wiring that one can still have one light if one tried.
of course, both being lit is impossible (other than flashing the circuit so fast that they seem to both be on).
I would like to understand this circuit so that i can tune it to operate optimally with the values of the white and red LEDs in the PLCC2 package.
personally i am happy i figured out how to avoid an H bridge..
the classic two led circuit would be 4 resistors, 2 transistors, 2 leds
this circuit is 4 resistors, 2 transistors, and 1 part with 2 leds inside...
you can argue whether i am actually saving a part. to me i am since i have over a thousand of the plcc2 leds... and would have to buy the second set if i didnt get it to work.
I am hoping that if i get pointed towards better theory, i can get to better part selection, and ability to use the circuit with different values.
I am working on a project with some LEDs, and trying to use the junk drawer had me playing around with a circuit so that i could get what i needed. well, the playing around worked in simulation, and i am trying to figure out the circuit so that i can set better values of the parts.
the original idea was to have one led and using a small signal transistor to turn it on and off (since the logic chips dont sink source enough). then i thought i had quite a number of LEDs and i can use two leds in the circuit.
then i remembered i had a reel of white leds which were designed for cell phone flash (i think), and if you reverse the current on them another led would light up.
however, here is the catch. they are PLCC 2... so if i want to use them the first thing that came to mind was i would have to make a bridge circuit. and that would need 4 transistors... which isnt worth it since 2 trans and 2 leds, (and two resistors) could do the same.
i hope that is enough to describe why i am going through the trouble of trying to use these LEDs but not wanting to use so many parts.
so playing around with a few ideas i eventually came up with this circuit.
it actually seems to work well in simulation. the main led is white and it gets more juice than the other led which is red and would get less. which is what the circuit does.
if switch A is on and B is off, then one color lights
if switch B is on and A is off, then the other color lights
if BOTH are on, neither of them light, though my intuition says this depends on the values, and variation of wiring that one can still have one light if one tried.
of course, both being lit is impossible (other than flashing the circuit so fast that they seem to both be on).
I would like to understand this circuit so that i can tune it to operate optimally with the values of the white and red LEDs in the PLCC2 package.
personally i am happy i figured out how to avoid an H bridge..
the classic two led circuit would be 4 resistors, 2 transistors, 2 leds
this circuit is 4 resistors, 2 transistors, and 1 part with 2 leds inside...
you can argue whether i am actually saving a part. to me i am since i have over a thousand of the plcc2 leds... and would have to buy the second set if i didnt get it to work.
I am hoping that if i get pointed towards better theory, i can get to better part selection, and ability to use the circuit with different values.
Attachments
-
5.1 KB Views: 74