Re: bi-color LEDs with mixed common lead




"Lostgallifreyan" <no-one@xxxxxxxxxxx> wrote in message
news:Xns9845DD43921D2zoodlewurdle@xxxxxxxxxxxxxxxx
"James Thompson" <Jamesthompson2002@xxxxxxxxxxx> wrote in
news:44c3$4512e92c$438c85c9$30893@xxxxxxxxxx:


"Carrie" <cnuncio@xxxxxxxxxxxxx> wrote in message
news:76pPg.8395$LH2.1473@xxxxxxxxxxxxxxxxxxxxxxx
Starting on a new PIC project using bi-color LEDs. First thought was
to use
a hex inverter to change colors between RED and GREEN. However it
occured to me that if there were a bi-color LED (RED/GREEN) that had
a mixed
common lead it would save me 4 74ALS04 hex inverters, the board
real estate and the board size. I can find common anode and common
cathode
LEDs but, so far, no mixed common. By mixed common I mean that the
anode of one LED is internally connected to the cathode of the other
LED.

Anyone heard of such an animal??

Thanks !



I'm not sure if have it figured out by now, but here is a simple way
to figure it.

Consider the led's red or green has a forward drop of about 2 volt,
and its equivalent resistance at 20 ma will be 100 ohms. Now take 2)
100 ohm resistors to make a voltage divider ( + 5 volt to resistor a
with resistor b in series then connecting to ground). now with the
back to back led connected to the center of your divider being 2.5
volt and the other end of the led to the Pic output, A high or a low
will give roughly 2.5 volt difference on the led. You may or may not
even need a resistor to drop the extra .5 volt but if you do, you end
up with 3 resistors and the led instead of the extra opamp's. I would
still consider at least a transistor buffer on the Pic outputs to
drive the leds. JTT




Do you really think that 24 transistors are easier to handle than an
op-amp
IC to make the 2.5V rail?
If the transistors were sot-23 then they could be incorporated to the led
board itself.
But if the pic can handle the led directly, its just 3 simple resistors.
That would make 48 resistor for the divider plus 24 led's and maybe an
equalizing resistor in series with the led.

Question? does this Pic have 24 I/O lines for the led output. Also if space
is a premium , then surface mount should not take too much room for the
whole thing.
JTT


.



Relevant Pages

  • Resistors for LEDs: the real answer
    ... First of all, while non-electronics types refer to the resistor in this use as a "dropping resistor", that's not really technically accurate: whats actually going on is that you're making a voltage divider network with a resistor in series with the LED. ... By putting a resistor in series with the LED, you're dividing the 24 volts between the resistor and the LED, because the whole idea is to make sure that the LED doesn't get too many volts and blow. ... Turning to my handy-dandy Jameco catalog, it appears that most garden-variety LEDs are rated at about 2 volts, some more, some less: close enough to be no never mind. ...
    (rec.models.railroad)
  • Re: Resistors for LEDs: the real answer
    ... while non-electronics types refer to the resistor in this ... whats actually going on is that you're making a voltage divider network ... Obviously, if you just put the poor LED across the 24 volts, ... the great majority of LEDs are rated at 20 mA; ...
    (rec.models.railroad)
  • Re: Right resistor for high power LED for sound reader?
    ... I'm a projectionist in a movie theater. ... >>>The soundtrack runs along one side of the film, ... what kind of resistor would I use to get this LED to work? ... The chips in these LEDs have a nonlinearity, ...
    (sci.electronics.basics)
  • Re: how to control LED array? (follow-up)
    ... >I've been working on finalizing the design. ... >I've modified some resistor values as I have now chosen LEDs: ... If you want to drive the LEDs at 30mA, then the column driver needs to ...
    (sci.electronics.basics)
  • Re: Quick LED question
    ... Power supply = 12V DC ... If I connect them all in parallel, and use one single 3 or 5W resistor at ... Or would it be better if I just do two groups of 4 LEDs instead (with ... Professional Circuit Designer ...
    (sci.electronics.basics)